Hi Martin,Thanks so much for the osgShaper.vcproj static-link tester project. It was a huge help...Thanks! I actually hadn't downloaded the latest tarballs from CVS, so I didn't have the most up-to-date VS project files containing the correct project settings for each of the compile configuration modes -- Debug, Debug Stat, Release, and Release Stat. Once I recompiled everything and created the static libraries from the most recent VS projects, I was able to successfully run your program. Now, I'm golden!!!
I did initially have some problems importing and converting your osgShaper.vcproj file into VC++ 2005 Express; for some reason, the 2005 edition didn't like some of the XML line breaks in your .vcproj file. After clearing those up, though, the project worked perfectly! I'm attaching the osgShape.vcproj file that I was able to use in VC++ 2005 Express-- just in case anyone else using 2005 Express needs it in the future.
Thanks again, Kevin From: Martin Naylor <martin.naylor_at_dsl.pipex.com> Date: Tue May 09 2006 - 14:59:04 PDT Hi Well I don't know about tested :-) But here is a "statically linked osgshape vcproj" file for you try if you like. Only the Debug Static works at the moment just drop it over your current osgshape VC Project file then load the main solution file again. Some tricky ones I found was make sure you have your C++ Pre-Proccesor definitions set correctly: USE_STATIC OSG_LIBRARY_STATIC OT_LIBRARY_STATIC PR_LIBRARY_STATIC seems to work, and of cause link with every other library opengl32.lib,osgd_s.lib, producerd_s.lib....... Also every plug-in that the project requires, and also specify each plugin on the vc settings linker->input->Forced Symbol References as in the example attached. Let us know if works? Martin. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin and Lesa Williams Sent: 09 May 2006 18:19 To: [email protected] Subject: [osg-users] Static library tester program Hi, I was wondering if anyone has a static library tester program. I have compiled the Visual Studio 7.0 static library projects for OT, OP, and OSG to create static libraries for each, but I haven't been able to successfully implement the static libraries in any of my VS projects. A tried-and-true tester project would allow me to narrow down whether the problem lies in my compilation of the static libraries or in my implementation project settings. I am actually using Visual C++ 2005 Express, but so far I've been able to convert and use VS 6.0 and VS 7.x project files. Thanks in advance for any help you can offer! Kevin Williams [EMAIL PROTECTED]
osgshape.vcproj
Description: application/xml
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
