Jump to content
  • Advertisement
Sign in to follow this  

Collada in OpenSceneGraph 2.0

This topic is 4029 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm currently stuck on trying to build OSG 2.0. I am using a 64 bit computer and I could run OpenSceneGraph 1.2 just fine on it, but I couldn't get Collada to work as I want to use it in my game. I've looked online for the solution and I'm famillar with -fPIC as I've had to use that to get other things to work as well. I've used -fPIC in CFLAGS and CXXFLAGS, but I think that Collada has some cmake problems. Did anyone get the osgdb_dae plugin to work on their 64 bit computer? I'm running Fedora Core 6. EDIT: I'm also pointing correctly to the Collada include directory in /usr/include/collada and the COLLADA_LIBRARY environment variable is pointing to /usr/lib64/libcollada_dom.a. I built Collada with make RELEASE=1, and copied the libcollada_dae.a and libcollada_dom.a to /usr/lib64, and I've tried /usr/local/lib64. Here's the error message. Linking CXX shared module ../../../lib/osgPlugins-2.0.0/osgdb_dae.so /usr/bin/ld: /usr/lib64/libcollada_dom.a(domAccessor.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib64/libcollada_dom.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [lib/osgPlugins-2.0.0/osgdb_dae.so] Error 1 make[1]: *** [src/osgPlugins/dae/CMakeFiles/osgdb_dae.dir/all] Error 2 make: *** [all] Error 2

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!