code-google-com / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

Had to change CMakeLists.txt in Extras/MayaPlugin to make it build #359

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sorry if this should go to the dynamica google code issues section.

What steps will reproduce the problem?
1. Download dynamica-Bullet-2.76-source.zip
2. Unzip and run cmake with local changes to CMAKE_CXX_FLAGS and
CMAKE_C_FLAGS (added -fPIC) and GLUT_INCLUDE_DIR and GLUT_glut_LIBRARY.
3. make

What is the expected output? What do you see instead?
Expect: A perfect build.

Get: A build which has missing symbol errors when loaded into Maya.
// Error: file:
/usr/autodesk/maya2008al1.5-x64/scripts/startup/autoLoadPlugin.mel line 46:
Unable to dynamically load :
/depts/rnd/dev/michaelj/tools/maya/2008/plugins/Linux64/libBulletMayaPlugin.so
/depts/rnd/dev/michaelj/tools/maya/2008/plugins/Linux64/libBulletMayaPlugin.so:
undefined symbol: _ZN17ColladaTranslator7creatorEv // 
// Error: file:
/usr/autodesk/maya2008al1.5-x64/scripts/startup/autoLoadPlugin.mel line 46:
/depts/rnd/dev/michaelj/tools/maya/2008/plugins/Linux64/libBulletMayaPlugin.so:
undefined symbol: _ZN17ColladaTranslator7creatorEv // 
// Error: file:
/usr/autodesk/maya2008al1.5-x64/scripts/startup/autoLoadPlugin.mel line 46:
/depts/rnd/dev/michaelj/tools/maya/2008/plugins/Linux64/libBulletMayaPlugin.so:
undefined symbol: _ZN17ColladaTranslator7creatorEv (libBulletMayaPlugin) // 

What version of the product are you using? On what operating system?
dynamica-Bullet-2.76-source.zip on CentOS release 5.3 (Final).

Please provide any additional information below.
You can fix it by changing USE_COLLADA to BUILD_COLLADA on line 67 of
Extras/MayaPlugin/CMakeLists.txt.

Thanks for all the hard work!

Original issue reported on code.google.com by m.pricej...@gmail.com on 8 Mar 2010 at 10:07

GoogleCodeExporter commented 9 years ago
Thanks for the report. We already fixed this in the dynamica.googlecode.com 
branch, and 
other improvements are there too.

We'll remove MayaPlugin from the Bullet repository (it is out-of-date).
Thanks!
Erwin

Original comment by erwin.coumans on 12 Mar 2010 at 3:49