2008/6/23 Andreas Røsdal <[EMAIL PROTECTED]>: > Hello! > > I'm getting a compilation error when compiling Freeciv from SVN trunk. > I think this has been introduced into SVN in the last few days. > > > gcc -DHAVE_CONFIG_H -I. -I../.. -I../../utility -I../../common > -I../../server -I../../dependencies/lua-5.1/src > -I../../dependencies/toluaxx/include > -DLOCALEDIR="\"/usr/local/share/locale\"" > -DDEFAULT_DATA_PATH="\".:data:~/.freeciv:/usr/local/share/freeciv\"" > -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes > -Wmissing-declarations -pthread -g -O2 -MT api_gen.o -MD -MP -MF > .deps/api_gen.Tpo -c -o api_gen.o api_gen.c > api_gen.c:11:19: error: tolua.h: Ingen slik fil eller filkatalog
api_gen.c tries to include tolua.h? Short answer: touch server/scripting/api.pkg Long answer: api_gen.c must be regenerated by toluaxx, and after that it's no longer going to include tolua.h but toluaxx.h. Header of api_gen.[ch] tell when they were last regenerated nad by which tool. Material for FAQ? - ML _______________________________________________ Freeciv-dev mailing list [email protected] https://mail.gna.org/listinfo/freeciv-dev
