Compiling errors - svn13654 - VS2012express

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
shenle
Confed Special Operative
Confed Special Operative
Posts: 381
Joined: Thu Jan 31, 2008 3:25 am
Location: hiding in a dark corner

Compiling errors - svn13654 - VS2012express

Post by shenle »

Code: Select all

Error	1182	error C2065: 'GL_TEXTURE_CUBE_MAP_SEAMLESS' : undeclared identifier	C:\games\vegastrike\svn\vegastrike\src\gldrv\gl_init.cpp	687	1	vegastrike

Code: Select all

Error	1552	error C2664: 'aligned_allocator<T>::aligned_allocator(const aligned_allocator<T> &) throw()' : cannot convert parameter 1 from 'std::_Wrap_alloc<_Alloc>' to 'const aligned_allocator<T> &'	C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\vector	1102	1	vegastrike
With regard to the first error, after reading pheonixstorm's thread on the same error I tried adding the glew headers to the project, but then I end up with hundreds of boost files not found, and it doesn't fix the original error.See attached error.txt

This is all using the project in vega-vc10
You do not have the required permissions to view the files attached to this post.
make me a sandwich
make: *** No rule to make target 'me'. Stop.
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

Re: Compiling errors - svn13654 - VS2012express

Post by pheonixstorm »

I haven't tried adding glew yet so not sure.. did you compile glew yourself or use a precompiled dll?
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
shenle
Confed Special Operative
Confed Special Operative
Posts: 381
Joined: Thu Jan 31, 2008 3:25 am
Location: hiding in a dark corner

Re: Compiling errors - svn13654 - VS2012express

Post by shenle »

I used the precompiled dll available from the glew homepage.

FWIW my last Windows successful compile was at r13600. It was done with the exact same toolchain I'm using now.
make me a sandwich
make: *** No rule to make target 'me'. Stop.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Re: Compiling errors - svn13654 - VS2012express

Post by loki1950 »

I used the precompiled dll available from the glew homepage.
It may not have been compiled with VS2012 so that could be your problem.

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
shenle
Confed Special Operative
Confed Special Operative
Posts: 381
Joined: Thu Jan 31, 2008 3:25 am
Location: hiding in a dark corner

Re: Compiling errors - svn13654 - VS2012express

Post by shenle »

Okay, I built glew myself. It's funny, VS2012 chokes on the copyright text in the glew.rc file. :)

Got it compiled though, and added its headers and libraries to the project.

Upon compiling vegastrike, I still get the original two errors.

Code: Select all

Error	1182	error C2065: 'GL_TEXTURE_CUBE_MAP_SEAMLESS' : undeclared identifier	C:\games\vegastrike\svn\vegastrike\src\gldrv\gl_init.cpp	687	1	vegastrike
Error	1552	error C2664: 'aligned_allocator<T>::aligned_allocator(const aligned_allocator<T> &) throw()' : cannot convert parameter 1 from 'std::_Wrap_alloc<_Alloc>' to 'const aligned_allocator<T> &'	C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\vector	1102	1	vegastrike
That didn't solve the problem.
make me a sandwich
make: *** No rule to make target 'me'. Stop.
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

Re: Compiling errors - svn13654 - VS2012express

Post by pheonixstorm »

klauss did anything get added as a preprocessor define in the cmake file? I haven't checked, could be whats blocking things on this side. Then again.. who knows. I should be able to look into it late tomorrow though I hope.
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: Compiling errors - svn13654 - VS2012express

Post by klauss »

pheonixstorm wrote:klauss did anything get added as a preprocessor define in the cmake file? I haven't checked, could be whats blocking things on this side. Then again.. who knows. I should be able to look into it late tomorrow though I hope.
Nope. That define (GL_TEXTURE_CUBE_MAP_SEAMLESS) should be defined by a standard ARB extension.

In general, when the extension is missing (and hence the define), you should be able to define it in win32-wrapped code as defined by the extension specs.
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: Compiling errors - svn13654 - VS2012express

Post by pheonixstorm »

Thanks for the link klauss. We just needed to update the glext.h file. No need for glew :)

Will commit changes to svn in a few minutes.
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: Compiling errors - svn13654 - VS2012express

Post by pheonixstorm »

So it compiles but doesn't get very far when you run it... Will update the glext.h file and see who else has issues or can find a fix. No usable errors in stderr or stdout
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
shenle
Confed Special Operative
Confed Special Operative
Posts: 381
Joined: Thu Jan 31, 2008 3:25 am
Location: hiding in a dark corner

Re: Compiling errors - svn13654 - VS2012express

Post by shenle »

The first error is solved. However the second one persists. I still don't get the compile to succeed.

Code: Select all

Error	1556	error C2664: 'aligned_allocator<T>::aligned_allocator(const aligned_allocator<T> &) throw()' : cannot convert parameter 1 from 'std::_Wrap_alloc<_Alloc>' to 'const aligned_allocator<T> &'	C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\vector	1102	1	vegastrike
make me a sandwich
make: *** No rule to make target 'me'. Stop.
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

Re: Compiling errors - svn13654 - VS2012express

Post by pheonixstorm »

Guess there is something a little different between the two sln files. Can you zip up the sln and project files?
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
shenle
Confed Special Operative
Confed Special Operative
Posts: 381
Joined: Thu Jan 31, 2008 3:25 am
Location: hiding in a dark corner

Re: Compiling errors - svn13654 - VS2012express

Post by shenle »

pheonixstorm wrote:Guess there is something a little different between the two sln files. Can you zip up the sln and project files?
See attached. To import them in VS2012, I used its automatic converter.
You do not have the required permissions to view the files attached to this post.
make me a sandwich
make: *** No rule to make target 'me'. Stop.
pheonixstorm
Elite
Elite
Posts: 1567
Joined: Tue Jan 26, 2010 2:03 am

Re: Compiling errors - svn13654 - VS2012express

Post by pheonixstorm »

Another question. Which version of the win sdk are you using?
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
shenle
Confed Special Operative
Confed Special Operative
Posts: 381
Joined: Thu Jan 31, 2008 3:25 am
Location: hiding in a dark corner

Re: Compiling errors - svn13654 - VS2012express

Post by shenle »

pheonixstorm wrote:Another question. Which version of the win sdk are you using?
I use what came with VS2012. It was good enough to compile Vegastrike until recently. I didn't install any separate SDKs.
(edit) It looks like it installs v.7.1a
make me a sandwich
make: *** No rule to make target 'me'. Stop.
Post Reply