compiling on mac and failures with inexact gl calls

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
maddanio
Trader
Trader
Posts: 20
Joined: Tue May 30, 2006 9:01 pm
Location: Germany
Contact:

compiling on mac and failures with inexact gl calls

Post by maddanio »

Hi,

compiling on tiger on a c2d geives me this:

objconv/basemaker/base_maker_texture.cpp: In member function ‘void Texture::loadTexture(FILE*, void (*)(Texture::FileData*, unsigned char**))’:
objconv/basemaker/base_maker_texture.cpp:281: error: invalid conversion from ‘unsigned int*’ to ‘GLuint*’
objconv/basemaker/base_maker_texture.cpp:281: error: initializing argument 2 of ‘void glGenTextures(GLsizei, GLuint*)’

It's due to inexact type usage (i know GLuint is unsigned int, but the compiler refuses to know this....). Please add explicit typecasts or use the "right" types to begin with.

Thx :)
--------------
Daniel Oberhoff
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

those errors are thrown by object converter and not part of the game it's self.you only need to make accountsever soundsever vegasever vegastrike and vssetup the others are dev utilities so you should get playable build this way 8)

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Post Reply