Hi James,

Good to see that things are starting to work for you. I guess VS7.1 is a less tested compiler as it's getting a bit old. I have no interest in getting it to work personally as I don't use it, and I suspect that's Mathias's case too. If you want to make it work under 7.1, you're welcome to try and submit the necessary changes.

Oh yes, and the projects which are dependent on Open Threads and OSG now include the build directory, so while I do not quite understand the install workflow that you were saying it appears that we can build the solution without needing to do anything with install. To me the install is a folder which is ran last where, once the build has built successfully I click the install to put the stuff together, and then our client code includes and links to this folder... that way when the code breaks the install folder is still fine from the previous successful session.

Yes, that's one of the advantages of doing an install.

You seem to be doing the install manually from what I understand of your paragraph above though, and you don't need to. In CMake, there's a setting called CMAKE_INSTALL_PREFIX. Set that to wherever you want the bin/, include/, lib/ etc directories to be, and then after generating the project files, open the solution and build the INSTALL project (right-click it and select "build"). That will automatically build everything (as the INSTALL project is dependent on all the other projects) and then copy all the needed files to the directories under your CMAKE_INSTALL_PREFIX automatically.

Note that you need to right-click the INSTALL project and build it, because by default it's skipped (for people who don't want to do that). So just doing a "build solution" won't run the INSTALL target.

Doing an INSTALL is only of benefit for apps that depend on OSG, not for the OSG build itself. Anything that's in the OSG solution file will find the necessary headers and libs automatically without needing an INSTALL.

Hope this helps,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [EMAIL PROTECTED]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to