I tried to install doxygen on wsl, ubuntu 20.04 LTS,
Follow https://www.doxygen.nl/download.html,
in cmake -G "Unix Makefiles" ..
, I got
CMake Error at /home/user/intel/oneapi/intelpython/python3.7/lib/python3.7/site-packages/cmake/data/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Iconv (missing: ICONV_COMPILES)
Call Stack (most recent call first):
/home/user/intel/oneapi/intelpython/python3.7/lib/python3.7/site-packages/cmake/data/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
cmake/FindIconv.cmake:87 (find_package_handle_standard_args)
CMakeLists.txt:124 (find_package)
-- Configuring incomplete, errors occurred!
I tried sudo apt-get Iconv
, leads to E: Invalid operation Iconv
. Here https://github.com/doxygen/doxygen/issues/6248, some one sugguests pkg search libiconv
, but I am not sure if pkg
is for ubuntu.
CodePudding user response:
sudo apt install doxygen
works.