[osg-users] CMake error

Brian bpdavis at knology.net
Wed Feb 20 11:17:41 PST 2008


I've finally gotten the approval to start looking at OSG 2.2, however I'm having issues with CMake not being able to find include files.  Here is the error message that I'm getting.


---------------------------
Error
---------------------------
CMake Error: Cannot find source file "/include/OpenThreads/Barrier"

Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx

(Press  Cancel to suppress any further messages.)
---------------------------
OK   Cancel   
---------------------------


How can I resolve this?  I'm using CMake 2.4 - patch 8.

Here are my CMake dialog values.  I'm building for Visual Studio .Net 2003

Where is the source code:  C:\svn\Delta3D\dt_dep_src\OpenSceneGraph-2.2.0\src
Where to build the binaries:  C:\svn\Delta3D\dt_dep_src\OpenSceneGraph-2.2.0\src

Cache Values for CMake

CMAKE_BACKWARDS_COMPATIBILITY 2.4
CMAKE_INSTALL_PREFIX c:/OpenSceneGraph-2.2.0
DYNAMIC_OPENTHREADS ON
EXECUTABLE_OUTPUT_PATH C:\svn\Delta3D\dt_dep_src\OpenSceneGraph-2.2.0\bin
LIBRARY_OUTPUT_PATH C:\svn\Delta3D\dt_dep_src\OpenSceneGraph-2.2.0\lib


I appreciate the help and have looked at the instructions on the OSG Wiki first.  I haven't seen any reference to this particular problem.

Thanks,
Brian




More information about the osg-users mailing list