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手册?

解决方案 »

  1.   

    lz自己说对了:去具体地学一下cmake手册,说穿了,就是要具体了解编译和连接选项是如何设置的
      

  2.   

    安装了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)有人知道解决方法请务必告知一下....
      

  3.   

    cmake手册内容包含太多,具体学要不少时间。各种博客说使用也很简单...我想能用就行了...win平台有gui程序简化了很多..