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

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).

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

Postby ghoulsblade2 » Mon Aug 02, 2010 12:45 pm

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
ghoulsblade2
Bounty Hunter
Bounty Hunter
 
Posts: 136
Topics: 5
Joined: Tue Jul 27, 2010 12:41 pm
Location: germany

Share On:

Share on Facebook Facebook Share on Twitter Twitter Share on Digg Digg

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

Postby klauss » Mon Aug 02, 2010 1:41 pm

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)
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
User avatar
klauss
Elite
Elite
 
Posts: 7243
Topics: 55
Joined: Mon Apr 18, 2005 7:40 am
Location: LS87, Buenos Aires, República Argentina

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

Postby ghoulsblade2 » Mon Aug 02, 2010 2:10 pm

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 =)
ghoulsblade2
Bounty Hunter
Bounty Hunter
 
Posts: 136
Topics: 5
Joined: Tue Jul 27, 2010 12:41 pm
Location: germany

Previous

Return to Compiling Problems [paste config.log]

Who is online

Users browsing this forum: No registered users and 1 guest

cron