我想尝试在Raspberry pi上搭一个wow的服务端,所以想要编译TrinityCore。
按照TrinityCore官网的wiki一步步来,知道cmake源码的时候就出错了。下面是错误信息:- -- Detected 32-bit platform
- -- UNIX: Using jemalloc
- -- UNIX: Using default configuration directory
- -- UNIX: Using default library directory
- -- UNIX: Configuring uninstall target
- -- UNIX: Created uninstall target
- -- UNIX: Detected compiler: /usr/bin/gcc
- -- GCC: SFMT enabled, SSE2 flags forced
- -- GCC: All warnings enabled
- -- Found ACE library: /usr/local/lib/libACE.so
- -- Found ACE headers: /usr/local/include
- CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE):
- Could NOT find Threads (missing: Threads_FOUND)
- Call Stack (most recent call first):
- /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:288 (_FPHSA_FAILURE_MESSAGE)
- /usr/share/cmake-2.8/Modules/FindThreads.cmake:166 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
- CMakeLists.txt:54 (find_package)
- -- Configuring incomplete, errors occurred!
复制代码 我尝试用locate pthread.h找了一下这个头文件,确实是存在的:- /usr/include/mysql/my_pthread.h
- /usr/include/pthread.h
- /usr/local/include/ace/os_include/os_pthread.h
复制代码 但不知为何就是报错,编译不成功,求助……
不知道是否是因为ARM的原因?
|