Hi Guys,
I am a new beginner of Rust, I have run a little example of orbtk, But I have got the following errors:
Caused by:
process didn't exit successfully: `/home/WorkZone/workspace/projects/RustProject/orbtk_demo/target/debug/build/sdl2-sys-5d6096de414466ed/build-script-build` (exit code: 101)
--- stdout
running: "cmake" "/home/WorkZone/workspace/projects/RustProject/orbtk_demo/target/debug/build/sdl2-sys-668e2cb3362c75f8/out/SDL2-2.0.12" "-DSDL_SHARED=OFF" "-DSDL_STATIC=ON" "-DCMAKE_INSTALL_PREFIX=/home/WorkZone/workspace/projects/RustProject/orbtk_demo/target/debug/build/sdl2-sys-668e2cb3362c75f8/out" "-DCMAKE_C_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/opt/Tools/GNU/gcc-9.3.0/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=release"
-- dynamic libjack -> libjack.so.0
-- dynamic libpulse-simple -> libpulse-simple.so.0
-- dynamic libesd -> libesd.so.0
-- Checking for modules 'bcm_host;brcmegl'
-- No package 'bcm_host' found
-- No package 'brcmegl' found
-- dynamic libX11 -> libX11.so.6
-- dynamic libXext -> libXext.so.6
-- dynamic libXcursor -> libXcursor.so.1
-- dynamic libXinerama -> libXinerama.so.1
-- dynamic libXi -> libXi.so.6
-- dynamic libXrandr -> libXrandr.so.2
-- dynamic libXrender -> libXrender.so.1
-- dynamic libXss -> libXss.so.1
-- dynamic libXxf86vm -> libXxf86vm.so.1
-- Configuring incomplete, errors occurred!
See also "/home/WorkZone/workspace/projects/RustProject/orbtk_demo/target/debug/build/sdl2-sys-668e2cb3362c75f8/out/build/CMakeFiles/CMakeOutput.log".
See also "/home/WorkZone/workspace/projects/RustProject/orbtk_demo/target/debug/build/sdl2-sys-668e2cb3362c75f8/out/build/CMakeFiles/CMakeError.log".
--- stderr
CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
CMake Error at cmake/macros.cmake:28 (message):
*** ERROR: Missing Xext.h, maybe you need to install the libxext-dev
package?
Call Stack (most recent call first):
cmake/sdlchecks.cmake:413 (message_error)
CMakeLists.txt:1128 (CheckX11)
thread 'main' panicked at '
command did not execute successfully, got: exit code: 1
I have already installed libXext by yum, but the error is still there.
Please give me help. Thanks!