Thanks!
-bob
On Wed, 11 Jun 2008, Vincent Bourdier wrote:
Hi
For Osg 2.4, you should use Cmake 2.4 ... I did it and solve all my problems
doing that.
(and Cmake 2.6 for Osg 2.5.1 and upper)
Vincent
2008/6/11 Bob Huebert <[EMAIL PROTECTED]>:
more noise...
The cmake configuration process bailed out during the generation phase with
this:
CMake Warning (dev) at src/osg/CMakeLists.txt:173 (ADD_LIBRARY):
Policy CMP0003 should be set before this line. Add code such as
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
as early as possible but after the most recent call to
cmake_minimum_required or cmake_policy(VERSION). This warning appears
because target "osg" links to some libraries for which the linker must
search:
-lpthread
and other libraries with known full path:
/usr/local/pkg/osg/wrk.huebert/osg-2.4.0/lib/libOpenThreads.so.2.2.1
CMake is adding directories in the second list to the linker search path
in
case they are needed to find libraries from the first list (for backwards
compatibility with CMake 2.4). Set policy CMP0003 to OLD or NEW to
enable
or disable this behavior explicitly. Run "cmake --help-policy CMP0003"
for
more information.
This warning is for project developers. Use -Wno-dev to suppress it.
I'm no cmake expert, so I'm a bit lost on this.
This is osg-2.4.0 source as a relase build using cmake-2.6.0.
-bob
From: Bob Huebert <[EMAIL PROTECTED]>
Reply-To: OpenSceneGraph Users <[email protected]>
To: OpenSceneGraph Users <[email protected]>
Subject: Re: [osg-users] ccmake issue with 2.4.0 release
nevermind.
Second time launching ccmake the message doesn't show. Configuration
process seems to work despite the error.
sorry for the noise
-bob
On Tue, 10 Jun 2008, Bob Huebert wrote:
Hi folks,
I just grabbed the 2.4.0 release source of osg and have run into this
when initiating the cmake (2.6.0) configuration:
CMake Error at CMakeLists.txt:9 (ADD_EXECUTABLE):
Target "cmTryCompileExec" links to item " -lpthread" which has leading or
trailing whitespace. This is now an error according to policy CMP0004.
I've searched the gmane osg archive, but didn't see anything.
Any clues on this? Maybe it's a cmake thing?
tia
-bob
_______________________________________________
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
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org