I think I see your problem Peter, you have to run CMake from the root directory not the src directory the text box is a little misleading.
So the osgOcean directory tree looks a bit like this ..\osgOcean\ <- direct cmake to here ..\osgOcean\src\ ..\osgOcean\include\ ..\osgOcean\resources\ So cmake should read: Where is the source code: (your directory path)/osgOcean/ Where to build the binaries: (your directory path)/osgOcean/build/ I believe that should fix it. Kim. 2009/8/6 Peter Clemenko III <[email protected]>: > Hi, > > recently got a chance to test it again, same thing > > > > [Image: http://i16.photobucket.com/albums/b15/Th3Flyboy/screenies/gv.jpg ] > > [Image: http://i16.photobucket.com/albums/b15/Th3Flyboy/screenies/sv.jpg ] > > error message > > >> CMake Warning (dev) at D:/csp/devpack/Devpack 32 >> flybuild/osgOcean/build/CMakeFiles/CMakeCCompiler.cmake:1 (SET): >> Syntax error in cmake code at >> >> D:/csp/devpack/Devpack 32 >> flybuild/osgOcean/build/CMakeFiles/CMakeCCompiler.cmake:1 >> >> when parsing string >> >> C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.exe >> >> Invalid escape sequence \P >> >> Policy CMP0010 is not set: Bad variable reference syntax is an error. Run >> "cmake --help-policy CMP0010" for policy details. Use the cmake_policy >> command to set the policy and suppress this warning. >> Call Stack (most recent call first): >> >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> CMake Warning (dev) at D:/csp/devpack/Devpack 32 >> flybuild/osgOcean/build/CMakeFiles/CMakeCXXCompiler.cmake:1 (SET): >> Syntax error in cmake code at >> >> D:/csp/devpack/Devpack 32 >> flybuild/osgOcean/build/CMakeFiles/CMakeCXXCompiler.cmake:1 >> >> when parsing string >> >> C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.exe >> >> Invalid escape sequence \P >> >> Policy CMP0010 is not set: Bad variable reference syntax is an error. Run >> "cmake --help-policy CMP0010" for policy details. Use the cmake_policy >> command to set the policy and suppress this warning. >> Call Stack (most recent call first): >> >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> Check for working C compiler: C:\Program Files\Microsoft Visual Studio >> 9.0\VC\bin\cl.exe >> CMake Warning (dev) at D:/csp/devpack/Devpack 32 >> flybuild/osgOcean/build/CMakeFiles/CMakeCCompiler.cmake:1 (SET): >> Syntax error in cmake code at >> >> D:/csp/devpack/Devpack 32 >> flybuild/osgOcean/build/CMakeFiles/CMakeCCompiler.cmake:1 >> >> when parsing string >> >> C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.exe >> >> Invalid escape sequence \P >> >> Policy CMP0010 is not set: Bad variable reference syntax is an error. Run >> "cmake --help-policy CMP0010" for policy details. Use the cmake_policy >> command to set the policy and suppress this warning. >> Call Stack (most recent call first): >> CMakeLists.txt:2 (PROJECT) >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> Check for working C compiler: C:\Program Files\Microsoft Visual Studio >> 9.0\VC\bin\cl.exe -- works >> Detecting C compiler ABI info >> CMake Warning (dev) at D:/csp/devpack/Devpack 32 >> flybuild/osgOcean/build/CMakeFiles/CMakeCCompiler.cmake:1 (SET): >> Syntax error in cmake code at >> >> D:/csp/devpack/Devpack 32 >> flybuild/osgOcean/build/CMakeFiles/CMakeCCompiler.cmake:1 >> >> when parsing string >> >> C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.exe >> >> Invalid escape sequence \P >> >> Policy CMP0010 is not set: Bad variable reference syntax is an error. Run >> "cmake --help-policy CMP0010" for policy details. Use the cmake_policy >> command to set the policy and suppress this warning. >> Call Stack (most recent call first): >> CMakeLists.txt:2 (PROJECT) >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> Detecting C compiler ABI info - done >> Check for working CXX compiler: C:\Program Files\Microsoft Visual Studio >> 9.0\VC\bin\cl.exe >> CMake Warning (dev) at D:/csp/devpack/Devpack 32 >> flybuild/osgOcean/build/CMakeFiles/CMakeCXXCompiler.cmake:1 (SET): >> Syntax error in cmake code at >> >> D:/csp/devpack/Devpack 32 >> flybuild/osgOcean/build/CMakeFiles/CMakeCXXCompiler.cmake:1 >> >> when parsing string >> >> C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.exe >> >> Invalid escape sequence \P >> >> Policy CMP0010 is not set: Bad variable reference syntax is an error. Run >> "cmake --help-policy CMP0010" for policy details. Use the cmake_policy >> command to set the policy and suppress this warning. >> Call Stack (most recent call first): >> CMakeLists.txt:2 (PROJECT) >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> Check for working CXX compiler: C:\Program Files\Microsoft Visual Studio >> 9.0\VC\bin\cl.exe -- works >> Detecting CXX compiler ABI info >> CMake Warning (dev) at D:/csp/devpack/Devpack 32 >> flybuild/osgOcean/build/CMakeFiles/CMakeCXXCompiler.cmake:1 (SET): >> Syntax error in cmake code at >> >> D:/csp/devpack/Devpack 32 >> flybuild/osgOcean/build/CMakeFiles/CMakeCXXCompiler.cmake:1 >> >> when parsing string >> >> C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.exe >> >> Invalid escape sequence \P >> >> Policy CMP0010 is not set: Bad variable reference syntax is an error. Run >> "cmake --help-policy CMP0010" for policy details. Use the cmake_policy >> command to set the policy and suppress this warning. >> Call Stack (most recent call first): >> CMakeLists.txt:2 (PROJECT) >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> Detecting CXX compiler ABI info - done >> CMake Warning (dev) at osgOcean/CMakeLists.txt:97 (TARGET_LINK_LIBRARIES): >> Link library type specifier "optimized" is followed by specifier "debug" >> instead of a library name. The first specifier will be ignored. >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> CMake Warning (dev) at osgOcean/CMakeLists.txt:97 (TARGET_LINK_LIBRARIES): >> Link library type specifier "debug" is followed by specifier "optimized" >> instead of a library name. The first specifier will be ignored. >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> CMake Warning (dev) at osgOcean/CMakeLists.txt:97 (TARGET_LINK_LIBRARIES): >> Link library type specifier "optimized" is followed by specifier "debug" >> instead of a library name. The first specifier will be ignored. >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> CMake Warning (dev) at osgOcean/CMakeLists.txt:97 (TARGET_LINK_LIBRARIES): >> Link library type specifier "debug" is followed by specifier "optimized" >> instead of a library name. The first specifier will be ignored. >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> CMake Warning (dev) at osgOcean/CMakeLists.txt:97 (TARGET_LINK_LIBRARIES): >> Link library type specifier "optimized" is followed by specifier "debug" >> instead of a library name. The first specifier will be ignored. >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> CMake Warning (dev) at osgOcean/CMakeLists.txt:97 (TARGET_LINK_LIBRARIES): >> Link library type specifier "debug" is followed by specifier "optimized" >> instead of a library name. The first specifier will be ignored. >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> CMake Warning (dev) at osgOcean/CMakeLists.txt:97 (TARGET_LINK_LIBRARIES): >> Link library type specifier "optimized" is followed by specifier "debug" >> instead of a library name. The first specifier will be ignored. >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> CMake Warning (dev) at osgOcean/CMakeLists.txt:97 (TARGET_LINK_LIBRARIES): >> Link library type specifier "debug" is followed by specifier "optimized" >> instead of a library name. The first specifier will be ignored. >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> CMake Warning (dev) at osgOcean/CMakeLists.txt:97 (TARGET_LINK_LIBRARIES): >> Link library type specifier "optimized" is followed by specifier "debug" >> instead of a library name. The first specifier will be ignored. >> This warning is for project developers. Use -Wno-dev to suppress it. >> >> CMake Error at osgOcean/CMakeLists.txt:97 (TARGET_LINK_LIBRARIES): >> The "debug" argument must be followed by a library. >> >> >> CMake Warning (dev) in CMakeLists.txt: >> No cmake_minimum_required command is present. A line of code such as >> >> cmake_minimum_required(VERSION 2.6) >> >> should be added at the top of the file. The version specified may be lower >> if you wish to support older CMake versions for this project. For more >> information run "cmake --help-policy CMP0000". >> This warning is for project developers. Use -Wno-dev to suppress it. >> > > > > Thank you! > > Cheers, > Peter > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=15882#15882 > > > > > > _______________________________________________ > 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

