1

我正在尝试在 Raspberry Pi 上编译TrinityCore 。但是,它找不到线程。

-- 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!

然后我使用“定位 pthread.h”。这是一个结果:

/usr/include/mysql/my_pthread.h
/usr/include/pthread.h
/usr/local/include/ace/os_include/os_pthread.h
4

1 回答 1

0

最后,我发现 TrinityCore 需要 SSE2 才能运行。但是,Raspberry Pi 使用的是 ARM 并且不支持它。

http://www.trinitycore.org/f/topic/1518-trouble-with-your-trinity-install-readme-1st-faqs/

于 2013-09-09T14:36:06.220 回答