Make Error at /usr/local/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find Doxygen (missing: dot) (found version "1.8.11")
Call Stack (most recent call first):
/usr/local/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake-3.16/Modules/FindDoxygen.cmake:633 (find_package_handle_standard_args)
CMakeLists.txt:341 (find_package)
ubuntu16.04版本,通過命令
sudo apt-get install doxygen
安裝的doxygen,此時需要安裝Graphviz
sudo apt-get install graphviz
安裝後,問題解決。
hbg@hbg:/home/git_download/uriparser/build$ sudo cmake ..
-- The C compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test URIPARSER_COMPILER_SUPPORTS_VISIBILITY
-- Performing Test URIPARSER_COMPILER_SUPPORTS_VISIBILITY - Success
-- Looking for wprintf
-- Looking for wprintf - found
-- Looking for reallocarray
-- Looking for reallocarray - not found
-- Found GTest: /usr/lib/libgtest.a (Required is at least version "1.8.0")
-- Found Threads: TRUE
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.11") found components: dot doxygen
-- ===========================================================================
--
-- Configuration
-- Build type .............
-- Shared libraries ....... ON
-- Compiler flags
-- C .................... -fvisibility=hidden
-- C++ .................. -fvisibility=hidden
-- Linker flags
-- Executable ...........
-- Module ...............
-- Shared ...............
-- Paths
-- Prefix ............... /usr/local
-- qhelpgenerator .......
--
-- Features
-- Code for char * ...... ON
-- Code for wchar_t * ... ON
-- Tools ................ ON
-- Test suite ........... ON
-- Documentation ........ ON
--
-- Continue with
-- make
-- make test
-- sudo make install
--
-- ===========================================================================
-- Configuring done
-- Generating done
-- Build files have been written to: /home/git_download/uriparser/build
hbg@hbg:/home/git_download/uriparser/build$