

64bit builds crash when exiting the application in.

I admit that any help is welcome, because you are my last chance ! Thank you very much for giving me time. Setting up compiler and toolchain worked so Im on a 64bit compiler, debugger and IDE. It’s as if the SDL2 header or libs is bugging my code and crashing the program… I don’t know why MinGW can’t provide a good executable code under Windows with SDL2. However, I tried to remove the first line of my code, with the include and the program returns 0.

If it is the first time you launch it, the compiler auto-detection will be launched. Honestly, I’m racking my brains about this problem, and Google hasn’t helped me much. If that is not the case, launch Code::Blocks. Even if I don’t have errors or warnings, the program does not operate normally. If (SDL_Init(SDL_INIT_VIDEO) != 0) return 1 īut at the end, the program returns the integer 32762 with this sentence: " Process return 32762 (0x7FFA) " and I don’t understand why it doesn’t just return 0 or 1. After testing the installation (fighting the linker and debugger again and again… ), I managed to run the following code without fatal errors: #include Compile-time polymorphism with templates and run-time polymorphism with virtual classes Advanced expressions, statements, and functions Smart pointers, data. When posting this problem, include the name of your compiler, operating system, Code::Blocks version, compiler log (go to Settings->Compiler and debugger.->Build options (tab) and check Save build log and Always output the full command line), and, if it caused Code::Blocks to crash, the codeblocks. But we are still crashing on setlocale in the code block below. I’m trying to get the SDL2 library to work in C++ with Code::Blocks. Ive adapted your example app to compile and run under Linux and it works just great.
