adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Adonthell-devel] Cannot compile “Waste’s Edge”


From: Kess Vargavind
Subject: [Adonthell-devel] Cannot compile “Waste’s Edge”
Date: Sun, 10 Feb 2008 19:19:04 +0100

Using Ubuntu 7.10 "Gutsy" I fail at compiling Waste's Edge from cvs. It was a year or two since I last compiled Adonthell, so I guess a lot has changed both on my computer and codewise. Any able minds willing to help me compile this marvelous game yet again? ;)

According to the mail list archives it seems to be something about swig, but as to what is needed to solve it, I'm lost.


Ubuntu packages

automake_1.9.6+nogfdl-3ubuntu1
cmake_2.4.7-1
libc6-dev_2.6.1-1ubuntu10
python2.5-dev_2.5.1-5ubuntu5
swig_1.3.33-2ubuntu1


Building the engine with GNU make (alt. 1)

.configure outputs:

SDL ....................... : 1.2.11
Python .................... : 2.5
Python debugging .......... : yes
Freetype .................. : 9.16.3
SWIG ...................... : 1.3.33
Ogg music ................. : enabled
Building API doc .......... : no
Data directory ............ : ${datarootdir}/adonthell


make fails (cannot find adonthell.py):

if g++ -DHAVE_CONFIG_H -I. -I../../adonthell-0.3/src -I..   -DOGG_MUSIC -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include -I/usr/include/python2.5 -DPY_DEBUG -I/usr/include/freetype2   -g -Wall -fno-exceptions  -DDATA_DIR="\"/usr/local/share/adonthell\""  -MT python_class.o -MD -MP -MF ".deps/python_class.Tpo" -c -o python_class.o ../../adonthell-0.3/src/python_class.cc; \
        then mv -f ".deps/python_class.Tpo" ".deps/python_class.Po"; else rm -f ".deps/python_class.Tpo"; exit 1; fi
/usr/bin/swig -python -modern -shadow -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I../../adonthell-0.3/src -I../../adonthell-0.3 -c++ -makedefault -o py_adonthell_wrap.cc ../../adonthell-0.3/src/py_adonthell.i
mv: kan inte ta status på "../../adonthell-0.3/src/adonthell.py": Filen eller katalogen finns inte
make[3]: *** [py_adonthell_wrap.cc] Fel 1
make[3]: Leaving directory `/home/kess/.prog/cvs/adonthell/adonthell-0.3-build/src'
make[2]: *** [all-recursive] Fel 1
make[2]: Leaving directory `/home/kess/.prog/cvs/adonthell/adonthell-0.3-build/src'
make[1]: *** [all-recursive] Fel 1
make[1]: Leaving directory `/home/kess/.prog/cvs/adonthell/adonthell-0.3-build'
make: *** [all] Fel 2


Oh, and I also tried...


...building the engine with CMake (alt. 2)

$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local ../adonthell-0.3

CMake Error: The source directory "/home/kess/.prog/cvs/adonthell/adonthell-0.3" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.


I've never really used CMake so I just followed the notes on the wiki, and when it failed didn't try to research it.


Any suggestions?

Kess
reply via email to

[Prev in Thread] Current Thread [Next in Thread]