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

问题描述 投票:8回答:2

我想在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
macos doxygen
2个回答
9
投票

默认情况下未安装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

0
投票

为我解决此问题。

sudo apt-get install doxygen

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

© www.soinside.com 2019 - 2024. All rights reserved.