在Mac OS X中找不到Doxygen(缺少:DOXYGEN_EXECUTABLE)

时间:2015-04-24 11:23:19

标签: macos doxygen

我想在我的Mac OS X上安装meta。我有OS X 10.9.3,我收到以下错误:

   DICU_ROOT=/usr/local/opt/icu4c
-- Compiler supports C++1y (using it)
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
-- Locating libc++...
-- Located libc++, using it.
--     Locating libc++'s abi...
--     Found libc++abi, using it.
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/sara/meta/build
MacBook-Air:build sara$ brew install DOXYGEN_EXECUTABLE
Error: No available formula for doxygen_executable 
Searching formulae...
Searching taps...
saras-MacBook-Air:build sara$ meta
-bash: meta: command not found
saras-MacBook-Air:build sara$ build
-bash: build: command not found

2 个答案:

答案 0 :(得分:7)

默认情况下不安装Doxygen。您可以使用brew下载它。

$ brew info doxygen
doxygen: stable 1.8.9.1 (bottled), HEAD
http://www.doxygen.org/
/usr/local/Cellar/doxygen/1.8.9.1 (5 files, 15M) *
  Poured from bottle
From:      https://github.com/Homebrew/homebrew/blob/master/Library/Formula/doxygen.rb
==> Dependencies
Optional: graphviz ✘
==> Options
--with-doxywizard
    Build GUI frontend with qt support.
--with-graphviz
    Build with dot command support from Graphviz.
--with-libclang
    Build with libclang support.
--HEAD
    Install HEAD version

$brew install doxygen

答案 1 :(得分:4)

为我解决此问题。

sudo apt-get install doxygen

参考-https://askubuntu.com/questions/659666/errors-occured-when-doing-cmake-in-ubuntu