User forums > Help
HelloWorld program failes to link
Jenna:
--- Quote from: Ancient Dragon on August 29, 2009, 05:59:46 am ---Ok, I finally figured out the problem. I had to go into the toolchain executables window and reset the compiler and linker to both use g++.exe instead of the default g++.exe.lnk.
--- End quote ---
I never saw g++.exe.lnk as default value for the cpp-compiler the default value set by C::B is ming32-g++.exe .
So please don't blame C::B for a configuration error.
And I told you that most likely your toolchain is not set up correctly.
It would have been easier to check this before uninstalling and reinstalling C::B and MinGW.
Ancient Dragon:
--- Quote from: jens on August 29, 2009, 08:58:20 am ---
So please don't blame C::B for a configuration error.
--- End quote ---
Since I installed C::B with all defaults (location etc) there is no other reason for that to have happened other than faulty C::B installation program. Oh well, its working now, so I'm not going to moan about that any more. C::B developer team did an outstanding job writing that IDE :)
--- Quote from: jens on August 29, 2009, 08:58:20 am ---And I told you that most likely your toolchain is not set up correctly.
It would have been easier to check this before uninstalling and reinstalling C::B and MinGW.
--- End quote ---
Yes you are right about that one. I had seen that several times but I thought (wrongly) that the linker would be a different program than the compiler.
Navigation
[0] Message Index
[*] Previous page
Go to full version