Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: waltzToWaltz on September 28, 2017, 05:26:04 pm

Title: Can't compile DLLs using the MinGW package.
Post by: waltzToWaltz on September 28, 2017, 05:26:04 pm
I am only trying to compile the main.cpp code that comes by default when making a dll project. My problem is that I only get a main.o file saved in the 'obj' folder where the projects are exported, no dlls, the 'bin' folder isn't even created.

these is the tool chain executable configuration
c compiler : mingw32-gcc.exe
c++ compiler mingw32-gcc.exe or compiler mingw32-g++.exe , tested both
linker for dynamic lybs : mingw32-gcc.exe or compiler mingw32-g++.exe , tested both
resource compiler : windres.exe
make program : mingw32-make.exe

build log:
"mingw32-gcc.exe  -Wall -DBUILD_DLL -g     -c "C:\gamemaker work\zzz DLL\code blocks projects\aaa\main.cpp" -o obj\Debug\main.o"