Re: [osg-users] Development Environment
Ok. I figured it out. Maybe it will be helpful to others... http://dwightdesign.com/2009/05/installing-openscenegraph-280/ says to download the binaries from http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-2.8/binaries/Windows/VisualStudio8/. I am using Visual C++ Express 2008 which is actually version 9. I downloaded the binaries from http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-2.8.2/binaries/Windows/VisualStudio9/ and that solved my problem. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=28056#28056 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Development Environment
That was it. It built with no errors. Thanks! I clicked the ">" button to start debugging, and when I do that I get an error "The application failed to initialize properly (0xc0150002). Click OK to terminate the application. I'm trying to run the code from http://www.openscenegraph.org/projects/osg/attachment/wiki/Support/Tutorials/BasicGeometry/BasicGeometry.cpp Any ideas what this error is? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=28030#28030 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Development Environment
Hi, because you have it in your project's linker dependency, VS tries to open it and fails. Are you sure the library has this name? My Library is called osgGA.lib or osgGAd.lib. Maybe the second 'a' of osgGAad.lib is only a typo. Try to adapt the lib dependency entry in your project settings to your filename. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=28010#28010 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Development Environment
Hey Guys, I'm trying to follow this tutorial. It seems very straightforward, but maybe a little old. http://dwightdesign.com/2009/05/installing-openscenegraph-280/ I'm getting this error when VS builds: 1>LINK : fatal error LNK1104: cannot open file 'osgGAad.lib' I have osgGAad.lib in Project properties -> Configuration Properties -> Linker -> Input -> Additional Dependencies Any ideas? Frank -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=28009#28009 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Development Environment
Nope ;-) With VS2010 Express Beta I was using dependencies for 2008 + 2008 runtime. I intend to do the same before 3rd pary libs appear for VS 2010. WL - Original Message - From: "Jean-Sébastien Guay" To: "OpenSceneGraph Users" Sent: Monday, May 17, 2010 4:05 PM Subject: Re: [osg-users] Development Environment Hi Wojtek, FYI: Yesterday I tried to build OSG with 2010. Last stable CMake 2.8.1 is generating some cryptic errors so I checked most recent CMake 2.9.x from nightly builds. That version seems to work, so if you want to work with OSG under VS 2010 try nightly builds CMake version. Are you going to submit a basic set of 3rd party dependencies compiled for VS 2010? :-) J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Development Environment
Hi Wojtek, FYI: Yesterday I tried to build OSG with 2010. Last stable CMake 2.8.1 is generating some cryptic errors so I checked most recent CMake 2.9.x from nightly builds. That version seems to work, so if you want to work with OSG under VS 2010 try nightly builds CMake version. Are you going to submit a basic set of 3rd party dependencies compiled for VS 2010? :-) J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Development Environment
Hi Guys, FYI: Yesterday I tried to build OSG with 2010. Last stable CMake 2.8.1 is generating some cryptic errors so I checked most recent CMake 2.9.x from nightly builds. That version seems to work, so if you want to work with OSG under VS 2010 try nightly builds CMake version. Cheers, Wojtek - Original Message - From: "Torben Dannhauer" To: Sent: Sunday, May 16, 2010 10:24 AM Subject: Re: [osg-users] Development Environment Hi J-S, oops, you are right, I marked it as optional. I always integrate it, so I forgot that it is optional :) Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27912#27912 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Development Environment
Hi J-S, oops, you are right, I marked it as optional. I always integrate it, so I forgot that it is optional :) Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27912#27912 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Development Environment
I uninstalled Visual C++ 2010 Express, and installed Visual C++ 2008 Express. I will try that out. Thanks! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27911#27911 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Development Environment
Just a few notes: 1. Torben's instructions are for Visual Studio 9 (2008). I don't think there's a precompiled 3rdparty package for Visual Studio 10 yet. 2. You don't really need GDAL unless you need to read georeferenced DEM files, it's an optional dependency. It's required if you're going to be using VPB though, so it depends on what you want to do... J-S On 5/15/2010 2:27 PM, Torben Dannhauer wrote: Hi, i noted down my own setup in my "don't forget wiki". It is in german, but maybe it can help you: https://www.dannhauer.info/horde/index.php in short: - install MS Visual Studio with sp1, - install CMAKE newest version - checkout OSG in your folder. - download precompiled 3rd Party binaries for 32 bit from osg website: http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-2.8/binaries/Windows/VisualStudio9/3rdParty_Win32Binaries_vc90sp1.zip - download precompiled GDAL binary from http://www.dannhauer.info/gdal-1.6.3_VC90sp1_x86.zip - configure osg with cmake: set install prefix directory to you source directory (in-source build), set all include dirs and library pathes in cmake for all available 3rdParty libraries. - press generate to let CMAKe generate the native visual studio solution - compile this solution in VS as debug and as release. your directory structure could be: D:\OpenSceneGraph -> root-dir of the OSG frameworks - D:\OpenSceneGraph\gdal-1.6.2-> contains gdal 1.6.2 D:\OpenSceneGraph\3rdParty -> contains the 3rdparty files. D:\OpenSceneGraph\Data -> example models and data, downloadable from OSG website D:\OpenSceneGraph\OpenSceneGraph-2.9.8 -> Directory wich contains the checkout of the osg repository trunk your env variables for win: OSG -> D:\OpenSceneGraph\OpenSceneGraph-2.9.8\bin;D:\OpenSceneGraph\3rdParty\bin;D:\OpenSceneGraph\gdal-1.6.2\bin OSG_FILE_PATH -> D:\OpenSceneGraph\Data;D:\OpenSceneGraph\Data\Images PATH -> add ;%OSG% OSG_NOTIFY_LEVEL -> WARN OSG_ROOT -> D:\OpenSceneGraph\OpenSceneGraph-2.9.8 Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27908#27908 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com/ http://whitestar02.webhop.org/ ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Development Environment
At the moment VS2010 Express seems to not work well with CMake 2.8.1 and OSG. Its too fresh probably... Maybe your result will vary but I would rather try 2008 Express to be on safe side. Cheers Wojtek Lewandowski -- From: "Frank Henard" Sent: Saturday, May 15, 2010 4:34 PM To: Subject: Re: [osg-users] Development Environment Hi Torben, That is extremely kind of you. I just downloaded Visual C++ Express 2010 last night. I will see if I can get VS 2008, and follow the instructions for that. Hopefully I won't need too much help. Thanks! Frank -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27906#27906 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Development Environment
Hi, i noted down my own setup in my "don't forget wiki". It is in german, but maybe it can help you: https://www.dannhauer.info/horde/index.php in short: - install MS Visual Studio with sp1, - install CMAKE newest version - checkout OSG in your folder. - download precompiled 3rd Party binaries for 32 bit from osg website: http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-2.8/binaries/Windows/VisualStudio9/3rdParty_Win32Binaries_vc90sp1.zip - download precompiled GDAL binary from http://www.dannhauer.info/gdal-1.6.3_VC90sp1_x86.zip - configure osg with cmake: set install prefix directory to you source directory (in-source build), set all include dirs and library pathes in cmake for all available 3rdParty libraries. - press generate to let CMAKe generate the native visual studio solution - compile this solution in VS as debug and as release. your directory structure could be: D:\OpenSceneGraph -> root-dir of the OSG frameworks - D:\OpenSceneGraph\gdal-1.6.2-> contains gdal 1.6.2 D:\OpenSceneGraph\3rdParty -> contains the 3rdparty files. D:\OpenSceneGraph\Data -> example models and data, downloadable fromOSG website D:\OpenSceneGraph\OpenSceneGraph-2.9.8 -> Directory wich contains the checkout of the osg repository trunk your env variables for win: OSG -> D:\OpenSceneGraph\OpenSceneGraph-2.9.8\bin;D:\OpenSceneGraph\3rdParty\bin;D:\OpenSceneGraph\gdal-1.6.2\bin OSG_FILE_PATH -> D:\OpenSceneGraph\Data;D:\OpenSceneGraph\Data\Images PATH -> add ;%OSG% OSG_NOTIFY_LEVEL -> WARN OSG_ROOT -> D:\OpenSceneGraph\OpenSceneGraph-2.9.8 Thank you! Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27908#27908 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Development Environment
Hi Torben, That is extremely kind of you. I just downloaded Visual C++ Express 2010 last night. I will see if I can get VS 2008, and follow the instructions for that. Hopefully I won't need too much help. Thanks! Frank -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27906#27906 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Development Environment
Hi, for VS 2005 sp1 or VS 2008 sp1 i could assist you for initial steps in osg. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27903#27903 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org