编译时报错如下:
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Using X11 for window creation
CMake Error at /usr/local/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)
Call Stack (most recent call first):
/usr/local/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/local/share/cmake-3.22/Modules/FindX11.cmake:457 (find_package_handle_standard_args)
CMakeLists.txt:208 (find_package)
解决方案:
sudo apt-get install libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev
版权声明:本文为qq_35037684原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。