Author: mp3butcher
Date: Wed Jan 21 10:27:28 2015
New Revision: 566
URL: http://svn.gna.org/viewcvs/cal3d?rev=566&view=rev
Log:
Solve Ubuntu issue with viewers:
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions:
Assertion `needed != ((void *)0)' failed!
?!
have followed guideline:
http://stackoverflow.com/questions/20007961/error-running-a-compiled-c-file-uses-opengl-error-inconsistency-detected
Modified:
trunk/cal3d/examples/miniviewer_gl/src/viewer.cpp
trunk/cal3d/examples/miniviewer_gl_vp/src/viewer.cpp
Modified: trunk/cal3d/examples/miniviewer_gl/src/viewer.cpp
URL:
http://svn.gna.org/viewcvs/cal3d/trunk/cal3d/examples/miniviewer_gl/src/viewer.cpp?rev=566&r1=565&r2=566&view=diff
==============================================================================
--- trunk/cal3d/examples/miniviewer_gl/src/viewer.cpp (original)
+++ trunk/cal3d/examples/miniviewer_gl/src/viewer.cpp Wed Jan 21 10:27:28 2015
@@ -7,6 +7,19 @@
// Software Foundation; either version 2 of the License, or (at your option)
//
// any later version.
//
//----------------------------------------------------------------------------//
+
+#ifndef WIN32
+//Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions:
Assertion `needed != ((void *)0)' failed!
+///http://stackoverflow.com/questions/20007961/error-running-a-compiled-c-file-uses-opengl-error-inconsistency-detected
+//if you find better solution let me know...:/
+#include <string.h>
+#include <stdint.h>
+#include <pthread.h>
+void junk() {
+ int i;
+ i=pthread_getconcurrency();
+};
+#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
Modified: trunk/cal3d/examples/miniviewer_gl_vp/src/viewer.cpp
URL:
http://svn.gna.org/viewcvs/cal3d/trunk/cal3d/examples/miniviewer_gl_vp/src/viewer.cpp?rev=566&r1=565&r2=566&view=diff
==============================================================================
--- trunk/cal3d/examples/miniviewer_gl_vp/src/viewer.cpp (original)
+++ trunk/cal3d/examples/miniviewer_gl_vp/src/viewer.cpp Wed Jan 21
10:27:28 2015
@@ -7,6 +7,18 @@
// Software Foundation; either version 2 of the License, or (at your option)
//
// any later version.
//
//----------------------------------------------------------------------------//
+#ifndef WIN32
+//Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions:
Assertion `needed != ((void *)0)' failed!
+///http://stackoverflow.com/questions/20007961/error-running-a-compiled-c-file-uses-opengl-error-inconsistency-detected
+//if you find better solution let me know...:/
+#include <string.h>
+#include <stdint.h>
+#include <pthread.h>
+void junk() {
+ int i;
+ i=pthread_getconcurrency();
+};
+#endif
#ifdef HAVE_CONFIG_H
#include "config.h"
_______________________________________________
Cal3d-commits mailing list
[email protected]
https://mail.gna.org/listinfo/cal3d-commits