Thanks Daniel, now merged and submitted to SVN.

On 5/10/07, Daniel Sjolie <[EMAIL PROTECTED]> wrote:


Hi...

To get the Collada plugin to work in Windows I had to

1) add a "lib" prefix to the libraries for windows (as you can see in the
attached file)

2) remove "LIBXML_STATIC" from the preprocessor defines in
LIBXMLPlugin.vcproj and compile the collada dom myself (binary install of
collada dom doesn't work)

Modified src\osgPlugins\dae\CMakeLists.txt attached...

/Daniel

On 5/4/07, Robert Osfield <[EMAIL PROTECTED]> wrote:

> I have done some more tinkering/experimenting, and how now checked in a
> first cut at Cmake COLLADA support.  I use the env var COLLADA_DIR to
> point to the Dom, and things compile but when I run the app on a .dae model
> I get the error :
>
> DynamicLibrary::getLibraryHandle(
> /home/robert/OpenSceneGraph/lib/osgPlugins/osgdb_dae.so) - dlopen():
> /home/robert/OpenSceneGraph/lib/osgPlugins/osgdb_dae.so: undefined symbol:
> _ZTV16daeMetaAttribute
> DynamicLibrary::failed loading "osgdb_dae.so"
>
> Which suggests that I'm not linking all the required libs, so far only
> the FindCOLLADA.cmake is only picking up on collada_dom, while the old
> plugin links  -lcollada_dae -lcollada_dom -lcollada_dae
> -lcollada_STLDatabase -lcollada_LIBXMLPlugin -lcollada_stdErrPlugin -lxml2
>
> Thoughts, suggestions?
>
> Robert.
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to