I understand part of the problem...
Under windows all the #ifdef's are setup for VC++ and windows.
But for Dev-CPP it needs to be mingw and windows. Or basically a mix of the windows and linux compile options.
Like #error __int64 not supported that is causing the first 8 or so lines... it is a programed error inside a #ifdef win32 because of 2 missing defines that are probably set by VC++ But like you I have NO idea if the gcc code or the win32 code is needed (or if both fail) I would imagine the gcc code is needed though.
I also found it matters which version of mingw you use. The latest dev-CPP 4.9.8.5 uses mingw 3.2 but you can install the latest mingw 3.3.1 and it will cause different errors...
I think it would be really good if someone with Dev-CPP and or mingw experience would take a look at it and submit the changes required to compile correctly under mingw.
__________________
Please read the forum rules and look at reacent messages before posting.
|