help with DevC++

Started by
2 comments, last by Rob83 23 years, 12 months ago
i am trying to compile the "hello world" program off of "sams teach yourself C++ in 21days (it is the simplest program in the world!) but every time i try to compile it with DevC++ i get the error message C:\DEV-C_~1\BIN\ld.exe: cannot open crt1.o: No such file or directory under the linker tab does anyone else get this problem and most importantly, can anyone tell me how to fix it? cheers
Advertisement
Try going to Project/Settings. It will bring up a project settings dialog. Click the Linker tab and make sure that the output file name is something like Debug/Hellow.exe or if you are compiling in release mode - Release/Hellow.exe. This way it looks for all the files necessary relevent to the current path that your source code is in.

Hope that helps!
can someone e-mail me some source that they know compiles on DevC++ so I can at least make sure my version is working

it would be a great help

cheers
please!!!!!!!

This topic is closed to new replies.

Advertisement