Page 2 of 2

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Posted: Mon Aug 02, 2010 7:45 pm
by ghoulsblade2
yes, the guide on the wiki said so :
http://vegastrike.sourceforge.net/wiki/ ... u_Linux%29
=)
is there a newer/better guide ?

i started a new checkout with the same instructions as above except that i left out the boost update,
compile is still running...
UPDATE : same error message

Code: Select all

        mv -f $depbase.Tpo $depbase.Po
depbase=`echo src/gldrv/gl_sphere_list_server.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -DHAVE_CONFIG_H -I.   -I/usr/include -DBOOST_PYTHON_NO_PY_SIGNATURES     -DHAVE_SDL=1 -DSDL_WINDOWING=1      -DHAVE_AL=1   -DHAVE_OGG  -DNV_CUBE_MAP=1  -I/usr/include/python2.6 -DHAVE_PYTHON=1    -I./src   -pipe -DNV_CUBE_MAP -O2 -ffast-math  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -MT src/gldrv/gl_sphere_list_server.o -MD -MP -MF $depbase.Tpo -c -o src/gldrv/gl_sphere_list_server.o src/gldrv/gl_sphere_list_server.cpp &&\
        mv -f $depbase.Tpo $depbase.Po
make[1]: *** Keine Regel vorhanden, um das Target »OpenALRenderer.h«, 
  benötigt von »all-am«, zu erstellen.  Schluss.
make[1]: *** Warte auf noch nicht beendete Prozesse...
make[1]: Verlasse Verzeichnis '/cavern/code/VegaStrike/vegastrike_trunk2'
make: *** [all] Fehler 2
btw, my system-installed boost version seems to be 1.40 :

Code: Select all

dpkg --list | grep boost
ii  libboost-date-time1.40-dev           1.40.0-4ubuntu4                                 set of date-time libraries based on generic 
ii  libboost-date-time1.40.0             1.40.0-4ubuntu4                                 set of date-time libraries based on generic 
ii  libboost-program-options1.40.0       1.40.0-4ubuntu4                                 program options library for C++
ii  libboost-serialization1.40-dev       1.40.0-4ubuntu4                                 serialization library for C++
ii  libboost-serialization1.40.0         1.40.0-4ubuntu4                                 serialization library for C++
ii  libboost-thread1.40-dev              1.40.0-4ubuntu4                                 portable C++ multi-threading
ii  libboost-thread1.40.0                1.40.0-4ubuntu4                                 portable C++ multi-threading
ii  libboost1.40-dev                     1.40.0-4ubuntu4                                 Boost C++ Libraries development files

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Posted: Mon Aug 02, 2010 8:41 pm
by klauss
Well, it seems to be a problem with the makefile.am then.

I'll check it out when I get home. Basically, the mentioned header (the one with Keine Regel) is in the wrong list it seems.

Ok, one more experiment.

Remove OpenALRenderer.h from the very last line of Makefile.am (noinst_HEADERS)

Re: r12798 linux compile : to_OgreMesh.cpp:46: error: ref

Posted: Mon Aug 02, 2010 9:10 pm
by ghoulsblade2
in the checkout without boost update :
after editing Makefile.am and running just "make" afterwards (should i do make clean before?) :
...
error :
/usr/bin/ld: cannot find -lboost_python

trying
apt-get install libboost-python1.40-dev

and running configure again , then editing the makefile.am (no change was needed), and then running make
....
SUCCESS =)