2
我想在Ubuntu上運行cocos2d-x。它顯示此錯誤:pthread_create在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',但它缺少'Doxygen'。你有沒有試過'sudo apt-get install doxygen'? – cat
你會看到:'Found Threads:TRUE'。這意味着他實際上找到了「線程」,但缺少了氧氣。 – ForceBru
僅供參考,'doxygen'是CPP的文檔生成器。我覺得如果安裝不能找到這樣的dep,但是無論如何都會導致安裝失敗。安裝它應該解決這個問題。 – cat