Help s0beit GNU error

alex7331

Active member
Joined
Oct 19, 2014
Messages
26
Reaction score
0
i actualy get some error's when i debug a s0beit,about "_mingw" is missing and another more files too,when i done find them all and put in the include folder in vc i get this error " 1>------ Build started: Project: mod_sa, Configuration: Release Win32 ------
1>  main.cpp
1>  Compiling precompiled header.
1>
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\windows.h(27): warning C4068: unknown pragma
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\_mingw.h(33): warning C4068: unknown pragma
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\sdkddkver.h(26): warning C4068: unknown pragma
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\_mingw.h(51): fatal error C1189: #error:  ERROR: You must use a GNU Compiler.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
" i just get stuck here,idk how to fix,please help
[member=2]0x688[/member]
 

T3KTONIT

Well-known member
Joined
Sep 2, 2013
Messages
308
Reaction score
5
you must use a GNU compiler.

just download GCC(The GNU Compiler Collection) and use g++ from commandline to compile it.

i'm pretty sure you're gonna have some bad time doing that ;)

EDIT: i forgot that you can include GCC in Visual Studio too, it will compile it automatically that way.
 
Top