forked from mirrors/principia
Building on Linux working again
This commit is contained in:
parent
230bfa1ee5
commit
73747c9d6c
5 changed files with 20 additions and 4 deletions
20
README.md
20
README.md
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
0
build-linux/autogen.sh
Normal file → Executable file
0
build-linux/go
Normal file → Executable file
0
build-linux/go
Normal file → Executable file
|
|
@ -1 +0,0 @@
|
|||
../
|
||||
1
src/tms/backends/linux/tms/backend
Symbolic link
1
src/tms/backends/linux/tms/backend
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../
|
||||
Loading…
Add table
Add a link
Reference in a new issue