i did that before, but the errors continue :(
C:\Program Files\mingw-w64\x86_64-7.2.0-win32-seh-rt_v5-rev1\mingw64\lib\gcc\x86_64-w64-mingw32\7.2.0\include\c++\x86_64-w64-mingw32\bits\c++locale.h||In function 'int std::__convert_from_v(int* const&, char*, int, const char*, ...)':|
now it's another error. these don't make sence to me.
why i can't use Directx 11 on Code Blocks?
unless i need some compiler options
(yes the mingw-w64 was installed by me independent... but the standard give me the same errors, i tested)
unless the mingw isn't prepared for directx 11
So it sounds like there are conflicting macro definitions in the function definitions, with what's in the directx headers and what's in the standard library. You might have to rename the macros yourself to be more unique.
What happens if you rename every instance you see of __out to, for example, __my_out ?
(Also, in case this is annoying you, please realize I don't actually know the absolute correct answer to this problem, as it's due to a non-standard implementation that Microsoft is doing in its headers*, because MS probably never designed DX to be standard-conforming for GCC. So all of what I type are suggestions that may or may not work, sadly.)
*leading double underscores are reserved words
"||=== Build failed: 50 error(s), 30 warning(s) (0 minute(s), 8 second(s)) ===|"
more off them... i can't change all functions!!!
what i can do is recreate the macros\class
or get the header file with that macros
Tools like notepad++ can do "replace all" text functions, if you have multiple instances you need to change.
I have one more random idea, and then I'm probably out of ideas.
Try to
1 2 3
#undef __out
#undef __in
(etc.)
before and especially after any directx header include.
But other than that: my apologies, I'm out of ideas... (other than to use visual studio for developing DX). Feel free to bump this again if no one else responds in a reasonable amount of time.
Directx SDK is donned by Microsoft. so GNU isn't compatible with it.
i don't know what is the GNU Directx 11 limitations, but that i must try it.
thanks for all... thank you