Hi Durk,

----- Mail original -----
> > 
> > If you regularly pull+build 'next', please try a cmake based build,
> > and report any issues you encounter - CMake should work 'out of
> > the box' on Mac (Makefiles or XCode), Linux (32- and 64- bit) and
> > Windows (VisualStudio  2008 and 2010 -  mingw and cygwin may need
> > some fixes).
> > 
> 
> Hi James,
> 
> I'm trying to build a Cmake build on linux, and I'm running into the
> following problem:
> 
> CMake Error at CMakeLists.txt:76 (find_package):
>    Could not find module FindOpenSceneGraph.cmake or a configuration
>    file for
>    package OpenSceneGraph.
> 
>    Adjust CMAKE_MODULE_PATH to find FindOpenSceneGraph.cmake or set
>    OpenSceneGraph_DIR to the directory containing a CMake
>    configuration file
>    for OpenSceneGraph.  The file will have one of the following
>    names:
> 
>      OpenSceneGraphConfig.cmake
>      openscenegraph-config.cmake
> 
> Looking at simgear/CMakeModules, I do see a FindSvnClient.cmake, but
> no FindOpenSceneGraph.cmake. Is there any chance this file hasn't
> been committed to git yet?
> 
> FWIW, I have my source tree organized as:
> 
> ${HOME}/src/OpenSceneGraph*
> ${HOME}/src/flightgear-git/simgear
> ${HOME}/src/flightgear-git/simgear-build
> ${HOME}/src/flightgear-git/simgear-cmake
> 
> ${HOME}/src/flightgear-git/flightgear
> ${HOME}/src/flightgear-git/flightgear-build
> ${HOME}/src/flightgear-git/flightgear-cmake
> ${HOME}/src/fgdata
> 
> (Where OpenSceneGraph* refers to a number of separate directories:
> OpenSceneGraph for SVN/trunk, OpenSceneGraph-2.8.1, and
>  OpenSceneGraph-2.9.11)

FindOpenSceneGraph.cmake is in the Cmake distribution, in the share directory. 
You certainly need to tell Cmake where the installed OSG is.

Regards,
-Fred

------------------------------------------------------------------------------
Malware Security Report: Protecting Your Business, Customers, and the 
Bottom Line. Protect your business and customers by understanding the 
threat from malware and how it can impact your online business. 
http://www.accelacomm.com/jaw/sfnl/114/51427462/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to