Build problem with OpenALRenderer.h under ubuntu 10.04

Find any bugs in Vega Strike? See if someone has already found it, or report them here!
Post Reply
www2
Venturer
Venturer
Posts: 537
Joined: Sat May 14, 2005 10:51 am
Location: milkyway->the sol system->earth->Europe->The Nederland->Soud Holland->Leiden
Contact:

Build problem with OpenALRenderer.h under ubuntu 10.04

Post by www2 »

I heft some compile problem with the latest svn build(svn:12822)

Code: Select all

g++ -DHAVE_CONFIG_H -I.   -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35    -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1   -DHAVE_OGG  -DNV_CUBE_MAP=1 -DHAVE_FFMPEG  -I/usr/include/python2.6 -DHAVE_PYTHON=1    -I./src  -DGTK -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -pipe -DNV_CUBE_MAP  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT setup/src/include/vssetup-display_gtk.o -MD -MP -MF setup/src/include/.deps/vssetup-display_gtk.Tpo -c -o setup/src/include/vssetup-display_gtk.o `test -f 'setup/src/include/display_gtk.cpp' || echo './'`setup/src/include/display_gtk.cpp
mv -f setup/src/include/.deps/vssetup-display_gtk.Tpo setup/src/include/.deps/vssetup-display_gtk.Po
g++ -DHAVE_CONFIG_H -I.   -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35    -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1   -DHAVE_OGG  -DNV_CUBE_MAP=1 -DHAVE_FFMPEG  -I/usr/include/python2.6 -DHAVE_PYTHON=1    -I./src  -DGTK -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -pipe -DNV_CUBE_MAP  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT setup/src/include/vssetup-display_dialog.o -MD -MP -MF setup/src/include/.deps/vssetup-display_dialog.Tpo -c -o setup/src/include/vssetup-display_dialog.o `test -f 'setup/src/include/display_dialog.cpp' || echo './'`setup/src/include/display_dialog.cpp
mv -f setup/src/include/.deps/vssetup-display_dialog.Tpo setup/src/include/.deps/vssetup-display_dialog.Po
g++ -DHAVE_CONFIG_H -I.   -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35    -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1   -DHAVE_OGG  -DNV_CUBE_MAP=1 -DHAVE_FFMPEG  -I/usr/include/python2.6 -DHAVE_PYTHON=1    -I./src  -DGTK -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -pipe -DNV_CUBE_MAP  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT setup/src/include/vssetup-file.o -MD -MP -MF setup/src/include/.deps/vssetup-file.Tpo -c -o setup/src/include/vssetup-file.o `test -f 'setup/src/include/file.cpp' || echo './'`setup/src/include/file.cpp
mv -f setup/src/include/.deps/vssetup-file.Tpo setup/src/include/.deps/vssetup-file.Po
g++ -DHAVE_CONFIG_H -I.   -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35    -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1   -DHAVE_OGG  -DNV_CUBE_MAP=1 -DHAVE_FFMPEG  -I/usr/include/python2.6 -DHAVE_PYTHON=1    -I./src  -DGTK -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -pipe -DNV_CUBE_MAP  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT setup/src/include/vssetup-general.o -MD -MP -MF setup/src/include/.deps/vssetup-general.Tpo -c -o setup/src/include/vssetup-general.o `test -f 'setup/src/include/general.cpp' || echo './'`setup/src/include/general.cpp
mv -f setup/src/include/.deps/vssetup-general.Tpo setup/src/include/.deps/vssetup-general.Po
g++ -DHAVE_CONFIG_H -I.   -DBOOST_PYTHON_NO_PY_SIGNATURES -DBOOST_PYTHON_STATIC_LIB -I./boost/1_35    -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1   -DHAVE_OGG  -DNV_CUBE_MAP=1 -DHAVE_FFMPEG  -I/usr/include/python2.6 -DHAVE_PYTHON=1    -I./src  -DGTK -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -pipe -DNV_CUBE_MAP  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/common/vssetup-common.o -MD -MP -MF src/common/.deps/vssetup-common.Tpo -c -o src/common/vssetup-common.o `test -f 'src/common/common.cpp' || echo './'`src/common/common.cpp
mv -f src/common/.deps/vssetup-common.Tpo src/common/.deps/vssetup-common.Po
g++ -DGTK -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -pipe -DNV_CUBE_MAP  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread   -o vssetup setup/src/c/vssetup-setup.o setup/src/include/vssetup-central.o setup/src/include/vssetup-display_gtk.o setup/src/include/vssetup-display_dialog.o setup/src/include/vssetup-file.o setup/src/include/vssetup-general.o src/common/vssetup-common.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -lvorbisfile -lvorbis -logg   -L/usr/lib -lSDL  -lGL  -lGLU -lXmu -lXi  -lglut  -lexpat  -lpng  -ljpeg  -lopenal  -lvorbisfile -lvorbis -logg  -lavcodec -lavformat -lswscale -L/usr/lib -lpython2.6 -Xlinker -export-dynamic -pthread 
make[1]: *** Er is geen regel om doel 'OpenALRenderer.h' te maken, nodig voor 'all-am'.  Gestopt.
make[1]: Map '/home/www2/source/vegastrike/vegastrike' wordt verlaten
make: *** [all] Fout 2
All Your Base Are Belong To Us
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: Build problem with OpenALRenderer.h under ubuntu 10.04

Post by klauss »

I must have added a header in the wrong way.

Are you using autotools? (ie: configure, make).

CMake works really nice, if you want to try, it's easy.

Code: Select all

$ mkdir build
$ cd build
$ ccmake ..
<use the graphical interface to set options>
$ make
In any case, when I get home I'll see about fixing the autotools build system.

In the meanwhile, did you try "make distclean" and re-bootstrap?

Code: Select all

$ make clean && make distclean
$ ./bootstrap.sh
$ ./configure --with-boost=system
$ make
The "--with-boost=system" thing is important, I couldn't get Ogre 1.7 support working right with in-tree boost, it's on the To-Do list.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
www2
Venturer
Venturer
Posts: 537
Joined: Sat May 14, 2005 10:51 am
Location: milkyway->the sol system->earth->Europe->The Nederland->Soud Holland->Leiden
Contact:

Re: Build problem with OpenALRenderer.h under ubuntu 10.04

Post by www2 »

klauss wrote:I must have added a header in the wrong way.

Are you using autotools? (ie: configure, make).

CMake works really nice, if you want to try, it's easy.

Code: Select all

$ mkdir build
$ cd build
$ ccmake ..
<use the graphical interface to set options>
$ make
In any case, when I get home I'll see about fixing the autotools build system.

In the meanwhile, did you try "make distclean" and re-bootstrap?

Code: Select all

$ make clean && make distclean
$ ./bootstrap.sh
$ ./configure --with-boost=system
$ make
The "--with-boost=system" thing is important, I couldn't get Ogre 1.7 support working right with in-tree boost, it's on the To-Do list.
i was do a good old autotools.
bit i try t make clean /disclean.
and i heft install ogre 1.6.4.

edit:
it work with cmake but i need to do a make vegastrike.
and vegaserver don´t build in the current svn.
All Your Base Are Belong To Us
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: Build problem with OpenALRenderer.h under ubuntu 10.04

Post by klauss »

Just svn up and try again, I think I just committed a definite fix.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Post Reply