glXGetProcAddressARB

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).
Post Reply
boeser.wolff
Hunter
Hunter
Posts: 93
Joined: Tue Jul 29, 2003 8:05 am
Contact:

glXGetProcAddressARB

Post by boeser.wolff »

although i experience no problems configuring vs, compilling stops at:

gl_init.cpp: In function `void init_opengl_extensions()':
gl_init.cpp:106: error: `glXGetProcAddressARB' undeclared (first use this
function)
gl_init.cpp:106: error: (Each undeclared identifier is reported only once for
each function it appears in.)
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
make[3]: *** [gl_init.o] Error 1
make[3]: Leaving directory `/usr/src/vegastrike/vegastrike/src/gldrv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/vegastrike/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/vegastrike/vegastrike'
make: *** [all-recursive-am] Error 2

complete log here
config.log.bz2
pontiac
Elite
Elite
Posts: 1454
Joined: Sun Jan 12, 2003 6:24 pm
Location: Far out in the uncharted backwaters of the unfashionable end of the western spiral arm of the Galaxy
Contact:

Re: glXGetProcAddressARB

Post by pontiac »

Just a guess, may be the same problem with "glXGetProcAddressARB":

http://vegastrike.sourceforge.net/forum ... php?t=1085

Pontiac
Guest

Post by Guest »

ok, it does compile..., but:

exits with: 'relocation error: undefined symbol glXGetProcAddress'
boeser.wolff
Hunter
Hunter
Posts: 93
Joined: Tue Jul 29, 2003 8:05 am
Contact:

Post by boeser.wolff »

this maybe works when compiling for win32, but i'd like a linux- executable ...
ok, it does compile..., but:

exits with: 'relocation error: undefined symbol glXGetProcAddress'
and i think glXGetProcAddressARB is right, configure also looks for it
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

This might be stupid... but try doing
#define glXGetProcAddress glXGetProcAddressARB
on the first line of the file.

Perhaps that will get it to think you have that instead.
boeser.wolff
Hunter
Hunter
Posts: 93
Joined: Tue Jul 29, 2003 8:05 am
Contact:

Post by boeser.wolff »

its unbelievable! this really worked! great! -- must be the things you dont even think of that work :D
captnemo
Merchant
Merchant
Posts: 51
Joined: Mon Aug 25, 2003 9:34 pm

Post by captnemo »

edited: nevermind
neighborlee

Post by neighborlee »

boeser.wolff wrote:its unbelievable! this really worked! great! -- must be the things you dont even think of that work :D
---------
wha file did you edit and where precisely did you put this change and in 'what' linux distro..cause I use redhat..pout the #define as noted in this topic on first line of file after comment section and I get a new errror this time after ./configure/make

ie:
--------
: undefined reference to `boost::python::from_python(_object*, boost::python::type<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >)'
collect2: ld returned 1 exit status
make[3]: *** [vegastrike] Error 1
make[3]: Leaving directory `/usr/local/games/vegastrike-0.4.1-installer/vegastrike/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/games/vegastrike-0.4.1-installer/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/games/vegastrike-0.4.1-installer/vegastrike'
make: *** [all] Error 2
Post Reply