Hi JP,

thank you very much for the tip, it works!
(svn propedit svn:externals .)

Rudi  

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of J.P. Delport
Sent: Wednesday, June 27, 2007 2:29 PM
To: osg users
Subject: Re: [osg-users] VirtualPlanetBuilder now ported over to use
CMake

Hi Rudolf,

what I do for the external is to edit the svn:externals property once 
OSG is downloaded to point to https instead of http, maybe you can try
that.

jp

Wiedemann, Rudolf, OPS3 wrote:
> Hi Robert,
> 
> it was just a faulty setting of "GDAL_DIR" on my side. Now compiling
> with "DYNAMIC_VIRTUALTERRAINBUILDER=ON" works, but running "osgdem"
> leads to
> 
>    setDestinationName(output.ive)
>       path 
>       base output
>       extension .ive
>    Failed to create pbuffer, failing back to normal graphics window.
>    Error: Unable to create graphis context - cannot run osgdem
> 
> I've OpenSUSE-10.2 (64-Bit), GeForce8800GTX, nVidia-OpenGL-driver
> 1.0-9755.
> 
> Additionally linking "osgdem" statically doesn't work, because "osgFX"
> is linked afterwards "osg" -> "undefined reference".
> Even changing the order in "src/vpb/CMakeLists.txt: LINK_EXTERNAL( ...
> )" doesn't matter, because "osg" is as well linked directly to
"osgdem",
> and the macro(SETUP_LINK_LIBRARIES) discards the second "osg" to link
> ...
> 
> And a last item:
> I've installed OpenThreads separately from OSG (because I'm behind a
> proxy and cannot checkout externals from SVN).
> While there is an unused "FindOpenThreads.cmake" in
> "VirtualPlanetBuilder" (as well as in "OSG"), I added its use to my
> working copy of VPB.
> Is it possible to merge this into the repository (I can submit the
> files), or is this a too special case?
> 
> Rudi
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Robert
> Osfield
> Sent: Tuesday, June 26, 2007 8:32 PM
> To: osg users
> Subject: Re: [osg-users] VirtualPlanetBuilder now ported over to use
> CMake
> 
> Hi Rudolf,
> 
> On 6/26/07, Wiedemann, Rudolf, OPS3 <[EMAIL PROTECTED]>
> wrote:
>> "The end of a CMakeLists file was reached with an IF statement that
> was
>> not closed properly."
>>
>> => Typo in "VpbMacroUtils.cmake", line 181:
>>
>>             IF(VOB_BUILD_APPLICATION_BUNDLES)
>>         =>  IF(VPB_BUILD_APPLICATION_BUNDLES)
>>
>> If this is fixed, there are following messages:
> 
> Thanks for the testing.  I presume you must be using a Mac then...
> looking at the what code path breaks as I don't get this error.  Error
> now fixed and checked in.
> 
>> CMake Error: This project requires some variables to be set,
>> and cmake can not find them.
>> Please set the following variables:
>>
>
/common/source/VirtualPlanetBuilder/applications/osgdem/GDAL_INCLUDE_DIR
>
/common/source/VirtualPlanetBuilder/applications/osgdem/OSG_INCLUDE_DIR
>> /common/source/VirtualPlanetBuilder/src/vpb/GDAL_INCLUDE_DIR
>> /common/source/VirtualPlanetBuilder/src/vpb/OSG_INCLUDE_DIR
>>
>
/common/source/VirtualPlanetBuilder/src/vpbPlugins/gdal/GDAL_INCLUDE_DIR
>
/common/source/VirtualPlanetBuilder/src/vpbPlugins/gdal/OSG_INCLUDE_DIR
> 
> This suggest that the FindGDAL.cmake and FindOSG.cmake din't find the
> OSG and GDAL  respectively.
> 
> On my machine CMake found GDAL installed in /usr/local/ and the OSG
> installed in my /home/robert/OpenSceneGraph - pointed to by the
> OSG_DIR env var that I have previous set.
> 
> I've set my OSG_DIR to "" and get the errors:
> 
> CMake Error: This project requires some variables to be set,
> and cmake can not find them.
> Please set the following variables:
> OSGDB_LIBRARY
> OSGFX_LIBRARY
> OSGUTIL_LIBRARY
> OSG_INCLUDE_DIR
> OSG_LIBRARY
> 
> Which is reasonable considering that my build of OpenSceneGraph isn't
> installed anywhere :-)
> 
> Installing OpenSceneGraph allows CMake to find the OSG OK.
> 
> Whereabouts are is GDAL and OpenSceneGraph installed on your machine?
> 
> Robert.
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
> 

-- 
This message is subject to the CSIR's copyright, terms and conditions
and
e-mail legal notice. Views expressed herein do not necessarily represent
the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and
the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line
to
[EMAIL PROTECTED]


This message has been scanned for viruses and dangerous content by
MailScanner, 
and is believed to be clean.  MailScanner thanks Transtec Computers for
their support.

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to