win32 r13603 compile issues.

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
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

win32 r13603 compile issues.

Post by pheonixstorm »

Don't have time to fix these tonight... but these are the current errors popping up when compiling in windows.

Code: Select all

Error	16629	error C2065: 'GL_TEXTURE_CUBE_MAP_SEAMLESS' : undeclared identifier	E:\SCM\VegaStrike\trunk\vegastrike\src\gldrv\gl_init.cpp	686	1	vegastrike
Error	1	error C2146: syntax error : missing ',' before identifier 'matrix'	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	108	1	vegastrike
Error	2	error C2065: 'matrix' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	110	1	vegastrike
Error	3	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	110	1	vegastrike
Error	4	error C2065: 'scale' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	110	1	vegastrike
Error	5	error C2228: left of '.i' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	110	1	vegastrike
Error	6	error C2065: 'matrix' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	111	1	vegastrike
Error	7	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	111	1	vegastrike
Error	8	error C2065: 'scale' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	111	1	vegastrike
Error	9	error C2228: left of '.i' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	111	1	vegastrike
Error	10	error C2065: 'matrix' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	112	1	vegastrike
Error	11	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	112	1	vegastrike
Error	12	error C2065: 'scale' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	112	1	vegastrike
Error	13	error C2228: left of '.i' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	112	1	vegastrike
Error	14	error C2065: 'matrix' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	113	1	vegastrike
Error	15	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	113	1	vegastrike
Error	16	error C2065: 'scale' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	113	1	vegastrike
Error	17	error C2228: left of '.j' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	113	1	vegastrike
Error	18	error C2065: 'matrix' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	114	1	vegastrike
Error	19	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	114	1	vegastrike
Error	20	error C2065: 'scale' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	114	1	vegastrike
Error	21	error C2228: left of '.j' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	114	1	vegastrike
Error	22	error C2065: 'matrix' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	115	1	vegastrike
Error	23	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	115	1	vegastrike
Error	24	error C2065: 'scale' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	115	1	vegastrike
Error	25	error C2228: left of '.j' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	115	1	vegastrike
Error	26	error C2065: 'matrix' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	116	1	vegastrike
Error	27	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	116	1	vegastrike
Error	28	error C2065: 'scale' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	116	1	vegastrike
Error	29	error C2228: left of '.k' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	116	1	vegastrike
Error	30	error C2065: 'matrix' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	117	1	vegastrike
Error	31	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	117	1	vegastrike
Error	32	error C2065: 'scale' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	117	1	vegastrike
Error	33	error C2228: left of '.k' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	117	1	vegastrike
Error	34	error C2065: 'matrix' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	118	1	vegastrike
Error	35	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	118	1	vegastrike
Error	36	error C2065: 'scale' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	118	1	vegastrike
Error	37	error C2228: left of '.k' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	118	1	vegastrike
Error	38	error C2146: syntax error : missing ',' before identifier 'v1'	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	136	1	vegastrike
Error	39	error C2511: 'Matrix::Matrix(const Vector &)' : overloaded member function not found in 'Matrix'	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	137	1	vegastrike
Error	40	error C2146: syntax error : missing ',' before identifier 'matrix'	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	143	1	vegastrike
Error	41	error C2065: 'matrix' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	146	1	vegastrike
Error	42	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	146	1	vegastrike
Error	43	error C2065: 'matrix' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	148	1	vegastrike
Error	44	error C2228: left of '.p' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	148	1	vegastrike
Error	45	error C2228: left of '.Set' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	148	1	vegastrike
Error	46	error C2146: syntax error : missing ',' before identifier 'matrix'	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	152	1	vegastrike
Error	47	error C2065: 'matrix' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	154	1	vegastrike
Error	48	error C2065: 'matrix' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	155	1	vegastrike
Error	49	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	155	1	vegastrike
Error	50	error C2065: 'matrix' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	155	1	vegastrike
Error	51	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	155	1	vegastrike
Error	52	error C2065: 'matrix' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	155	1	vegastrike
Error	53	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	155	1	vegastrike
Error	54	error C2146: syntax error : missing ',' before identifier 'tmp'	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	160	1	vegastrike
Error	55	error C2065: 'angle' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	162	1	vegastrike
Error	56	error C2065: 'angle' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	163	1	vegastrike
Error	57	error C2065: 'tmp' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	165	1	vegastrike
Error	58	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	165	1	vegastrike
Error	59	error C2065: 'axis' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	165	1	vegastrike
Error	60	error C2228: left of '.i' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	165	1	vegastrike
Error	61	error C2065: 'axis' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	165	1	vegastrike
Error	62	error C2228: left of '.i' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	165	1	vegastrike
Error	63	error C2065: 'tmp' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	166	1	vegastrike
Error	64	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	166	1	vegastrike
Error	65	error C2065: 'axis' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	166	1	vegastrike
Error	66	error C2228: left of '.i' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	166	1	vegastrike
Error	67	error C2065: 'axis' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	166	1	vegastrike
Error	68	error C2228: left of '.j' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	166	1	vegastrike
Error	69	error C2065: 'axis' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	166	1	vegastrike
Error	70	error C2228: left of '.k' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	166	1	vegastrike
Error	71	error C2065: 'tmp' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	167	1	vegastrike
Error	72	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	167	1	vegastrike
Error	73	error C2065: 'axis' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	167	1	vegastrike
Error	74	error C2228: left of '.i' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	167	1	vegastrike
Error	75	error C2065: 'axis' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	167	1	vegastrike
Error	76	error C2228: left of '.k' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	167	1	vegastrike
Error	77	error C2065: 'axis' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	167	1	vegastrike
Error	78	error C2228: left of '.j' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	167	1	vegastrike
Error	79	error C2065: 'tmp' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	169	1	vegastrike
Error	80	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	169	1	vegastrike
Error	81	error C2065: 'axis' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	169	1	vegastrike
Error	82	error C2228: left of '.j' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	169	1	vegastrike
Error	83	error C2065: 'axis' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	169	1	vegastrike
Error	84	error C2228: left of '.i' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	169	1	vegastrike
Error	85	error C2065: 'axis' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	169	1	vegastrike
Error	86	error C2228: left of '.k' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	169	1	vegastrike
Error	87	error C2065: 'tmp' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	170	1	vegastrike
Error	88	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	170	1	vegastrike
Error	89	error C2065: 'axis' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	170	1	vegastrike
Error	90	error C2228: left of '.j' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	170	1	vegastrike
Error	91	error C2065: 'axis' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	170	1	vegastrike
Error	92	error C2228: left of '.j' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	170	1	vegastrike
Error	93	error C2065: 'tmp' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	171	1	vegastrike
Error	94	error C2228: left of '.r' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	171	1	vegastrike
Error	95	error C2065: 'axis' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	171	1	vegastrike
Error	96	error C2228: left of '.j' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	171	1	vegastrike
Error	97	error C2065: 'axis' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	171	1	vegastrike
Error	98	error C2228: left of '.k' must have class/struct/union	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	171	1	vegastrike
Error	99	error C2065: 'axis' : undeclared identifier	e:\scm\vegastrike\trunk\vegastrike\src\gfx\matrix.h	171	1	vegastrike
Recognize any? If so It will make fixing easier.. if not, we might be out of the win32 game till its all fixed. My build is still based off of the py2 lib so will start up the py3 includes a little later (though I don't see that helping any for now). Had to cut out 99% of the errors just to post em... :(
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
IansterGuy
Bounty Hunter
Bounty Hunter
Posts: 174
Joined: Mon Aug 13, 2012 8:49 am

Re: win32 r13603 compile issues.

Post by IansterGuy »

I would like to learn to compile Vega Strike SVN on my Window 8 64bit system. I have never successfully compiled anything in Ming32 nor Microsoft Visual Studio Express but compile often for Linux. I have them both installed and have looked around the menus but know little about them.

I will look again at the wiki and see if I can figure out the requirements, and maybe attempt a build. I would like to stay updated on window the same way I did on Linux. If I can help as I learn a few things that would be great. I run a Acer Aspire AMD 64 bit Quad-Core A6-3620 APU 2.20 Ghz with discreet Radion HD 6530D Graphics 6GB ram, Windows 8 Professional.
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

Re: win32 r13603 compile issues.

Post by pheonixstorm »

Ok, so thi was really bugging me and I had to find a solution. It seems (for whatever screwy reason) VC does not like __restrict__ though it DOES seem to prefer __restrict as I no longer get all those stupids errors about __restrict.

Still getting a few errors though...

Code: Select all

Error	2464	error C2065: 'GL_TEXTURE_CUBE_MAP_SEAMLESS' : undeclared identifier	E:\SCM\VegaStrike\trunk\vegastrike\src\gldrv\gl_init.cpp	686	1	vegastrike
Error	967	error C2668: 'floor' : ambiguous call to overloaded function	e:\scm\vegastrike\trunk\vegastrike\src\cmd\unit_damage.h	333	1	vegastrike
Error	968	error C2668: 'floor' : ambiguous call to overloaded function	e:\scm\vegastrike\trunk\vegastrike\src\cmd\unit_damage.h	333	1	vegastrike
Error	984	error C2668: 'floor' : ambiguous call to overloaded function	e:\scm\vegastrike\trunk\vegastrike\src\cmd\unit_damage.h	333	1	vegastrike
Error	985	error C2668: 'floor' : ambiguous call to overloaded function	e:\scm\vegastrike\trunk\vegastrike\src\cmd\unit_damage.h	333	1	vegastrike
Error	986	error C2668: 'floor' : ambiguous call to overloaded function	e:\scm\vegastrike\trunk\vegastrike\src\cmd\unit_damage.h	333	1	vegastrike
Error	987	error C2668: 'floor' : ambiguous call to overloaded function	e:\scm\vegastrike\trunk\vegastrike\src\cmd\unit_damage.h	333	1	vegastrike
Error	988	error C2668: 'floor' : ambiguous call to overloaded function	e:\scm\vegastrike\trunk\vegastrike\src\cmd\unit_damage.h	333	1	vegastrike
The issue with floor I think I can resolve though haven't tried anything yet.. Not sure about the first error. A search for GL_TEXTURE_CUBE_MAP_SEAMLESS didn't find anything. Will check cmake and see if anything changed...
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

Re: win32 r13603 compile issues.

Post by pheonixstorm »

got the errors down to one.. fixed floor by changing from

unsigned int dropcount = floor( this->numCargo()/game_options.eject_cargo_on_blowup )+1;
to
unsigned int dropcount = floor( (double)this->numCargo()/(double)game_options.eject_cargo_on_blowup )+1;

I remember VC having this type of issue once before with another math function...

Anyway, how can we fix floor and __restrict to make mac, linux, and windows happy?

No luck figuring out the GL issue though...
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

Re: win32 r13603 compile issues.

Post by pheonixstorm »

IansterGuy wrote:I would like to learn *snip* Windows 8 Professional.
Not much to it. Grab a copy of VC 2010 or 2012 express. You will probably need to download the windows SDK. For starters just try to compile the 32bit version. compiling for 64bit is still rather buggy and not all there yet. If you have any problems just start a new thread and ask questions. A lot of things have general answers and are simple for klauss and the other linux devs to help sort out. If not, wait for me or google and answer. MSDN can help a lot as can answers at stackoverflow. When in doubt, just google it first and you will usually find an answer. If the answer isn't detailed enough just ask here ;)
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: win32 r13603 compile issues.

Post by loki1950 »

Also check out the thread I started on using VC2010 express I managed to get a working exe :D

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
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: win32 r13603 compile issues.

Post by klauss »

pheonixstorm wrote:got the errors down to one.. fixed floor by changing from

unsigned int dropcount = floor( this->numCargo()/game_options.eject_cargo_on_blowup )+1;
to
unsigned int dropcount = floor( (double)this->numCargo()/(double)game_options.eject_cargo_on_blowup )+1;

I remember VC having this type of issue once before with another math function...

Anyway, how can we fix floor and __restrict to make mac, linux, and windows happy?

No luck figuring out the GL issue though...
floor( (double)(blah) )

Should work in both win and lin. So no need to worry.

However, you could try floorf (which needs no cast).

About __restrict, make a macro, RESTRICT, and do

Code: Select all

#if windows
#define RESTRICT __restrict
#else
#define RESTRICT __restrict__
#endif
(replacing "windows" by whatever check MSVC needs)

You can put that in one of VS global includes, maybe posh?
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

Re: win32 r13603 compile issues.

Post by pheonixstorm »

Yeah, thats about what I thought. So only one left is to solve Error 2464 error C2065: 'GL_TEXTURE_CUBE_MAP_SEAMLESS' : undeclared identifier

Any ideas on it? Am I missing something somewhere?
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: win32 r13603 compile issues.

Post by klauss »

I think that's an ARB extension.

See:

Code: Select all

claudiofreire@klausstop:/usr/include/GL> grep CUBE_MAP_SEAMLESS *.h
glew.h:#define GL_TEXTURE_CUBE_MAP_SEAMLESS_ARB 0x884F
glew.h:#define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
glext.h:/* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */
glext.h:#define GL_TEXTURE_CUBE_MAP_SEAMLESS      0x884F
glext.h:/* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */
You might want to #define it for MSVC if it isn't there already, or maybe you have to include the proper header?.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

Re: win32 r13603 compile issues.

Post by pheonixstorm »

Thats a mess.. the win32 projects don't even use glew.h Wonder how much that may have broken on the windows side of things...

Will define at the top and see if it works.
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

Re: win32 r13603 compile issues.

Post by pheonixstorm »

Didn't work, will need to add glew into the win32 project. Not sure why it wasn't to begin with.. or perhaps it was but was never updated to include that and newer extensions.
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
ezee
Intrepid Venturer
Intrepid Venturer
Posts: 703
Joined: Tue Feb 11, 2014 12:47 am
Location: FRANCE
Contact:

Re: win32 r13603 compile issues.

Post by ezee »

Hi !
i am actually working with the VC9 folder in the SVN .

I fixed ( in local ) the GL_TEXTURE_CUBE_MAP_SEAMLESS , something is wrong with that VC9 solution ... Anyway , if you got this problem too , just add before the call that causes the error :

Code: Select all

#ifndef GL_TEXTURE_CUBE_MAP_SEAMLESS
#define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
#endif
I am volunteer to try to help maintaining ( and get working ) the VC9 folder .
My goal is to make a SDK , with a new design . ( and doc ... :lol: )
( perhaps at the backends in the svn branch ? )

_Separate the proprietary code with the dependencies ( it's better to build them to avoid
compilation errors or linkage headaches ).
That mean we must know the right version of each lib to build and link .

_ Redefine the project setup ( have the src and boost in vc9/ and not in ../../vc9 )

_Make a quick doc to explain how the engine works ( audio engine , Network , rendering , python wrapper )
Also how to make a install project with inno ( folder architecture , data etc ... )

That's all folks
( in fact no -> http://forums.vega-strike.org/viewtopic.php?f=5&t=19562 :mrgreen: )

Code: Select all

 if (!track.HasWeapons())
            {
                // So what are you going to threaten me with? Exhaustion gas?
                return ThreatLevel::None;
            }
Vegastrike evolved
DEV YOUTUBE CHANNEL
Vegastrike evolved wiki
Post Reply