在 wsl 上安装 doxygen 找不到 Iconv(缺少:ICONV_COMPILES)
install doxygen on wsl got Could NOT find Iconv (missing: ICONV_COMPILES)
我尝试在 wsl、ubuntu 20.04 LTS、
上安装 doxygen
关注https://www.doxygen.nl/download.html,
在 cmake -G "Unix Makefiles" ..
中,我得到了
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!
我尝试了 sudo apt-get Iconv
,导致 E: Invalid operation Iconv
。这里 https://github.com/doxygen/doxygen/issues/6248,有人建议 pkg search libiconv
,但我不确定 pkg
是否适用于 ubuntu。
sudo apt install doxygen
有效。
我尝试在 wsl、ubuntu 20.04 LTS、
上安装 doxygen关注https://www.doxygen.nl/download.html,
在 cmake -G "Unix Makefiles" ..
中,我得到了
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!
我尝试了 sudo apt-get Iconv
,导致 E: Invalid operation Iconv
。这里 https://github.com/doxygen/doxygen/issues/6248,有人建议 pkg search libiconv
,但我不确定 pkg
是否适用于 ubuntu。
sudo apt install doxygen
有效。