You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-03-14T13:28:33.950491Z ERROR rust_analyzer::main_loop: FetchBuildDataError:
error: failed to run custom build command for turbojpeg-sys v1.0.0
note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
The text was updated successfully, but these errors were encountered:
error: failed to run custom build command for turbojpeg-sys v1.0.0
Caused by:
process didn't exit successfully: D:\pract\rust\smoljpg\target\release\build\turbojpeg-sys-96fa558c91383b88\build-script-build (exit code: 101)
--- stdout
...
running: "cmake" "C:\\Users\\$home\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\turbojpeg-sys-1.0.0\\libjpeg-turbo" "-G" "Visual Studio 17 2022" "-Thost=x64" "-Ax64" "-DCMAKE_INSTALL_DEFAULT_LIBDIR=lib" "-DCMAKE_INSTALL_PREFIX=D:\\pract\\rust\\smoljpg\\target\\release\\build\\turbojpeg-sys-878d903d27b5b47a\\out" "-DCMAKE_C_FLAGS= -nologo -MD -Brepro" "-DCMAKE_C_FLAGS_RELEASE= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS= -nologo -MD -Brepro" "-DCMAKE_CXX_FLAGS_RELEASE= -nologo -MD -Brepro" "-DCMAKE_ASM_FLAGS= -nologo -MD -Brepro" "-DCMAKE_ASM_FLAGS_RELEASE= -nologo -MD -Brepro" "-DCMAKE_BUILD_TYPE=Release" "-DENABLE_SHARED=0" "-DENABLE_STATIC=1" "-DREQUIRE_SIMD=ON"
--- stderr
thread 'main' panicked at C:\Users\$home\.cargo\registry\src\index.crates.io-6f17d22bba15001f\cmake-0.1.50\src\lib.rs:1098:5:
failed to execute command: program not found
is cmake not installed?
build script failed, must exit now
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
Issue was related to not having cmake installed in order for turbojpeg-sys to be linked to the C library libturbojpeg properly.
See turbojpeg's requirements section.
The text was updated successfully, but these errors were encountered: