Project scenario:
Compiling powervr SDK
Problem Description:
In the process of cmake powervr SDK, the error message is as follows:
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find X11 (missing: X11_X11_INCLUDE_PATH X11_X11_LIB)
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.16/Modules/FindX11.cmake:366 (find_package_handle_standard_args)
framework/PVRShell/CMakeLists.txt:92 (find_package)
-- Configuring incomplete, errors occurred!
See also "/mnt/f/CG21S/Native_SDK-R21.1-v5.7/build/CMakeFiles/CMakeOutput.log".
See also "/mnt/f/CG21S/Native_SDK-R21.1-v5.7/build/CMakeFiles/CMakeError.log
Cause analysis:
Search for could not find X11 (missing: X11)_ X11_ INCLUDE_ PATH X11_ X11_ The following blog posts were obtained:
in this study, we found that https://blog.csdn.net/quantum7/article/details/93484972
Indicates that xtest. H is missing
Solution:
After testing, the following codes are valid:
sudo apt-get install libx11-dev libxext-dev libxrender-dev libxtst-dev libxt-dev
Read More:
- [Solved] ORB_SLAM3 Compile Error: opencv4.0 not found four
- [How to Fix]Unable to find the requested Boost libraries
- [Solved] Cmake compile opencv open-source project Error: but it set OpenCV_FOUND to FALSE so package “OpenCV” is considered to be…
- [Solved] Failed to find glog – Could not find glog include directory, set…
- Cmake Error The C compiler identification is GNU 7.5.0 — The CXX compiler identification is unknown
- [Solved] ROS Error: Could NOT find move_base_msgs
- Clion new method shows undefined reference to solution
- Cmake compile cocos2d-x error [How to Solve]
- [Solved] A-LOAM Ceres Compile Error: error: ‘integer_sequence’ is not a member of ‘std‘
- [Solved] Mac Cmake Complie openmp Error: fatal error: ‘omp.h‘ file not found
- How to Solve Ceres library Error when compiling A-LOAM
- [Solved] Could not find a package configuration file provided by “moveit_core“
- [Solved] CMake Error: Error: generator : Unix Makefiles
- [Solved] cmake: symbol lookup error: cmake: undefined symbol: _ZN4Json5ValueC1ERKSs
- Android: How to Solve libuv Compile Error
- [Solved] error adding symbols: File in wrong format collect2: error: ld returned 1 exit status
- [Solved] CMake Error: Could not create named generator Visual Studio 16 2019 -A Win64
- [Solved] error: (-2:Unspecified error) The function is not implemented. Rebuild the library with Windows,
- [Solved] CMake Error: Could not create named generator Visual Studio 16 2019
- How to Solve Msys2/mingw64 Run cmake GUI Error