Hi,

thanks for the reply, I solved the problem.
For all of you who struggle, here is how I did this:

I downloaded the QTSDK, installed it in C:\
Set environment variables:
QTDIR to C:\QtSDK\Desktop\Qt\4.7.3
QMAKESPEC to win32-g++
Since I wanted to work with Microsoft Visual Studio 2008 I added 
C:\QtSDK\Desktop\Qt\4.7.3\msvc2008\bin to the Path environment variable

Updated Microsoft Visual Studio 2008 to SP1, downloaded this update from 
Microsoft (important, because without Visual Studio SP1 I got linker crashes 
when compiling osg)

- I checked out OpenSceneGraph from the repository
- Also checked out the OpenSceneGraph Data
(on the website under downloads -> SVN)
Both into C:\Projects\

I also downloaded the 3rdParty_VC9sp1_x86_x64_V5.7z , just used the x82 Version 
and packed it all into C:\Projects\3rdParty (next to the OpenSceneGraph 
Repositories, and made sure the folders for x86 (like bin, include, lib were 
directly in the 3rdParty folder).

Then I ran CMake over my C:\Projects\OpenSceneGraph and created the build 
folder C:\Projects\OpenSceneGraph\build.
Made sure
- that the CMake install Path was set to C:\Program_Files(x86)\OpenSceneGraph.
- that CMake found the 3rdParty folder and many libraries (ofc. not all of them)
- that I checked build OSG examples
- that CMake found the QT executable and I checked build QT examples

Then I hit generate.

I set some environment variables:
OSG_FILE_PATH to C:\Projekte\OpenSceneGraph-Data
OSG_DIR to C:\Program Files (x86)\OpenSceneGraph
added C:\Projekte\3rdParty\bin;C:\Program Files (x86)\OpenSceneGraph\bin to the 
Path environment variable

I opened the .sln file in C:\OpenSceneGraph\build with Visual Studio.
Set it to Debug and compiled it (ALL BUILD).
The after around 20 min it was finished and i right clicked the INSTALL target 
and told Visual Studio to build that (which just copies the right files into my 
CMake install path (C:\Program_Files(x86)\OpenSceneGraph).

Then I set Visual Studio to Release and did ALL BUILD again.
After 20 min again, it was finished and again i did the INSTALL target.

And oh my gosh I was finally done and now it works

Thank you!

Cheers,
jin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39535#39535





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to