Building on Linux working again

This commit is contained in:
Emil Romanus 2022-08-06 18:53:29 +02:00
commit 73747c9d6c
5 changed files with 20 additions and 4 deletions

View file

@ -20,7 +20,7 @@ https://www.twitter.com/Bithack
Compiling and running
--------
Building on Windows
## Building on Windows
- Install MSYS2 64bit
@ -43,7 +43,23 @@ $ ./go
Clean with:
$ make clean
See the build-linux directory for Linux instructions. More info coming soon.
## Building on Linux (Debian)
$ sudo apt-get install automake libgtk2.0-dev libgl-dev libxss-dev libxxf86vm-dev libasound2-dev libudev-dev valgrind
$ cd build-linux;
$ ./go
If everything goes well, Principia will start but then freeze at the loading screen due some uninitialize directories. Terminate Principia by replying 'y' in the gdb prompt in the terminal, then in the same terminal, go up a directory and launch it from the parent directory instead:
$ cd ..
$ build-linux/apparatus2
(this bug will be fixed in short)
License

View file

@ -26,8 +26,8 @@ apparatus2_CFLAGS = ${GLOBAL_FLAGS} -std=gnu99 -DFT2_BUILD_LIBRARY\
-DLOAD_PCX -DLOAD_PNM -DLOAD_TGA -DLOAD_XCF -DLOAD_XPM \
-DLOAD_XV
apparatus2_CXXFLAGS = ${GLOBAL_FLAGS}
apparatus2_LDADD = -lz -ldl -lGL -lpthread -lX11 -lXi -lrt
apparatus2_LDFLAGS = ${GTK_LIBS}
apparatus2_LDADD = -lz -ldl -lGL -lpthread -lX11 -lXi -lrt ${GTK_LIBS}
apparatus2_LDFLAGS =
apparatus2_SOURCES = \
../src/jpeg/jaricom.c \

0
build-linux/autogen.sh Normal file → Executable file
View file

0
build-linux/go Normal file → Executable file
View file

View file

@ -1 +0,0 @@
../

View file

@ -0,0 +1 @@
../