Compilation help pleeeease!

OpenSpades is an open source alternative client for AoS Classic and beyond! Runs on Windows, Mac, and Linux. Created by yvt.
Compatible with AoS Classic.
2 posts Page 1 of 1 First unread post
Toumal
Deuce
Posts: 8
Joined: Wed Dec 12, 2012 9:38 pm


Hey there,

Sorry if this sounds annoying, but I need help compiling this stuff on MSVC10. Followed the instructions, SDL_image is installed alright, cmake runs fine and when compiling I get tons of this:
Code: Select all
6>          c:\users\toumal\documents\github\openspades\sources\externals\include\sdl2\SDL_stdinc.h(339) : see previous definition of 'M_PI'
6>c:\users\toumal\documents\github\openspades\sources\gui\SDLRunner.h(40): error C2332: 'enum' : missing tag name
6>c:\users\toumal\documents\github\openspades\sources\gui\SDLRunner.h(40): error C2236: unexpected 'class' 'spades::gui::SDLRunner::RendererType'. Did you forget a ';'?
6>c:\users\toumal\documents\github\openspades\sources\gui\SDLRunner.h(40): error C3381: 'spades::gui::SDLRunner::RendererType' : assembly access specifiers are only available in code compiled with a /clr option
6>c:\users\toumal\documents\github\openspades\sources\gui\SDLRunner.h(41): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
6>c:\users\toumal\documents\github\openspades\sources\gui\SDLRunner.h(43): error C2143: syntax error : missing ';' before '}'
6>c:\users\toumal\documents\github\openspades\sources\gui\SDLRunner.h(43): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
And this:
Code: Select all
6>C:\Users\Toumal\Documents\GitHub\openspades\Sources\Core/Strings.h(187): error C2143: syntax error : missing ',' before '...'
6>C:\Users\Toumal\Documents\GitHub\openspades\Sources\Core/Strings.h(188): error C2065: 'T' : undeclared identifier
6>C:\Users\Toumal\Documents\GitHub\openspades\Sources\Core/Strings.h(188): error C2143: syntax error : missing ')' before '...'
6>C:\Users\Toumal\Documents\GitHub\openspades\Sources\Core/Strings.h(188): error C2182: 'SetParameterValue' : illegal use of type 'void'
6>C:\Users\Toumal\Documents\GitHub\openspades\Sources\Core/Strings.h(188): error C2059: syntax error : ')'
6>C:\Users\Toumal\Documents\GitHub\openspades\Sources\Core/Strings.h(191): error C2332: 'class' : missing tag name
6>C:\Users\Toumal\Documents\GitHub\openspades\Sources\Core/Strings.h(191): error C2011: '<unnamed-tag>' : 'enum' type redefinition
Since I'm pretty sure that the code itself is fine, I guess it's some silly windows compiler setting I forgot to change, or something. I admit I'm not a windows guy, much less MSVC. Any help would be greatly appreciated!
learn_more
Coder
Coder
Posts: 891
Joined: Sun Mar 24, 2013 9:59 pm


i shall set aside my principles for once, and post a usefull reply to a topic with help or please in the title.

you need a newer version of msvc to compile the stuff, yvt keeps on adding code that can't be built with msvc 2010.
2 posts Page 1 of 1 First unread post
Return to “OpenSpades Discussion”

Who is online

Users browsing this forum: No registered users and 26 guests