AAcat
AAcat
UBUniversal Blue
Created by AAcat on 10/27/2024 in #🛟bazzite-help
Aseprite can't compile
As the title says, I'm unable to compile Aseprite despite following the instructions. When I copy and paste the following:
export CC=clang
export CXX=clang++
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_CXX_FLAGS:STRING=-stdlib=libc++ \
-DCMAKE_EXE_LINKER_FLAGS:STRING=-stdlib=libc++ \
-DLAF_BACKEND=skia \
-DSKIA_DIR=$HOME/deps/skia \
-DSKIA_LIBRARY_DIR=$HOME/deps/skia/out/Release-x64 \
-DSKIA_LIBRARY=$HOME/deps/skia/out/Release-x64/libskia.a \
-G Ninja \
..
export CC=clang
export CXX=clang++
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_CXX_FLAGS:STRING=-stdlib=libc++ \
-DCMAKE_EXE_LINKER_FLAGS:STRING=-stdlib=libc++ \
-DLAF_BACKEND=skia \
-DSKIA_DIR=$HOME/deps/skia \
-DSKIA_LIBRARY_DIR=$HOME/deps/skia/out/Release-x64 \
-DSKIA_LIBRARY=$HOME/deps/skia/out/Release-x64/libskia.a \
-G Ninja \
..
I get the following error message
-- The C compiler identification is Clang 18.1.8
-- The CXX compiler identification is Clang 18.1.8
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler

"/usr/bin/clang"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: '/var/home/AAcat/Programs/aseprite/build/CMakeFiles/CMakeScratch/TryCompile-MpYRfQ'

Run Build Command(s): /usr/bin/ninja-build -v cmTC_9bd72
[1/2] /usr/bin/clang -MD -MT CMakeFiles/cmTC_9bd72.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_9bd72.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_9bd72.dir/testCCompiler.c.o -c /var/home/AAcat/Programs/aseprite/build/CMakeFiles/CMakeScratch/TryCompile-MpYRfQ/testCCompiler.c
[2/2] : && /usr/bin/clang -stdlib=libc++ CMakeFiles/cmTC_9bd72.dir/testCCompiler.c.o -o cmTC_9bd72 && :
FAILED: cmTC_9bd72
: && /usr/bin/clang -stdlib=libc++ CMakeFiles/cmTC_9bd72.dir/testCCompiler.c.o -o cmTC_9bd72 && :
clang: error: unable to execute command: Executable "ld" doesn't exist!
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.





CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:23 (project)


-- Configuring incomplete, errors occurred!
-- The C compiler identification is Clang 18.1.8
-- The CXX compiler identification is Clang 18.1.8
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang - broken
CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler

"/usr/bin/clang"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: '/var/home/AAcat/Programs/aseprite/build/CMakeFiles/CMakeScratch/TryCompile-MpYRfQ'

Run Build Command(s): /usr/bin/ninja-build -v cmTC_9bd72
[1/2] /usr/bin/clang -MD -MT CMakeFiles/cmTC_9bd72.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_9bd72.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_9bd72.dir/testCCompiler.c.o -c /var/home/AAcat/Programs/aseprite/build/CMakeFiles/CMakeScratch/TryCompile-MpYRfQ/testCCompiler.c
[2/2] : && /usr/bin/clang -stdlib=libc++ CMakeFiles/cmTC_9bd72.dir/testCCompiler.c.o -o cmTC_9bd72 && :
FAILED: cmTC_9bd72
: && /usr/bin/clang -stdlib=libc++ CMakeFiles/cmTC_9bd72.dir/testCCompiler.c.o -o cmTC_9bd72 && :
clang: error: unable to execute command: Executable "ld" doesn't exist!
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.





CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:23 (project)


-- Configuring incomplete, errors occurred!
Anyone know what this means and the solution to it?
55 replies
UBUniversal Blue
Created by AAcat on 6/1/2024 in #🛟bazzite-help
installing openjdk
Im new to this operating system. Prior I just used Manjaro and LMDE for a couple years, witch both have some kind of jdk pre installed or something. Im trying to install openjdk so i can us it with VScode but I'm unfamiliar with this OS and dont really see anyone else mentioning how to install openjdk here or online. I installed code - OSS from the "Software" app. running Gnome on framework 13 laptop
13 replies