VS 0.4.1's setup.sh gives out of memory

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).
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

it seems like on your system the headers define glXGetProcAddress and your libs define glXGetProcAddressARB
not sure who fouled that up...fix your headers--the libs are harder
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Guest

Post by Guest »

Hi again
hellcatv wrote:in src/gldrv/gl_globals.h type
#define glXGetProcAddressARB glXGetProcAddress
Ummm i think it's this way:
#define glXGetProcAddress glXGetProcAddressARB

put that in the start of the file src/gldrv/gl_init.cpp (which is the file that you pointed in that log that goes boom...)

at least this worked for me
(SuSE 8.2 and nvidia here too, like you deepwave)

Disclaimer: IANAD (iamnotadevel)
deepwave
Merchant
Merchant
Posts: 37
Joined: Fri Sep 26, 2003 5:54 pm
Location: Knawis Mouth, Great Helices Nebula

Post by deepwave »

Lying to compilers... sham on both of you.

Actually you are both right and wrong!
You have to put
#define glXGetProcAddress glXGetProcAddressARB
in gl_globals.h, gl_init.h and gl_init.cpp

I'm the process of compiling right now. So I will tell you how it works out. When it is done.
deepwave
Merchant
Merchant
Posts: 37
Joined: Fri Sep 26, 2003 5:54 pm
Location: Knawis Mouth, Great Helices Nebula

Post by deepwave »

Excellent!!!

Finally it works. For those who have been reading this post up to now here is the step-by-step process.

1.) add --enable-128-boost to make in setup.sh
2.) Change every -03 to -02 in vegastrike/configure.in
3.) Add this line in the beginning of: vegastrike/src/gldrv/gl_init.cpp, gl_globals.h and gl_init.h.

#define glXGetProcAddress glXGetProcAddressARB

4.) Sit down, open a drink and enjoy being a privateer! :D
diederick76
Explorer
Explorer
Posts: 12
Joined: Sun Feb 02, 2003 5:55 pm
Location: Amsterdam, the Netherlands
Contact:

Post by diederick76 »

deepwave wrote: add --enable-128-boost to make in setup.sh
I guess you mean to ./configure, right?
Silverain
Expert Mercenary
Expert Mercenary
Posts: 984
Joined: Thu Aug 07, 2003 5:35 am
Location: Brisbane, Land of Oz
Contact:

Post by Silverain »

deepwave,

If you can provide a full listing of your computer/Linux details, and set out in full the steps you took, we can put it into the wiki manual 'Installation' section.
THOUGHT CRIME! [points finger] THOUGHT CRIME!
Post Reply