在ubuntu中找不到pthread_create

时间:2015-12-17 17:24:05

标签: c++ ubuntu cocos2d-iphone install

我正在尝试在Ubuntu上运行cocos2d-x。它显示了这个错误:

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

这是什么意思?

2 个答案:

答案 0 :(得分:4)

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

答案 1 :(得分:2)

pthread_create可能出现在几个不同的地方。脚本检查了所有内容,并在pthread中找到了此功能。然后它寻找Doxygen并且无法找到它。安装它并重试,脚本应该能够继续。