Hi Christian,

On Sun, Feb 15, 2009 at 2:22 PM, Christian <[email protected]> wrote:
> ---
> 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?

The environment vars are not needed for osg to build but might be
handy if your osg based project uses the FindOSG.cmake to locate osg.
The OSG_FILE_PATH var is a must if you want to run all examples

>
>
> * i forgot to configure cmake to include GDAL, how can i include it afterways 
> ?

yes

>
> set the following in cmake:
> GDAL_INCLUDE_DIR
> GDAL_LIBRARAY

Setting the above will enable building osgdb_gdal plugin

>
> (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?)

The gdal library in FWTools is static (gdal_i.lib) so you won't need
to modify PATH for the gdal plugin to load.

>
> 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?

yes

>
>
> * 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?

Just change CMAKE_INSTALL_PREFIX, configure, generate and INSTALL
again. This is one of cmake many strengths.

Mattias

>
> ------------------
> 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
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to