Sorry if this has come up before...
I'm attempting to compile OSG 2.5 and when I do the ./configure, I get:
CMake Error: Error in cmake code at
/OSG_PATH/OSG_OP_OT-2.5/OpenSceneGraph-2.5.0/CMakeLists.txt:214:
INCLUDE Could not find include file: FindPkgConfig
Current CMake stack: 
/OSG_PATH/OSG_OP_OT-2.5/OpenSceneGraph-2.5.0/CMakeLists.txt;/OSG_PATH/cmake-2.4.6-Linux-i386/share/cmake-2.4/Modules/CMakeCInformation.cmake;/OSG_PATH/cmake-2.4.6-Linux-i386/share/cmake-2.4/Modules/CMakeCXXInformation.cmake;/OSG_PATH/OSG_OP_OT-2.5/OpenSceneGraph-2.5.0/FindPkgConfig
CMake Error: Error in cmake code at
/OSG_PATH/OSG_OP_OT-2.5/OpenSceneGraph-2.5.0/CMakeLists.txt:216:
Unknown CMake command "PKG_CHECK_MODULES".
-- Configuring done
When I look in the cmake 2.4.6 directory, I don't see a file called 
FindPkgConfig... However, if I look in CMAKE 2.6, I see such a file...  The 
readme for OSG says it needs 2.4.6 or newer.. Did this requirement change. It 
seems that a change was made to CMakeLists.txt in early May which causes this 
"include" to now be used.
Paul


      
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to