【问题标题】:pthread_create not found in ubuntu在 ubuntu 中找不到 pthread_create
【发布时间】:2015-12-17 17:24:05
【问题描述】:

我正在尝试在 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) 

这是什么意思?

【问题讨论】:

  • 它似乎最终找到了pthread_create,但它缺少Doxygen。你试过sudo apt-get install doxygen吗?
  • 你看:Found Threads: TRUE。这意味着他实际上找到了pthreads,但缺少广告氧气。
  • 仅供参考,doxygen 是 CPP 的文档生成器。我认为如果找不到这样的 dep ,那么安装致命错误是荒谬的,但无论如何。安装它应该可以解决这个问题。
  • @cat 我现在接受它。我也认为现在这是迄今为止唯一的错误。由于某些原因,我现在无法尝试安装 doxygen。如果以后问题仍然存在,我可以在这里寻求帮助吗?
  • @kshitijsingh 如果问题仍然存在,您可以edit 回答您的问题或提出新问题 - 由您决定,但版主可能更喜欢其中一个。

标签: c++ ubuntu cocos2d-iphone installation


【解决方案1】:

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

【讨论】:

  • 没有帮助......我们已经 5 年后了,Ubuntu 20.04 仍然收到相同的 OP 消息,我已经安装了 doxygen
【解决方案2】:

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

【讨论】:

    猜你喜欢
    • 2012-11-28
    • 2011-07-15
    • 2015-09-19
    • 1970-01-01
    • 1970-01-01
    • 2014-01-30
    • 2019-11-20
    • 2016-01-02
    相关资源
    最近更新 更多