Re: [osg-users] [build] how to build basicGeometry example?

2009-10-29 Thread Mathieu MARACHE
Hi Thomas, you need to do a couple of things, first take a copy of the CMakeModules folder of OSG itself : http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/CMakeModules Then you need to tell CMake via your CMakeLists.txt where to find those set(CMAKE_MODULE_PATH

Re: [osg-users] [build] how to build basicGeometry example?

2009-10-29 Thread J.P. Delport
Hi, it seems like it found the headers and is breaking on linking. I attach a CMakeLists.txt I use for simple test apps. It assumes OSG is installed and the linker can find it (e.g. mine is installed in /usr/local and /usr/local/lib is added in /etc/ld.so.conf). You could also have a look

Re: [osg-users] [build] how to build basicGeometry example?

2009-10-29 Thread Thomas Maier
Hi, thanks for the help. I am on debian there it seemed i must use lower-case find_package(osg), not OSG. the line target_link_libraries(testProjectMain ${OSG_LIBRARY} ${OPENTHREADS_LIBRARY}) works with OpenThreads , but ${OPENTHREADS_LIBRARY} it cannot find Thank you! Cheers, Thomas