Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Rob83

help with DevC++

This topic is 6939 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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!

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!