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

[SOLVED] Compiling errors - svn13654 - VS2012express

Postby shenle » Tue Aug 27, 2013 10:23 pm

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
Attachments
error.txt
(40.55 KiB) Downloaded 73 times
make me a sandwich
make: *** No rule to make target 'me'. Stop.
shenle
Confed Special Operative
Confed Special Operative
 
Posts: 380
Topics: 30
Joined: Wed Jan 30, 2008 8:25 pm
Location: hiding in a dark corner

Share On:

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

Re: Compiling errors - svn13654 - VS2012express

Postby pheonixstorm » Thu Aug 29, 2013 7:12 pm

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

Re: Compiling errors - svn13654 - VS2012express

Postby shenle » Fri Aug 30, 2013 9:57 pm

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.
shenle
Confed Special Operative
Confed Special Operative
 
Posts: 380
Topics: 30
Joined: Wed Jan 30, 2008 8:25 pm
Location: hiding in a dark corner

Re: Compiling errors - svn13654 - VS2012express

Postby loki1950 » Fri Aug 30, 2013 10:03 pm

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 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: 5708
Topics: 51
Joined: Fri May 13, 2005 1:37 pm
Location: Ottawa

Re: Compiling errors - svn13654 - VS2012express

Postby shenle » Sat Aug 31, 2013 4:13 pm

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.
shenle
Confed Special Operative
Confed Special Operative
 
Posts: 380
Topics: 30
Joined: Wed Jan 30, 2008 8:25 pm
Location: hiding in a dark corner

Re: Compiling errors - svn13654 - VS2012express

Postby pheonixstorm » Mon Sep 02, 2013 1:19 am

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

Re: Compiling errors - svn13654 - VS2012express

Postby klauss » Mon Sep 02, 2013 11:37 am

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
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: Compiling errors - svn13654 - VS2012express

Postby pheonixstorm » Wed Sep 04, 2013 12:52 pm

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

Re: Compiling errors - svn13654 - VS2012express

Postby pheonixstorm » Wed Sep 04, 2013 1:12 pm

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

Re: Compiling errors - svn13654 - VS2012express

Postby shenle » Wed Sep 04, 2013 7:43 pm

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.
shenle
Confed Special Operative
Confed Special Operative
 
Posts: 380
Topics: 30
Joined: Wed Jan 30, 2008 8:25 pm
Location: hiding in a dark corner

Re: Compiling errors - svn13654 - VS2012express

Postby pheonixstorm » Wed Sep 04, 2013 8:14 pm

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

Re: Compiling errors - svn13654 - VS2012express

Postby shenle » Wed Sep 04, 2013 8:27 pm

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.
Attachments
vega-vc10.7z
(14.35 KiB) Downloaded 71 times
make me a sandwich
make: *** No rule to make target 'me'. Stop.
shenle
Confed Special Operative
Confed Special Operative
 
Posts: 380
Topics: 30
Joined: Wed Jan 30, 2008 8:25 pm
Location: hiding in a dark corner

Re: Compiling errors - svn13654 - VS2012express

Postby pheonixstorm » Wed Sep 04, 2013 9:47 pm

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

Re: Compiling errors - svn13654 - VS2012express

Postby shenle » Wed Sep 04, 2013 9:54 pm

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.
shenle
Confed Special Operative
Confed Special Operative
 
Posts: 380
Topics: 30
Joined: Wed Jan 30, 2008 8:25 pm
Location: hiding in a dark corner



Return to Compiling Problems [paste config.log]

Who is online

Users browsing this forum: No registered users and 1 guest