[SOLVED] 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).

[SOLVED] win32 r13603 compile issues.

Postby pheonixstorm » Fri Jul 12, 2013 11:57 pm

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
User avatar
pheonixstorm
Elite
Elite
 
Posts: 1567
Topics: 113
Joined: Mon Jan 25, 2010 7:03 pm

Share On:

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

Re: win32 r13603 compile issues.

Postby IansterGuy » Sat Jul 13, 2013 12:52 am

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.
If you were interested I would have told you, but if I told you, you would not be interested. I can tell you are not interested because you don't already know and even if you did, it would be pointless to tell you again. Therefore in no situation will I ever tell you anything.
User avatar
IansterGuy
Bounty Hunter
Bounty Hunter
 
Posts: 174
Topics: 10
Joined: Mon Aug 13, 2012 1:49 am
Location: Milky Way, Orion arm, Earth, Canada Saskatchewan, Saskatoon

Re: win32 r13603 compile issues.

Postby pheonixstorm » Sat Jul 13, 2013 12:56 am

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
User avatar
pheonixstorm
Elite
Elite
 
Posts: 1567
Topics: 113
Joined: Mon Jan 25, 2010 7:03 pm

Re: win32 r13603 compile issues.

Postby pheonixstorm » Sat Jul 13, 2013 1:30 am

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
User avatar
pheonixstorm
Elite
Elite
 
Posts: 1567
Topics: 113
Joined: Mon Jan 25, 2010 7:03 pm

Re: win32 r13603 compile issues.

Postby pheonixstorm » Sat Jul 13, 2013 1:35 am

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
User avatar
pheonixstorm
Elite
Elite
 
Posts: 1567
Topics: 113
Joined: Mon Jan 25, 2010 7:03 pm

Re: win32 r13603 compile issues.

Postby loki1950 » Sat Jul 13, 2013 9:23 am

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 18/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 DELL E6400 4GB ram/100 GB HD Mint 17.3 6
User avatar
loki1950
The Shepherd
 
Posts: 5715
Topics: 51
Joined: Fri May 13, 2005 1:37 pm
Location: Ottawa

Re: win32 r13603 compile issues.

Postby klauss » Sat Jul 13, 2013 1:23 pm

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
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: win32 r13603 compile issues.

Postby pheonixstorm » Sat Jul 13, 2013 9:27 pm

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
User avatar
pheonixstorm
Elite
Elite
 
Posts: 1567
Topics: 113
Joined: Mon Jan 25, 2010 7:03 pm

Re: win32 r13603 compile issues.

Postby klauss » Mon Jul 15, 2013 11:42 am

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
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: win32 r13603 compile issues.

Postby pheonixstorm » Tue Jul 16, 2013 12:15 am

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
User avatar
pheonixstorm
Elite
Elite
 
Posts: 1567
Topics: 113
Joined: Mon Jan 25, 2010 7:03 pm

Re: win32 r13603 compile issues.

Postby pheonixstorm » Tue Jul 16, 2013 1:39 am

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
User avatar
pheonixstorm
Elite
Elite
 
Posts: 1567
Topics: 113
Joined: Mon Jan 25, 2010 7:03 pm

Re: win32 r13603 compile issues.

Postby ezee » Wed Feb 19, 2014 2:11 am

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 -> 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
ezee
Intrepid Venturer
Intrepid Venturer
 
Posts: 703
Topics: 65
Joined: Mon Feb 10, 2014 5:47 pm
Location: FRANCE



Return to Compiling Problems [paste config.log]

Who is online

Users browsing this forum: No registered users and 2 guests

cron