CMake使用相关问题

a791238 2015-02-07 10:03:00
网上找了一个游戏源代码(应该是完整能通过编译的),不知道怎么使用。


这是解压文件目录,需要使用CMake编译?


这个是使用CMake编译错误,应该怎么办?

或许犯了很低级的错误,求指教。

...全文
227 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
a791238 2015-02-08
  • 打赏
  • 举报
回复
引用 2 楼 worldy 的回复:
lz自己说对了:去具体地学一下cmake手册,说穿了,就是要具体了解编译和连接选项是如何设置的
cmake手册内容包含太多,具体学要不少时间。各种博客说使用也很简单...我想能用就行了...win平台有gui程序简化了很多..
a791238 2015-02-08
  • 打赏
  • 举报
回复
安装了GHC还有最后一个问题 CMake Error at cmake_modules/CheckHaskellModuleExists.cmake:49 (message): Haskell library 'utf8-string' required Call Stack (most recent call first): gameServer/CMakeLists.txt:19 (check_haskell_module_exists) 有人知道解决方法请务必告知一下....
worldy 2015-02-08
  • 打赏
  • 举报
回复
lz自己说对了:去具体地学一下cmake手册,说穿了,就是要具体了解编译和连接选项是如何设置的
a791238 2015-02-08
  • 打赏
  • 举报
回复
Building 0.9.21-r10765 (31c744824dab) Using RELEASE configuration Could NOT find GHC (missing: GHC_EXECUTABLE GHC_VERSION) CMake Error at cmake_modules/utils.cmake:15 (message): Missing GHC! Rerun cmake with -DNOSERVER=1 to skip this error. Call Stack (most recent call first): gameServer/CMakeLists.txt:4 (find_package_or_disable) CMake Warning (dev) at cmake_modules/CheckHaskellModuleExists.cmake:14 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "HS_MODULE_base_mask" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): gameServer/CMakeLists.txt:8 (check_haskell_module_exists) This warning is for project developers. Use -Wno-dev to suppress it. Looking for warningM in System.Log.Logger Looking for warningM in System.Log.Logger - not found CMake Error at cmake_modules/CheckHaskellModuleExists.cmake:49 (message): Haskell library 'hslogger' required Call Stack (most recent call first): gameServer/CMakeLists.txt:17 (check_haskell_module_exists) Configuring incomplete, errors occurred! See also "D:/project/hg/hedgewars-src-0.9.21/CMakeFiles/CMakeOutput.log". See also "D:/project/hg/hedgewars-src-0.9.21/CMakeFiles/CMakeError.log". vs2010 tools里面已经有cmake了,应该不是配置问题?或许应该去具体地学一下cmake手册?

16,472

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC相关问题讨论
社区管理员
  • 基础类社区
  • Web++
  • encoderlee
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

        VC/MFC社区版块或许是CSDN最“古老”的版块了,记忆之中,与CSDN的年龄几乎差不多。随着时间的推移,MFC技术渐渐的偏离了开发主流,若干年之后的今天,当我们面对着微软的这个经典之笔,内心充满着敬意,那些曾经的记忆,可以说代表着二十年前曾经的辉煌……
        向经典致敬,或许是老一代程序员内心里面难以释怀的感受。互联网大行其道的今天,我们期待着MFC技术能够恢复其曾经的辉煌,或许这个期待会永远成为一种“梦想”,或许一切皆有可能……
        我们希望这个版块可以很好的适配Web时代,期待更好的互联网技术能够使得MFC技术框架得以重现活力,……

试试用AI创作助手写篇文章吧