I have successfully built OpenSceneGraph 2.6.1 with Collada 2.1 under
VisualStudio 2008.

 

I set COLLADA_USE_STATIC to true and made the following changes 

 

OpenSceneGraph\Plugins\dae

Linker|Input|Ignore specific library[Debug]: msvcrt.lib

Linker|Input|Additional Dependencies[Debug]:

 
..\..\..\..\colladadom\dom\external-libs\libxml2\win32\lib\libxml2_a.lib

       ..\..\..\..\colladadom\dom\external-libs\libxml2\win32\lib\zlib.lib

       ..\..\..\..\colladadom\dom\external-libs\pcre\lib\vc9\pcre-d.lib

       ..\..\..\..\colladadom\dom\external-libs\pcre\lib\vc9\pcrecpp-d.lib

Linker|Input|Additional Dependencies[Release]:

 
..\..\..\..\colladadom\dom\external-libs\libxml2\win32\lib\libxml2_a.lib

       ..\..\..\..\colladadom\dom\external-libs\libxml2\win32\lib\zlib.lib

       ..\..\..\..\colladadom\dom\external-libs\pcre\lib\vc9\pcre.lib

       ..\..\..\..\colladadom\dom\external-libs\pcre\lib\vc9\pcrecpp.lib

 

Then both the Release and the Debug build worked fine.

You should change the above paths to .\vc8\... for Visual Studio 2005.

 

Hope this helps.

 

Wilhelm Medetz

 

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to