Dev C++ [Build Error] [main.o] Error 1

Say your Dev C++ is in C drive of Windows (C:\Dev-Cpp\)

Copy following text to Tools >> Compiler Options >> Directories >> Binaries and click OK.


See the image below.
Compiler Options

Additionally add following text to Tools >> Compiler Options >> Programs before .exe

Compiler Options Programs Settings

Please let me know if this has been helpful to you or not.


About anuragpatil

I am from Mumbai, India.
This entry was posted in Computers, Programming, Technical and tagged , , , , , , , , , , , , , , , , , , , , . Bookmark the permalink.

22 Responses to Dev C++ [Build Error] [main.o] Error 1

  1. one says:

    didn’t work 😦

  2. one says:

    I had to add:
    to the .exe files in the programs tab, Vista didn’t do it correctly. now it works fine =D

  3. Anonymous says:

    Yes, it works for me gr8. I have problem with files, but WITH this tutorial its ok

  4. Anonymous says:

    yes…it solved my problem…

  5. Praveen says:

    thanks it work mee for 2 times

  6. rst says:

    it works, thanks

  7. THANKS!! says:

    it works, thank you!!

  8. hasan says:

    It works for me. Thanks very much, I was really suffering with this stuff..

  9. k says:

    It works, thanks so much!

  10. roque says:

    si funciono te comento que en el make lo coloque tal y como lo dejaste (quitando los espacios 😀 ) pero al final lo cambio y lo dejo así


    problema resuelto gracias

  11. nik says:

    thanks it really helped

  12. Anonymous says:

    it works tnx :)))))

  13. Enzo Roiz says:

    It works ! Thank you 😉

  14. h says:

    did not work

  15. voodoochild says:

    worked!! Thanks a lot.

  16. Marcinkonys says:

    This helped, THANKS!

  17. Dinku says:

    It worked!!!! Many thanks..

  18. Anu Shibin says:

    These steps work great. I think that these steps are best for Windows Vista Users.

  19. Nikunj says:

    I install dev c++ and write normal program to cout hello world but error come like “no project compile”

  20. Thallys says:


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s