Changes between Version 6 and Version 7 of OsgVbpBuildEnvWindows
- Timestamp:
- Aug 4, 2010, 9:01:25 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
OsgVbpBuildEnvWindows
v6 v7 21 21 || D:\!OpenSceneGraph\3rdParty || Folder containing the 3rdParty libraries in the subfolders x86 and x64 || Download from http://www.osgvisual.org/projects/osgvisual/wiki/Downloads || 22 22 || D:\!OpenSceneGraph\Data || Models and pictures for the OSG examples || http://www.osgvisual.org/projects/osgvisual/wiki/Downloads || 23 || D:\!OpenSceneGraph\!OpenSceneGraph-2.9.9_x86 || Folder containing the real osg fram work compiled as 32 bit with its subfolders (bin lib include etc.) || Download newest version vom SVN trunk ||24 || D:\!OpenSceneGraph\!OpenSceneGraph-2.9.9_x64 || Folder containing the real osg fram work compiled as 64 bit with its subfolders (bin lib include etc.) || Download newest version vom SVN trunk ||23 || D:\!OpenSceneGraph\!OpenSceneGraph-2.9.9_x86 || Folder containing the real osg framework compiled as 32 bit with its subfolders (bin lib include etc.) || Download newest version vom SVN trunk || 24 || D:\!OpenSceneGraph\!OpenSceneGraph-2.9.9_x64 || Folder containing the real osg framework compiled as 64 bit with its subfolders (bin lib include etc.) || Download newest version vom SVN trunk || 25 25 || D:\!OpenSceneGraph\!VirtualPlanetBuilder || Folder for the !VirtualPlanetBuilder installation. || Download newest version from SVN trunk || 26 26 … … 29 29 30 30 The followin enviroment variables are required: 31 || Env Variable || Content || Example || 31 || Env Variable || Content || Explanation 32 || OSG || %OSG_ROOT%\bin;D:\OpenSceneGraph\3rdParty_x86_x64\x86\bin\; || Binary files of OSG and the 3rdparty || 33 || OSG_X64 || %OSG_ROOT_X64%\bin;D:\OpenSceneGraph\3rdParty_x86_x64\x64\bin\; || Binary files of OSG and the 3rdparty in 64 bit|| 34 || OSG_FILE_PATH || D:\OpenSceneGraph\Data;D:\OpenSceneGraph\Data\Images || Path to the example data files || 35 || OSG_NOTIFY_LEVEL || WARN || Notify level for the console output || 36 || OSG_ROOT || D:\OpenSceneGraph\OpenSceneGraph-2.9.9_x86 || Root folder of the 32 bit OSG build || 37 || OSG_ROOT_X64 || D:\OpenSceneGraph\OpenSceneGraph-2.9.9_x64 || Root folder of the 64 bit OSG build || 38 || PATH || %PATH%;%OSG%;OSG_X64 || extend the PATH with the OSG binary pathes to start osg from konsole. add both architectures, but at first the one you want to use for in-source debugging. || 32 39 33 * OSG D:\!OpenSceneGraph\!OpenSceneGraph-2.9.9\bin;D:\OpenSceneGraph\3rdParty\bin;D:\OpenSceneGraph\gdal-1.6.2\bin34 * OSG_FILE_PATH D:\!OpenSceneGraph\Data;D:\OpenSceneGraph\Data\Images35 * PATH erweitern mit ;%OSG%36 * OSG_SCREEN 0 Nummer des Bildschirms, den OSG verwenden soll. es wird angefangen bei 0 zu zählen.37 * OSG_NOTIFY_LEVEL Notify-Level für die Konsolen-Ausgabe, z.B.: WARN38 * OSG_ROOT OSG-Wurzelverzeichnis, z.B.: D:\OpenSceneGraph\OpenSceneGraph-2.9.839 40 40 41 == [optional ] compile GDAL == … … 45 46 {{{ 46 47 #!sh 47 gdal-1. x.x48 gdal-1.6.x 48 49 - bin 49 50 - include … … 58 59 * Delete your downloaded SDK to avoid that cmake will found this folder instead your build. 59 60 60 == OSG Kompilieren==61 == Compile OSG == 61 62 62 Die Reihenfolgedes kompilieren lautet 63 The steps to build OSG are: 63 64 * CMAKE starten und Sourcecode wählen 64 * Sourcecode Verzeichnis: D:/OpenSceneGraph/OpenSceneGraph-2.9. 865 * Build Binaries Verzeichnis: D:/OpenSceneGraph/OpenSceneGraph-2.9. 865 * Sourcecode Verzeichnis: D:/OpenSceneGraph/OpenSceneGraph-2.9.9 66 * Build Binaries Verzeichnis: D:/OpenSceneGraph/OpenSceneGraph-2.9.9 66 67 * Optionen für gewähltes Sourcecodeverzeichnis einstellen 67 68 * ACTUAL_3RDPARTY_DIR D:/OpenSceneGraph/3rdparty 68 * CMAKE_INSTALL_PREFIX D:/OpenSceneGraph/OpenSceneGraph-2.9. 869 * CMAKE_INSTALL_PREFIX D:/OpenSceneGraph/OpenSceneGraph-2.9.9 69 70 * BUILD_MFC_EXAMPLES true (Diese Option erscheint erst, wenn BUILD_OSG_EXAMPLE auf true gesetzt wurde und einmal ein "Configure" ausgeführt wurde) 70 71 * BUILD_WRAPPER true 71 72 * configure ausführen, bei Fehlern diese beseitigen 72 73 * Generate ausführen -> MS Visual Studio Solution wird erzeugt 73 * D:/OpenSceneGraph/OpenSceneGraph-2.9.8 betreten und OpenSceneGraph.sln öffnen74 * D:/OpenSceneGraph/OpenSceneGraph-2.9.8 betreten und !OpenSceneGraph.sln öffnen 74 75 * BUILD_ALL einmal als Debug und einmal als Release kompilieren ( Bei Fehlern immer wieder OHNE Aufräumen kompilieren bis alle Fehler weg sind und der Compile gelingt) 75 76 … … 77 78 78 79 == Troubleshooting & Tips == 79 * If you have problems with linking against wldap32.lib : Read [http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg20490.html this article].80 * If you have problems with linking against wldap32.lib, read [http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg20490.html this article]. 80 81