1

Topic: Since Visual Studio 2012 compile errors

Hey,
I've updatet my windows 8 Laptop and uninstall Visual Studio 2008 and install the 2012 Version. Now I'm not able to compile, there are now this errors:

[1/5] #1 c src/base/system.c
src/base/system.c(38) : fatal error C1083: Datei (Include) kann nicht geöffnet w
erden: "winsock2.h": No such file or directory
bam.exe: 'objs/base/system_d.obj' error 2
[2/5] #1 c++ src/engine/client/backend_sdl.cpp
C:\teeworlds\teeworlds-0.6\other\sdl\include\SDL_opengl.h(46) : fatal error C108
3: Datei (Include) kann nicht geöffnet werden: "GL/gl.h": No such file or direct
ory
bam.exe: 'objs/engine/client/backend_sdl_d.obj' error 2
[3/5] #1 c++ src/engine/client/graphics.cpp
C:\teeworlds\teeworlds-0.6\other\sdl\include\SDL_opengl.h(46) : fatal error C108
3: Datei (Include) kann nicht geöffnet werden: "GL/gl.h": No such file or direct
ory
bam.exe: 'objs/engine/client/graphics_d.obj' error 2
bam.exe: error: a build step failed

This is an unmodificated source of the newest teeworlds 0.6.2 and the winsock2.h file etc. are existing..

many greetings
KingteE :] [GER]

2

Re: Since Visual Studio 2012 compile errors

This is likely a Visual Studio bug. Consider this question.

3 (edited by kingtee.ger 2013-05-01 20:43:40)

Re: Since Visual Studio 2012 compile errors

"@Geerten Sure: Open property manager (view -> property manager), select one of your projects and under debug->win32 you will see the property sheets being used by your projects. right click + properties and in VC directories make sure the include directories contain "$(WindowsSdkDir_71A)include;$(FrameworkSDKDir_71A)include""

Where can I open the whole teeworlds source as a Projekt. There are no files in my Teeworlds folder if I browse with Visual Studio.
Sry I'm a eclipse and Notepad++ user ^^

4

Re: Since Visual Studio 2012 compile errors

There is no way to open files recursively in Visual Studio afaik.

Not Luck, Just Magic.

5 (edited by kingtee.ger 2013-05-02 20:34:13)

Re: Since Visual Studio 2012 compile errors

Hey the solution of the problem is found by the german player 0!=1
Solution: Install this http://msdn.microsoft.com/en-us/windows … 52363.aspx
/closerequest