zesterer / nilts-old

A game about many things. I don't know what, since most content is randomly generated.
GNU General Public License v3.0
3 stars 0 forks source link

Failed to compile #2

Open tpimh opened 9 years ago

tpimh commented 9 years ago

In order to compile, I took dynamiclist.vala from vulcan repo and put it under src. Then changed the compilation script like this:

diff --git a/cmd_to_compile.sh b/cmd_to_compile.sh
old mode 100755
new mode 100644
index a3dbc70..bfe6ebb
--- a/cmd_to_compile.sh
+++ b/cmd_to_compile.sh
@@ -27,6 +27,7 @@ src/Data/nmlparser.vala \
 src/Data/modloader.vala \
 src/Data/mods.vala \
 src/consts.vala \
+src/dynamiclist.vala \
 -C

 #Optional! Add:
@@ -60,6 +61,7 @@ src/Data/nmlparser.c \
 src/Data/modloader.c \
 src/Data/mods.c \
 src/consts.c \
+src/dynamiclist.c \
  -Ilibraries/CSFML-2.1/include -Ilibraries/gee/include -Ilibraries/glib2/include

 #3)
@@ -89,6 +91,7 @@ nmlparser.o \
 modloader.o \
 mods.o \
 consts.o \
+dynamiclist.o \
 -lgee-0.8 -lgobject-2.0 -lglib-2.0 -lgio-2.0 -Llibraries/gee/lib -Llibraries/shared-lib -lcsfml-window -lcsfml-graphics -lcsfml-system -lcsfml-audio -lcsfml-network -lm \
 -fsanitize=address

Now it compiles.

zesterer commented 9 years ago

Yeah... I wrote this before I realised what a makefile was :D My new projects use either a makefile or cmake.