pthread_create 在 ubuntu 中找不到

pthread_create not found in ubuntu

我正在尝试 运行 cocos2d-x Ubuntu。它显示此错误:

-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so  
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 

这是什么意思?

pthread_create 可能出现在几个不同的地方。脚本检查了所有这些并在 pthread 中找到了这个函数。然后它寻找 Doxygen,但找不到。安装它并重试,脚本应该可以继续。

它似乎最终找到了 pthread_create 但它缺少 Doxygen。 运行 sudo apt-get install doxygen,然后重试。