Page 1 of 1

Build issue

PostPosted: 03 Dec 2013, 00:31
by dimproject
I have Visual Studio 2010 Express.

{l Code}: {l Select All Code}
1>------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------
2>------ Build started: Project: supertuxkart, Configuration: Release Win32 ------
2>  crash_reporting.cpp
2>..\src\utils\crash_reporting.cpp(75): error C2061: syntax error : identifier '_Out_writes_'
2>..\src\utils\crash_reporting.cpp(78): error C2059: syntax error : ')'
2>..\src\utils\crash_reporting.cpp(78): error C2143: syntax error : missing ')' before ';'
========== Build: 1 succeeded, 1 failed, 5 up-to-date, 0 skipped ==========

Re: Build issue

PostPosted: 03 Dec 2013, 23:54
by Funto
Fixed - I only compiled using Visual Studio 2012. Thanks for reporting.

Re: Build issue

PostPosted: 07 Dec 2013, 18:20
by dimproject
{l Code}: {l Select All Code}
1>------ Build started: Project: ZERO_CHECK, Configuration: Release Win32 ------
2>------ Build started: Project: supertuxkart, Configuration: Release Win32 ------
2>  game_events_protocol.cpp
2>..\src\network\protocols\game_events_protocol.cpp(34): error C2065: 'int8_t' : undeclared identifier
2>..\src\network\protocols\game_events_protocol.cpp(34): error C2146: syntax error : missing ';' before identifier 'type'
2>..\src\network\protocols\game_events_protocol.cpp(34): error C2065: 'type' : undeclared identifier
2>..\src\network\protocols\game_events_protocol.cpp(36): error C2065: 'type' : undeclared identifier
2>..\src\network\protocols\game_events_protocol.cpp(36): error C2050: switch expression not integral
========== Build: 1 succeeded, 1 failed, 5 up-to-date, 0 skipped ==========

Re: Build issue

PostPosted: 08 Dec 2013, 09:26
by Funto
Probably fixed (added stdint.h).
Note that we don't really support VC2010, the developers use VC2012 on Windows, you would be better making the switch IMHO.

Re: Build issue

PostPosted: 08 Dec 2013, 18:23
by Auria
Funto {l Wrote}:Probably fixed (added stdint.h).
Note that we don't really support VC2010, the developers use VC2012 on Windows, you would be better making the switch IMHO.


Well the latest version is VS 2013, so if you switch, better switch to the very latest version :) I compile on VS 2013 from time to time so I confirm it works

Re: Build issue

PostPosted: 08 Dec 2013, 21:33
by Funto
I didn't know VS2013 support was added to CMake - so yeah, better switch to it I guess.