CMake errors (windows gui)
CMake errors (windows gui)
我一直在尝试解决这个问题,但没有成功。
我想配置并生成一个源;当我尝试这样做时,我收到一些错误。
这是结果:
CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindBoost.cmake:1106 (message):
Unable to find the requested Boost libraries.
Boost version: 1.54.0
Boost include path: C:/Program Files (x86)/boost_1_54_0
The following Boost libraries could not be found:
boost_serialization
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost.
Call Stack (most recent call first):
CMakeLists.txt:6 (find_package)
IRRLICHT_INCLUDE_DIR = IRRLICHT_INCLUDE_DIR-NOTFOUND
IRRLICHT_LIBRARY = IRRLICHT_LIBRARY-NOTFOUND
Could NOT find IRRLICHT (missing: IRRLICHT_LIBRARY IRRLICHT_INCLUDE_DIR)
CMake Warning (dev) at CMakeLists.txt:16 (link_directories):
This command specifies the relative path
IRRLICHT_LIBRARY-NOTFOUND
as a link directory.
Policy CMP0015 is not set: link_directories() treats paths relative to the source dir. Run "cmake --help-policy CMP0015" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at CMakeLists.txt:16 (link_directories):
This command specifies the relative path
as a link directory.
Policy CMP0015 is not set: link_directories() treats paths relative to the source dir. Run "cmake --help-policy CMP0015" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
运行 cmake-gui 程序并设置正确的路径(源和构建)。
然后,您将能够在下面的窗口中手动编辑一些变量。
你需要在那里找到:
Boost_SERIALIZATION_LIBRARY
和
Boost_SERIALIZATION_LIBRARY_DEBUG
并设置它们,以便它们指向适当的增强库,例如:
D:/boost_1_53_0/stage/lib/libboost_serialization-mgw48-mt-1_53.a
D:/boost_1_53_0/stage/lib/libboost_serialization-mgw48-mt-d-1_53.a
-d- 在第二个路径的名称中代表调试
相关文章:
- 更改 Windows GUI 中静态文本框的字体大小
- 从 Windows 中的其他应用程序 GUI 中提取数据
- 多线程Windows GUI应用程序中的死锁
- QT Windows GUI-无需qtSingLeaplication即可如何打开一个实例
- Windows API用于C++GUI编程的优势
- 如何使用 XAML for GUI 创建 C++(/CX ?) _DESKTOP_ Windows 8 应用程序
- 确定Windows GUI操作触发的基础呼叫
- C++适用于Windows,Linux和Mac的简单GUI
- 正在寻找一本关于windows C++GUI编程的书
- 可以推荐哪一个免费的IDE for C++,带有简单的GUI开发环境(Windows)
- 在 Linux/Windows 上使用 c++ 的 GUI 应用程序
- 如何使我的 Windows API GUI 代码更加面向对象
- 与OsX相比,Windows上的GUI加载问题
- Windows GUI and native C++
- 构建Mac和Windows GUI应用程序
- 如何获取 Windows xp gui 默认代码页
- 在Visual Studio 2012中使用GUI和数据库的Windows应用程序
- Windows/osx/ipad 上的跨平台 GUI
- CMake errors (windows gui)
- C++GUI Windows默认浏览器