简体   繁体   English

在ubuntu中找不到pthread_create

[英]pthread_create not found in ubuntu

I am trying to run cocos2d-x on Ubuntu. 我想在Ubuntu上运行cocos2d-x。 It shows this error: 它显示了这个错误:

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

What does this mean? 这是什么意思?

it seems like it eventually finds pthread_create but it is missing Doxygen. 它似乎最终找到了pthread_create,但却缺少Doxygen。 Run sudo apt-get install doxygen , and retry it. 运行sudo apt-get install doxygen ,然后重试。

pthread_create may be present in few different places. pthread_create可能出现在几个不同的地方。 Script checked them all and found this function in pthread . 脚本检查了所有内容,并在pthread找到了此函数。 Then it looked for Doxygen and was not able to find it. 然后它寻找Doxygen并且无法找到它。 Install it and try again, script should be able to proceed. 安装它并重试,脚本应该能够继续。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM