2015-04-24 100 views
5

我想在我的Mac OS X的安裝元我有OS X 10.9.3,我收到以下錯誤:找不到Doxygen的(缺失:DOXYGEN_EXECUTABLE)在Mac OS X

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 
+1

Doxygen默認不安裝;使用[macports](http://macports.org)來安裝它。 – trojanfoe

回答

4

的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