[osg-users] [osg-submissions] API configurations in aseparateConfig include file

James Killian James_Killian at hotmail.com
Fri Jun 27 06:43:43 PDT 2008


We are going to move to VS 9,  we have been wanting to do that for a long 
time now.   Aside from osg not building, I overlooked the OpenMP option 
available to VS 8 and 9.  We want high performance from osg so, *hopefully 
OpenMP will help.  I am going to start a thread on performance here real 
soon for anyone interested.

Perhaps there should be plans to ditch 7.1 if no one is using it now.

Thanks for explaining the install... I was right clicking on ALL_BUILD and 
then INSTALL, but I suppose I could just do INSTALL, if it breaks it will 
not start copying.

*OpenMP has not been easy/intuitive to use with unpredictable performance 
results.


James Killian
----- Original Message ----- 
From: "Jean-Sébastien Guay" <jean-sebastien.guay at cm-labs.com>
To: "OpenSceneGraph Users" <osg-users at lists.openscenegraph.org>
Sent: Friday, June 27, 2008 8:17 AM
Subject: Re: [osg-users] [osg-submissions] API configurations in 
aseparateConfig include file


> 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    jean-sebastien.guay at cm-labs.com
>                                http://www.cm-labs.com/
>                         http://whitestar02.webhop.org/
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 



More information about the osg-users mailing list