Hello Luigi,



2007/7/12, Luigi Calori <[EMAIL PROTECTED]>:


Here is my patches:

I have modified the FindOSG and FindGDAL scripts to search not only env
var OSG_DIR and GDAL_DIR but, before
cmake variables OSG_DIR and GDAL_DIR that can be specified either in the
CMake gui or via  the -d OSG_DIR=<install path of osg, what you have
specified in CMAKE_INSTALL_PREFIX at osg cmake time>

I think this is handier to use than env var (under window you have to
remember either to set a user or system env var or to launch Cmake from
a shell where you have set your env)

I' ve built osgdem against GDAL found from a pre-built installation of
FWTools (1.2.0)     http://fwtools.maptools.org/
I' ve also modified to select debug osg libraries if present when
building in debug mode
I had to add osgViewer to the osgdem app to be able to open windows. Not
completely sure it is absolutely needed.

The patch has been extracted under windows with the following command
against the current ( 631) svn version
svn -x -u -x --ignore-eol-style diff | unix2dos | zip

Hope it helps

Luigi Calori

If it works for you, let us know, so eventually Robert can check in the
mods.


christophe loustaunau wrote:

> Ok, so I will wait for this changes.
>
> Thanks !
>
>
> 2007/7/12, Robert Osfield <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>>:
>
>     Hi Christophe,
>
>     Luigi sent a post a few days about about build VPB under Windows
using
>     the new Cmake build.  He mentioned that he had to make a few changes
>     to CMakeLists.txt files and source files but hasn't submitted any
>     changes yet though.
>
>     Robert.
>


_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/


_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to