Hi guys, i dont know where to post this question so i am sorry.
But i need help.
I am using Jetbrains Clion and TDM-GCC which contains gcc5.0.
But i want to use GCC8.1 so i upgraded from TDM-GCC to MSYS2 with mingw64bit and gcc 8.1.
But if i compile my program with GCC 8.1, i need to include every dll with my application and i dont know why. If not, application wont open.
But if i compile it with TDM-GCC i dont need to include dlls..
Why is that? and how can i fix it?
even if i use this in cmake: set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++")
it still wont work, and i need to include dlls. :(