Hi Andreas,
Windows makes things a bit harder to find w.r.t OpenThreads as there
are now standard places to install things. CMake should find
OpenThreads if it sits alongside the OpenSceneGraph, or in the place
that you set the OPENTHREADS_DIR env var, you should be able to set
this with CMakeSetup. I haven't tried CMake under Windows yet so
hopefully Windows users will be able to jump in and point you in the
right direction.
Robert.
On 4/10/07, Andreas Goebel <[EMAIL PROTECTED]> wrote:
Hi ,
I´m just trying the cmake-system under msys and get the following error
when building the osg:
Scanning dependencies of target osg
[ 0%] Building CXX object src/osg/CMakeFiles/osg.dir/AlphaFunc.obj
[ 0%] Building CXX object src/osg/CMakeFiles/osg.dir/AnimationPath.obj
In file included from
c:/msys/1.0/home/Andreas/osgSvn/OpenSceneGraph/include/osg/GraphicsContext:18,
from c:/msys/1.0/home/Andreas/osgSvn/OpenSceneGraph/include/osg/Texture:20,
from c:/msys/1.0/home/Andreas/osgSvn/OpenSceneGraph/include/osg/Camera:21,
from
c:/msys/1.0/home/Andreas/osgSvn/OpenSceneGraph/src/osg/AnimationPath.cpp:16:
c:/msys/1.0/home/Andreas/osgSvn/OpenSceneGraph/include/osg/GraphicsThread:23:29:
OpenThreads/Block: No such file or directory
In file included from
c:/msys/1.0/home/Andreas/osgSvn/OpenSceneGraph/include/osg/GraphicsContext:18,
from c:/msys/1.0/home/Andreas/osgSvn/OpenSceneGraph/include/osg/Texture:20,
from c:/msys/1.0/home/Andreas/osgSvn/OpenSceneGraph/include/osg/Camera:21,
from
c:/msys/1.0/home/Andreas/osgSvn/OpenSceneGraph/src/osg/AnimationPath.cpp:16:
c:/msys/1.0/home/Andreas/osgSvn/OpenSceneGraph/include/osg/GraphicsThread:30:
error: expected class-name before '{' token
make[2]: *** [src/osg/CMakeFiles/osg.dir/AnimationPath.obj] Error 1
make[1]: *** [src/osg/CMakeFiles/osg.dir/all] Error 2
make: *** [all] Error 2
Quite obviously OpenThreads is not found - though I had it installed
with make install, and the env-variable is set. Maybe I have set it
wrong? What exactly do I have to do here?
Regards,
Andreas
_______________________________________________
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/