help with DevC++
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
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!
Hope that helps!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement