Trouble building ArmorPaint - Linux #1102
Unanswered
KeyboardKey
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi folks, love what you're doing here, great work. Thanks.
I'm on Ubuntu 18.04. I've recursively cloned with git, and installed all listed dependencies.
When I get to here:
node Kinc/make -g opengl --compiler clang --compile
I get this:
Using Kinc (0b34da62) from /home/xxxxx/armorpaint/armorcore/Kinc kincfile found. Creating Linux project files. Compiling shader 1 of 10 (g1.frag). Compiling shader 2 of 10 (g1.vert). Compiling shader 3 of 10 (painter-colored.frag). Compiling shader 4 of 10 (painter-colored.vert). Compiling shader 5 of 10 (painter-image.frag). Compiling shader 6 of 10 (painter-image.vert). Compiling shader 7 of 10 (painter-text.frag). Compiling shader 8 of 10 (painter-text.vert). Compiling shader 9 of 10 (painter-video.frag). Compiling shader 10 of 10 (painter-video.vert). Compiling... clang++ -O2 -I./ -I../../v8/include -I../../Libraries/nfd/include -I../../../../../../usr/include/gtk-3.0 -I../../../../../../usr/include/glib-2.0 -I../../../../../../usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../../../../../usr/include/pango-1.0 -I../../../../../../usr/include/cairo -I../../../../../../usr/include/gdk-pixbuf-2.0 -I../../../../../../usr/include/atk-1.0 -I../../../../../../usr/lib64/glib-2.0/include -I../../../../../../usr/lib/glib-2.0/include -I../../../../../../usr/include/harfbuzz -I../../Libraries/tinydir/include -I../../Libraries/zlib -I../../Libraries/stb -I../../Kinc/Sources -I../../Kinc/Backends/System/Linux/Sources -I../../Kinc/Backends/System/POSIX/Sources -I../../Kinc/Backends/Graphics4/OpenGL/Sources -I../../Kinc/Backends/Graphics5/G5onG4/Sources -DKINC_IMAGE_STANDARD_MALLOC -DWITH_NFD -DWITH_TINYDIR -DWITH_ZLIB -DWITH_STB_IMAGE_WRITE -DKORE_G1 -DKORE_G2 -DKORE_G3 -DKORE_A1 -DKORE_A2 -DKORE_LZ4X -DKORE_LINUX -DKORE_OPENGL -DKORE_POSIX -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DKORE_G4 -DKORE_G5 -DKORE_G5ONG4 -c ../../Sources/main.cpp -o main.o clang++ -O2 -I./ -I../../v8/include -I../../Libraries/nfd/include -I../../../../../../usr/include/gtk-3.0 -I../../../../../../usr/include/glib-2.0 -I../../../../../../usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../../../../../usr/include/pango-1.0 -I../../../../../../usr/include/cairo -I../../../../../../usr/include/gdk-pixbuf-2.0 -I../../../../../../usr/include/atk-1.0 -I../../../../../../usr/lib64/glib-2.0/include -I../../../../../../usr/lib/glib-2.0/include -I../../../../../../usr/include/harfbuzz -I../../Libraries/tinydir/include -I../../Libraries/zlib -I../../Libraries/stb -I../../Kinc/Sources -I../../Kinc/Backends/System/Linux/Sources -I../../Kinc/Backends/System/POSIX/Sources -I../../Kinc/Backends/Graphics4/OpenGL/Sources -I../../Kinc/Backends/Graphics5/G5onG4/Sources -DKINC_IMAGE_STANDARD_MALLOC -DWITH_NFD -DWITH_TINYDIR -DWITH_ZLIB -DWITH_STB_IMAGE_WRITE -DKORE_G1 -DKORE_G2 -DKORE_G3 -DKORE_A1 -DKORE_A2 -DKORE_LZ4X -DKORE_LINUX -DKORE_OPENGL -DKORE_POSIX -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DKORE_G4 -DKORE_G5 -DKORE_G5ONG4 -c ../../Kinc/Backends/System/Linux/Sources/kinc/backend/system.cpp -o system.o clang -O2 -I./ -I../../v8/include -I../../Libraries/nfd/include -I../../../../../../usr/include/gtk-3.0 -I../../../../../../usr/include/glib-2.0 -I../../../../../../usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../../../../../usr/include/pango-1.0 -I../../../../../../usr/include/cairo -I../../../../../../usr/include/gdk-pixbuf-2.0 -I../../../../../../usr/include/atk-1.0 -I../../../../../../usr/lib64/glib-2.0/include -I../../../../../../usr/lib/glib-2.0/include -I../../../../../../usr/include/harfbuzz -I../../Libraries/tinydir/include -I../../Libraries/zlib -I../../Libraries/stb -I../../Kinc/Sources -I../../Kinc/Backends/System/Linux/Sources -I../../Kinc/Backends/System/POSIX/Sources -I../../Kinc/Backends/Graphics4/OpenGL/Sources -I../../Kinc/Backends/Graphics5/G5onG4/Sources -DKINC_IMAGE_STANDARD_MALLOC -DWITH_NFD -DWITH_TINYDIR -DWITH_ZLIB -DWITH_STB_IMAGE_WRITE -DKORE_G1 -DKORE_G2 -DKORE_G3 -DKORE_A1 -DKORE_A2 -DKORE_LZ4X -DKORE_LINUX -DKORE_OPENGL -DKORE_POSIX -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DKORE_G4 -DKORE_G5 -DKORE_G5ONG4 -std=c99 -c ../../Kinc/Backends/System/POSIX/Sources/kinc/backend/mutex.c -o mutex.o clang -O2 -I./ -I../../v8/include -I../../Libraries/nfd/include -I../../../../../../usr/include/gtk-3.0 -I../../../../../../usr/include/glib-2.0 -I../../../../../../usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../../../../../usr/include/pango-1.0 -I../../../../../../usr/include/cairo -I../../../../../../usr/include/gdk-pixbuf-2.0 -I../../../../../../usr/include/atk-1.0 -I../../../../../../usr/lib64/glib-2.0/include -I../../../../../../usr/lib/glib-2.0/include -I../../../../../../usr/include/harfbuzz -I../../Libraries/tinydir/include -I../../Libraries/zlib -I../../Libraries/stb -I../../Kinc/Sources -I../../Kinc/Backends/System/Linux/Sources -I../../Kinc/Backends/System/POSIX/Sources -I../../Kinc/Backends/Graphics4/OpenGL/Sources -I../../Kinc/Backends/Graphics5/G5onG4/Sources -DKINC_IMAGE_STANDARD_MALLOC -DWITH_NFD -DWITH_TINYDIR -DWITH_ZLIB -DWITH_STB_IMAGE_WRITE -DKORE_G1 -DKORE_G2 -DKORE_G3 -DKORE_A1 -DKORE_A2 -DKORE_LZ4X -DKORE_LINUX -DKORE_OPENGL -DKORE_POSIX -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DKORE_G4 -DKORE_G5 -DKORE_G5ONG4 -std=c99 -c ../../Kinc/Backends/System/POSIX/Sources/kinc/backend/semaphore.c -o semaphore.o clang -O2 -I./ -I../../v8/include -I../../Libraries/nfd/include -I../../../../../../usr/include/gtk-3.0 -I../../../../../../usr/include/glib-2.0 -I../../../../../../usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../../../../../usr/include/pango-1.0 -I../../../../../../usr/include/cairo -I../../../../../../usr/include/gdk-pixbuf-2.0 -I../../../../../../usr/include/atk-1.0 -I../../../../../../usr/lib64/glib-2.0/include -I../../../../../../usr/lib/glib-2.0/include -I../../../../../../usr/include/harfbuzz -I../../Libraries/tinydir/include -I../../Libraries/zlib -I../../Libraries/stb -I../../Kinc/Sources -I../../Kinc/Backends/System/Linux/Sources -I../../Kinc/Backends/System/POSIX/Sources -I../../Kinc/Backends/Graphics4/OpenGL/Sources -I../../Kinc/Backends/Graphics5/G5onG4/Sources -DKINC_IMAGE_STANDARD_MALLOC -DWITH_NFD -DWITH_TINYDIR -DWITH_ZLIB -DWITH_STB_IMAGE_WRITE -DKORE_G1 -DKORE_G2 -DKORE_G3 -DKORE_A1 -DKORE_A2 -DKORE_LZ4X -DKORE_LINUX -DKORE_OPENGL -DKORE_POSIX -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DKORE_G4 -DKORE_G5 -DKORE_G5ONG4 -std=c99 -c ../../Kinc/Backends/System/POSIX/Sources/kinc/backend/thread.c -o thread.o clang -O2 -I./ -I../../v8/include -I../../Libraries/nfd/include -I../../../../../../usr/include/gtk-3.0 -I../../../../../../usr/include/glib-2.0 -I../../../../../../usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../../../../../usr/include/pango-1.0 -I../../../../../../usr/include/cairo -I../../../../../../usr/include/gdk-pixbuf-2.0 -I../../../../../../usr/include/atk-1.0 -I../../../../../../usr/lib64/glib-2.0/include -I../../../../../../usr/lib/glib-2.0/include -I../../../../../../usr/include/harfbuzz -I../../Libraries/tinydir/include -I../../Libraries/zlib -I../../Libraries/stb -I../../Kinc/Sources -I../../Kinc/Backends/System/Linux/Sources -I../../Kinc/Backends/System/POSIX/Sources -I../../Kinc/Backends/Graphics4/OpenGL/Sources -I../../Kinc/Backends/Graphics5/G5onG4/Sources -DKINC_IMAGE_STANDARD_MALLOC -DWITH_NFD -DWITH_TINYDIR -DWITH_ZLIB -DWITH_STB_IMAGE_WRITE -DKORE_G1 -DKORE_G2 -DKORE_G3 -DKORE_A1 -DKORE_A2 -DKORE_LZ4X -DKORE_LINUX -DKORE_OPENGL -DKORE_POSIX -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DKORE_G4 -DKORE_G5 -DKORE_G5ONG4 -std=c99 -c ../../Kinc/Backends/System/POSIX/Sources/kinc/backend/threadlocal.c -o threadlocal.o ../../Kinc/Backends/System/Linux/Sources/kinc/backend/system.cpp:16:10: fatal error: 'cstring' file not found #include <cstring> ^~~~~~~~~ ../../Kinc/Backends/System/POSIX/Sources/kinc/backend/thread.c:43:65: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] int ret = pthread_create(&t->impl.pthread, &attr, &ThreadProc, (void*)start_index); ^ clang -O2 -I./ -I../../v8/include -I../../Libraries/nfd/include -I../../../../../../usr/include/gtk-3.0 -I../../../../../../usr/include/glib-2.0 -I../../../../../../usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../../../../../usr/include/pango-1.0 -I../../../../../../usr/include/cairo -I../../../../../../usr/include/gdk-pixbuf-2.0 -I../../../../../../usr/include/atk-1.0 -I../../../../../../usr/lib64/glib-2.0/include -I../../../../../../usr/lib/glib-2.0/include -I../../../../../../usr/include/harfbuzz -I../../Libraries/tinydir/include -I../../Libraries/zlib -I../../Libraries/stb -I../../Kinc/Sources -I../../Kinc/Backends/System/Linux/Sources -I../../Kinc/Backends/System/POSIX/Sources -I../../Kinc/Backends/Graphics4/OpenGL/Sources -I../../Kinc/Backends/Graphics5/G5onG4/Sources -DKINC_IMAGE_STANDARD_MALLOC -DWITH_NFD -DWITH_TINYDIR -DWITH_ZLIB -DWITH_STB_IMAGE_WRITE -DKORE_G1 -DKORE_G2 -DKORE_G3 -DKORE_A1 -DKORE_A2 -DKORE_LZ4X -DKORE_LINUX -DKORE_OPENGL -DKORE_POSIX -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DKORE_G4 -DKORE_G5 -DKORE_G5ONG4 -std=c99 -c ../../Kinc/Sources/kinc/color.c -o color.o 1 warning generated. clang -O2 -I./ -I../../v8/include -I../../Libraries/nfd/include -I../../../../../../usr/include/gtk-3.0 -I../../../../../../usr/include/glib-2.0 -I../../../../../../usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../../../../../usr/include/pango-1.0 -I../../../../../../usr/include/cairo -I../../../../../../usr/include/gdk-pixbuf-2.0 -I../../../../../../usr/include/atk-1.0 -I../../../../../../usr/lib64/glib-2.0/include -I../../../../../../usr/lib/glib-2.0/include -I../../../../../../usr/include/harfbuzz -I../../Libraries/tinydir/include -I../../Libraries/zlib -I../../Libraries/stb -I../../Kinc/Sources -I../../Kinc/Backends/System/Linux/Sources -I../../Kinc/Backends/System/POSIX/Sources -I../../Kinc/Backends/Graphics4/OpenGL/Sources -I../../Kinc/Backends/Graphics5/G5onG4/Sources -DKINC_IMAGE_STANDARD_MALLOC -DWITH_NFD -DWITH_TINYDIR -DWITH_ZLIB -DWITH_STB_IMAGE_WRITE -DKORE_G1 -DKORE_G2 -DKORE_G3 -DKORE_A1 -DKORE_A2 -DKORE_LZ4X -DKORE_LINUX -DKORE_OPENGL -DKORE_POSIX -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DKORE_G4 -DKORE_G5 -DKORE_G5ONG4 -std=c99 -c ../../Kinc/Sources/kinc/error.c -o error.o clang -O2 -I./ -I../../v8/include -I../../Libraries/nfd/include -I../../../../../../usr/include/gtk-3.0 -I../../../../../../usr/include/glib-2.0 -I../../../../../../usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../../../../../usr/include/pango-1.0 -I../../../../../../usr/include/cairo -I../../../../../../usr/include/gdk-pixbuf-2.0 -I../../../../../../usr/include/atk-1.0 -I../../../../../../usr/lib64/glib-2.0/include -I../../../../../../usr/lib/glib-2.0/include -I../../../../../../usr/include/harfbuzz -I../../Libraries/tinydir/include -I../../Libraries/zlib -I../../Libraries/stb -I../../Kinc/Sources -I../../Kinc/Backends/System/Linux/Sources -I../../Kinc/Backends/System/POSIX/Sources -I../../Kinc/Backends/Graphics4/OpenGL/Sources -I../../Kinc/Backends/Graphics5/G5onG4/Sources -DKINC_IMAGE_STANDARD_MALLOC -DWITH_NFD -DWITH_TINYDIR -DWITH_ZLIB -DWITH_STB_IMAGE_WRITE -DKORE_G1 -DKORE_G2 -DKORE_G3 -DKORE_A1 -DKORE_A2 -DKORE_LZ4X -DKORE_LINUX -DKORE_OPENGL -DKORE_POSIX -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DKORE_G4 -DKORE_G5 -DKORE_G5ONG4 -std=c99 -c ../../Kinc/Sources/kinc/image.c -o image.o clang -O2 -I./ -I../../v8/include -I../../Libraries/nfd/include -I../../../../../../usr/include/gtk-3.0 -I../../../../../../usr/include/glib-2.0 -I../../../../../../usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../../../../../usr/include/pango-1.0 -I../../../../../../usr/include/cairo -I../../../../../../usr/include/gdk-pixbuf-2.0 -I../../../../../../usr/include/atk-1.0 -I../../../../../../usr/lib64/glib-2.0/include -I../../../../../../usr/lib/glib-2.0/include -I../../../../../../usr/include/harfbuzz -I../../Libraries/tinydir/include -I../../Libraries/zlib -I../../Libraries/stb -I../../Kinc/Sources -I../../Kinc/Backends/System/Linux/Sources -I../../Kinc/Backends/System/POSIX/Sources -I../../Kinc/Backends/Graphics4/OpenGL/Sources -I../../Kinc/Backends/Graphics5/G5onG4/Sources -DKINC_IMAGE_STANDARD_MALLOC -DWITH_NFD -DWITH_TINYDIR -DWITH_ZLIB -DWITH_STB_IMAGE_WRITE -DKORE_G1 -DKORE_G2 -DKORE_G3 -DKORE_A1 -DKORE_A2 -DKORE_LZ4X -DKORE_LINUX -DKORE_OPENGL -DKORE_POSIX -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DKORE_G4 -DKORE_G5 -DKORE_G5ONG4 -std=c99 -c ../../Kinc/Sources/kinc/log.c -o log.o clang -O2 -I./ -I../../v8/include -I../../Libraries/nfd/include -I../../../../../../usr/include/gtk-3.0 -I../../../../../../usr/include/glib-2.0 -I../../../../../../usr/lib/x86_64-linux-gnu/glib-2.0/include -I../../../../../../usr/include/pango-1.0 -I../../../../../../usr/include/cairo -I../../../../../../usr/include/gdk-pixbuf-2.0 -I../../../../../../usr/include/atk-1.0 -I../../../../../../usr/lib64/glib-2.0/include -I../../../../../../usr/lib/glib-2.0/include -I../../../../../../usr/include/harfbuzz -I../../Libraries/tinydir/include -I../../Libraries/zlib -I../../Libraries/stb -I../../Kinc/Sources -I../../Kinc/Backends/System/Linux/Sources -I../../Kinc/Backends/System/POSIX/Sources -I../../Kinc/Backends/Graphics4/OpenGL/Sources -I../../Kinc/Backends/Graphics5/G5onG4/Sources -DKINC_IMAGE_STANDARD_MALLOC -DWITH_NFD -DWITH_TINYDIR -DWITH_ZLIB -DWITH_STB_IMAGE_WRITE -DKORE_G1 -DKORE_G2 -DKORE_G3 -DKORE_A1 -DKORE_A2 -DKORE_LZ4X -DKORE_LINUX -DKORE_OPENGL -DKORE_POSIX -D_POSIX_C_SOURCE=200112L -D_XOPEN_SOURCE=600 -DKORE_G4 -DKORE_G5 -DKORE_G5ONG4 -std=c99 -c ../../Kinc/Sources/kinc/system.c -o system_.o 1 error generated. makefile:131: recipe for target 'system.o' failed make: *** [system.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from ../../Sources/main.cpp:35: ../../v8/include/libplatform/libplatform.h:8:10: fatal error: 'memory' file not found #include <memory> ^~~~~~~~ 1 error generated. makefile:50: recipe for target 'main.o' failed make: *** [main.o] Error 1 Build time: 0m 4s Compilation failed.
Any help would be greatly appreciated. Cheers.
Beta Was this translation helpful? Give feedback.
All reactions