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] Rocketmq console connect to x.x.x.x:10911 failed Error
- [Solved] Leetcode Error: AddressSanitizer: SEGV on unknown address 0x55eb765425b8 (pc 0x55eb76542b86 bp 0x7ffd1bd2
- AAPT: error: attribute cardBackgroundColor (aka com.x.x:cardBackgroundColor) not found.
- QT Error: ‘C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\link.exe‘ failed
- How to Solve hadoop3.x.x sh start-dfs.sh Startup Error
- package golang.org/x/net/XXX: unrecognized import path “golang.org/x/net/xxx“…
- ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.23‘ not found
- [Solved] Error in inherits(x, “theme”): argument “e2” is missing, with no default
- [Solved] Mac Runjmeter WARNING: package sun.awt.X11 not in java.desktop
- [Solved] Fabric 2.x: error starting container: API error (404): network_test not found
- Tencent cloud container easyexcel export excel error NoClassDefFoundError: could not initialize class sun.awt.x11fontmanager
- [Solved] C++ Error: Undefined symbols for architecture x86_64:
- How to Fix the printer error 0x00000709 on Windows
- [Solved] Error 4 opening dom ASM/Self in 0x8283c00
- [Solved] Mybatis Plus 3.X injection logic delete logicsqlinjector error
- “//./root/CIMV2” because of error 0x80041003. Events cannot be delivered through this filter until t…
- Memory write error at 0x100000. MMU section translation fault [How to Solve]
- [Solved] Android x relies on AAR errors: Failed to transform…
- [Solved] Error response from daemon: Get “*“: x509: certificate signed by unknown authority
- [Solved] Flink jdbc Error: Access Denied for user ‘root‘@‘10.0.0.x‘ (using password: YES)