Hi Daniel, Yeah, the include file dae.h was no problem. As you mentionned, linking is the issue. I will try your fix and will let you know if this works.
BTW, this should definitly be cut and pasted into the Wiki ;) Thanks, - Nick - ________________________________> Date: Thu, 30 Aug 2007 15:11:52 +0200> From: [EMAIL PROTECTED]> To: [email protected]> Subject: Re: [osg-users] CMake COLLADA Parameters + TARGET_EXTERNAL_LIBRARIES trouble...>> Hi Nick...> Yes, we've had some trouble getting this to work as well...> Not with the includes perhaps, pointing to the include directory in COLLADA_DOM should be sufficient?> But getting the linking to work well with all the dependencies was a lot more bothersome... I ended up with compiling the COLLADA_DOM myself (easy enough) and using> ADD_DEFINITIONS(-DDOM_DYNAMIC)> in the collada-plugin to use the dynamically linked version... I could then remove the rows setting TARGET_EXTERNAL_LIBRARIES and pointing out libcollada141dom13.lib from COLLADA_DOM...> Also, it might be relevant that I had trouble getting TARGET_EXTERNAL_LIBRARIES to work later when writing another plugin... I changed it to add the library to both optimized and debug specifically instead of specifying none and then it worked... Not sure if the collada-plugin would have worked if I had done this change before instead...> Modified files attached...> /Daniel> On 8/30/07, Nick Prudent wrote:> I've used Collada-DOM before for another project but for some reason cannot seem to provide the correct include directories for building the COLLADA plugin. I develop on Windows.> Does OSG expect any special directory structure or environment variable? What parameters should be put in CMake to make this work?> Thanks,> - Nick -> _________________________________________________________________> News, entertainment and everything you care about at Live.com. Get it now!> http://www.live.com/getstarted.aspx> _______________________________________________> osg-users mailing list> [email protected]> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _________________________________________________________________ Discover the new Windows Vista http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

