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