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

  


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM