Trying to compile the latest SVN version - no success
Posted: Tue May 22, 2012 10:10 am
Hi Everybody,
Maybe someone can help here:
I'm trying to compile the latest SVN version of TOME. I did all the steps described in the wiki.
I configured the premake4.lua file following:
and so on. Rest is not changed.
When I try to make the build (make -e CC=gcc) i get the following error message:
When I try to compile the whole thing with error ignoring (option -i) i get the error message for every file.
What seems to be the problem here?
Maybe someone can help here:
I'm trying to compile the latest SVN version of TOME. I did all the steps described in the wiki.
I configured the premake4.lua file following:
Code: Select all
includedirs {
"src",
"src/luasocket",
"src/fov",
"src/expat",
"src/lxp",
"src/libtcod_import",
"src/utf8proc",
"src/physfs",
"src/physfs/zlib123",
"src/bzip2",
}
if _OPTIONS.lua == "default" then includedirs{"src/lua"}
elseif _OPTIONS.lua == "jitx86" then includedirs{"src/luajit", "src/dynasm",}
elseif _OPTIONS.lua == "jit2" then includedirs{"src/luajit2/src", "src/luajit2/dynasm",}
end
configuration "windows"
libdirs {
"/C/MinGW2/include/vorbis",
"/C/MinGW2/include",
"/C/MinGW2/lib",
}
includedirs {
"/C/MinGW2/include/SDL",
"/C/MinGW2/include/GL",
"/C/MinGW2/include/SDL-2.0/",
"/C/MinGW2/include/SDL-2.0/SDL",
"/C/MinGW2/include/SDL-2.0/SDL/include",
"/C/MinGW2/include",
}
When I try to make the build (make -e CC=gcc) i get the following error message:
Code: Select all
Building physfs (debug)
physfs.c
make[1]: *** [../obj/Debug/physfs/physfs.o] Error 1
make: *** [physfs] Error 2
What seems to be the problem here?