I was exploring the possibility of compiling Wesnoth1.1.1 without serious modifications and I get stuck when it looks for SDL_net. Any one plans to add that in since we have working network kernel?
Code:
[wesnoth-1.1.1]# export SDL_CONFIG=/usr/local/gp2xdev/bin/sdl-config
[wesnoth-1.1.1]#./configure --prefix=$GP2XDEV --host=gp2x --build=i686 --enable-tinygui --disable-sdltest --without-x --disable-gnome1 --disable-gnome2 --without-kde --enable-lite --disable-gnome1 --with-freetype-prefix=$GP2XDEV --enable-static
.
.
if gp2x-g++ -DHAVE_CONFIG_H -I. -I. -I.. -DUSE_TINY_GUI -I/usr/local/gp2xdev/include/freetype2 -I/usr/local/gp2xdev/include -I ./sdl_ttf -I../intl -I../intl -I/usr/local/gp2xdev/include/SDL -D_REENTRANT -DWESNOTH_PATH=\"/usr/local/gp2xdev/share/wesnoth\" -DLOCALEDIR=\"translations\" -DHAS_RELATIVE_LOCALEDIR=1 -DFIFODIR=\"/usr/local/gp2xdev/var/run/wesnothd\" -W -Wall -ansi -MT actions.o -MD -MP -MF "$depbase.Tpo" -c -o actions.o actions.cpp; \
then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; fi
In file included from show_dialog.hpp:23,
from playturn.hpp:27,
from actions.cpp:22:
network.hpp:19:21: error: SDL_net.h: No such file or directory
make[2]: *** [actions.o] Error 1
make[2]: Leaving directory `/root/wesnoth-1.1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/wesnoth-1.1.1'
make: *** [all] Error 2