hi i have some basic questions about building OSG (2.8.0) under a windows os with vs 8.0. (actually i tried it out before and build/install worked, but i now have some questions about suggested paths, how to add some libs later, and so on)
i have my sources at: * osg c:\programme\osg\ * osg-dependencies c:\programme\osg-dep (i will move them to c:\programme\osg\3rdParty for my next build) * osg dataset c:\programme\osg-data i ran cmake 2.4.8 and changed the following settings: * where is the source C:\Programme\osg * where to build the binaries C:\Programme\osg\build * advcaned values - i correct the setting for my non-default 3rdparty dir. - buidl_osg_examples: on - fixed the freetype include paths i entered some enviroment-variables: * %OSG_ROOT% C:\Programme\osg * %OSG_LIB_PATH% C:\Programme\osg\build\lib * %OSG_INCLUDE_PATH% C:\Programme\osg\include * %OSG_FILE_PATH% c:\programme\osg-data * %OSG_BIN_PATH% C:\Programme\osg\build\bin;c:\programme\osg-dep then i ran vs 8.0 and started the "ALL_BUILD" project to compile DEBUG. after it had finished i had my output (like configured in cmake) in: c:\programme\osg\build\ finally i started the "INSTALL" project which moved the generated files to: c:\programme\OpenSceneGraph (CMAKE_INSTALL_PREFIX - i left this to default) --- my questions: --- * are the enviroment variables needed for the building process, or are they only needed when running osg because only cmake settings are relevant? * i forgot to configure cmake to include GDAL, how can i include it afterways ? set the following in cmake: GDAL_INCLUDE_DIR GDAL_LIBRARAY (do i have to put "C:\Programme\FWTools2.0.4\lib" or "C:\Programme\FWTools2.0.4" in my %PATH& enviroment variable for building, or is this necessary only later when running osg with gdal?) then configure cmake, load the new .sln file in vs, start build and install. vs will check whats new to build -> gdal only. it will generate an osg-gdal plugin and moved it to is place. is that all correct? * i want to move my osg sources out of "c:\programme\." (german pendant of c:\program files\) to c:\devel\. will it suffice if i update the cmake settings, or will it take more? ------------------ Read this topic online here: http://osgforum.tevs.eu/viewtopic.php?p=6821#6821 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

