The compiler and linker for dynamic libs is mingw32-g++.exe
The linker for static libs is ar.exe
Don't know if these are necessary:
debugger: gdb.exe
Resource compiler: windres.exe
make program: make.exe
error when including iostream
What are the commands that Code::Blocks is issuing? i.e. can you find the exact executable paths and list the command line parameters that are being given to them?
If you can, try to build a small program yourself in exactly the same way. If that program runs correctly, we'll have to look at something else. If Code::Blocks is running your builds through gdb, it could be the particular build of gdb that's at fault.
Alternatively, can you find and run the executable that Code::Blocks built for you and run it directly from explorer or the command shell?
If you can, try to build a small program yourself in exactly the same way. If that program runs correctly, we'll have to look at something else. If Code::Blocks is running your builds through gdb, it could be the particular build of gdb that's at fault.
Alternatively, can you find and run the executable that Code::Blocks built for you and run it directly from explorer or the command shell?
I found what was wrong. In the link libraries list, I had included all the libraries in the MinGW\lib folder.
I am used to doing that, I can't remember why, and I didn't have a problem with it before cause I haven't work on a console project with iostream for a long time.
I removed all the libraries from the link libraries list and it worked fine.Thx
I am used to doing that, I can't remember why, and I didn't have a problem with it before cause I haven't work on a console project with iostream for a long time.
I removed all the libraries from the link libraries list and it worked fine.Thx
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement