redox-os/orbtk

I can't compile the showcase example and installing libxext-dev diden't fix the error.

Closed this issue · 2 comments

Describe the bug
I can't compile the showcase example and installing libxext-dev diden't fix the error.

To Reproduce
Steps to reproduce the behavior:

  1. Git clone the orbtk repo
  2. Run cargo run --example showcase --release in wsl debian
  3. Profit!!!!

Expected behavior
I wanted to compile the showcase example

Screenshots

Desktop (please complete the following information):

  • OS: WSL debian windows 10
  • Browser ¿?
  • Version ¿?

Smartphone (please complete the following information):

  • Device: ¿?
  • OS: ¿?
  • Browser ¿?
  • Version ¿?

Additional context
This is the log of cargo when i tried to run the example

error: failed to run custom build command for `sdl2-sys v0.34.5`

Caused by:
  process didn't exit successfully: `/home/uwu/orbtk/target/release/build/sdl2-sys-eac5ee27e416feb0/build-script-build` (exit status: 101)
  --- stdout
  running: "cmake" "/home/uwu/orbtk/target/release/build/sdl2-sys-9a5c8f96adbc95a3/out/SDL2-2.0.14" "-DSDL_SHARED=OFF" "-DSDL_STATIC=ON" "-DCMAKE_INSTALL_PREFIX=/home/uwu/orbtk/target/release/build/sdl2-sys-9a5c8f96adbc95a3/out" "-DCMAKE_C_FLAGS= -D__FLTUSED__ -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_C_COMPILER=/usr/bin/cc" "-DCMAKE_CXX_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_CXX_COMPILER=/usr/bin/c++" "-DCMAKE_ASM_FLAGS= -ffunction-sections -fdata-sections -fPIC -m64" "-DCMAKE_ASM_COMPILER=/usr/bin/cc" "-DCMAKE_BUILD_TYPE=release"
  -- Checking for module 'jack'
  --   No package 'jack' found
  -- Checking for module 'libpulse-simple'
  --   No package 'libpulse-simple' found
  -- Checking for module 'esound'
  --   No package 'esound' found
  -- 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 libXrender -> libXrender.so.1
  -- Configuring incomplete, errors occurred!
  See also "/home/uwu/orbtk/target/release/build/sdl2-sys-9a5c8f96adbc95a3/out/build/CMakeFiles/CMakeOutput.log".
  See also "/home/uwu/orbtk/target/release/build/sdl2-sys-9a5c8f96adbc95a3/out/build/CMakeFiles/CMakeError.log".

  --- stderr
  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:1177 (CheckX11)


  thread 'main' panicked at '
  command did not execute successfully, got: exit status: 1

  build script failed, must exit now', /home/uwu/.cargo/registry/src/github.com-1ecc6299db9ec823/cmake-0.1.45/src/lib.rs:894:5
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Should be solved with given development branch.

@seamasteruwu
Would like to close this issue. Can you confirm that it is working in 0.3.1-alpha4 or develop ?