Page 1 of 1

Trying to compile the latest SVN version - no success

Posted: Tue May 22, 2012 10:10 am
by MisiuPysiu
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:

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",
	}
and so on. Rest is not changed.
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 
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?

Re: Trying to compile the latest SVN version - no success

Posted: Tue Jun 19, 2012 3:12 pm
by dhammond75
Hi there,

having the same problem here... any suggestions??