Greetings,
I downloaded mingw 5.2 compiler that comes with MSYS2 package (Win 7, 64 bit). Then I tried to set up new compiler in settings -> compiler -> toolchain executables in Code Blocks, by altering compiler's installation directory and program paths.
When I tried to build an application I got various errors, some about 3rd party library I used and some about standard library, like this one:
main.cpp|42|undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string()'|
So I assume I made mistakes when setting up compiler in the settings (I also ticked C++11 support in build options). Can someone help identify what I did wrong? My settings are like this:
compiler's installation directory:
C:\msys64\mingw32\bin
C compiler:
i686-w64-mingw32-gcc-5.2.0.exe
C++ compiler:
i686-w64-mingw32-g++.exe
Linker for dynamic libs:
i686-w64-mingw32-g++.exe
Linker for static libs:
i686-w64-mingw32-gcc-ar.exe
Resource compiler:
windres.exe
Make program:
/ (can't see ming32-make in bin folder)
Thank you,
T