Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pthread_create not found in ubuntu

I am trying to run cocos2d-x on Ubuntu. 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?

like image 437
kshitij singh Avatar asked Dec 17 '15 17:12

kshitij singh


2 Answers

it seems like it eventually finds pthread_create but it is missing Doxygen. Run sudo apt-get install doxygen, and retry it.

like image 199
cat Avatar answered Nov 10 '22 16:11

cat


pthread_create may be present in few different places. Script checked them all and found this function in pthread. Then it looked for Doxygen and was not able to find it. Install it and try again, script should be able to proceed.

like image 29
Daniel Frużyński Avatar answered Nov 10 '22 15:11

Daniel Frużyński