I am trying out OSG by taking an example and modifying it. I have pulled the example out from under the OSG tree and put it in my dev tree. When building OSG, I used the BUILD_EXAMPLES flag (or whatever it was, the exact name escapes me at this moment). How do I build my modified example? I ran ccmake . in the folder of my modified example, which I thought was a way to generate the make files, but I get the following when I try to configure.

CMake Error at CMakeLists.txt:7 (SETUP_EXAMPLE):
  Unknown CMake command "SETUP_EXAMPLE".



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.

Ed

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to