CMake: Could NOT find PkgConfig

转自http://www.ogre3d.org/forums/viewtopic.php?f=22&t=78490

Looking for OGRE...
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
Found Ogre Byatis (1.8.1)
Found OGRE: optimized;C:/OgreSDK/OgreSDK_vc10_v1-8-1/lib/release/OgreMain.lib;debug;C:/OgreSDK/OgreSDK_vc10_v1-8-1/lib/debug/OgreMain_d.lib
Looking for OGRE_Paging...
Found OGRE_Paging: optimized;C:/OgreSDK/OgreSDK_vc10_v1-8-1/lib/release/OgrePaging.lib;debug;C:/OgreSDK/OgreSDK_vc10_v1-8-1/lib/debug/OgrePaging_d.lib
Looking for OGRE_Terrain...
Found OGRE_Terrain: optimized;C:/OgreSDK/OgreSDK_vc10_v1-8-1/lib/release/OgreTerrain.lib;debug;C:/OgreSDK/OgreSDK_vc10_v1-8-1/lib/debug/OgreTerrain_d.lib
Looking for OGRE_Property...
Found OGRE_Property: optimized;C:/OgreSDK/OgreSDK_vc10_v1-8-1/lib/release/OgreProperty.lib;debug;C:/OgreSDK/OgreSDK_vc10_v1-8-1/lib/debug/OgreProperty_d.lib
Looking for OGRE_RTShaderSystem...
Found OGRE_RTShaderSystem: optimized;C:/OgreSDK/OgreSDK_vc10_v1-8-1/lib/release/OgreRTShaderSystem.lib;debug;C:/OgreSDK/OgreSDK_vc10_v1-8-1/lib/debug/OgreRTShaderSystem_d.lib
Looking for OIS...
Could NOT find PkgConfig (missing:  PKG_CONFIG_EXECUTABLE) 
Found OIS: optimized;C:/OgreSDK/OgreSDK_vc10_v1-8-1/lib/release/OIS.lib;debug;C:/OgreSDK/OgreSDK_vc10_v1-8-1/lib/debug/OIS_d.lib
Configuring done

  

回答:

You are not supposed to use PkgConfig on Windows.

see http://www.freedesktop.org/wiki/Software/pkg-config/

The error is not really an error, it's an informative message. It's completely harmless. Please keep in mind that Ogre has many optional dependencies, you don't need to satisfy all of them.

HTH

  

posted @ 2015-05-19 22:32  aminxu  阅读(10829)  评论(0编辑  收藏  举报