Dev C++ Makefile.win [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.

C:\Dev-Cpp\Bin
C:\Dev-Cpp\libexec\gcc\mingw32\3.4.2

See the image below.
Compiler Options

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

C:\Dev-Cpp\Bin
Compiler Options Programs Settings

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

This entry was posted in Computers, Programming, Technical and tagged , , , , , , , , , , , , , , , , , , , , . Bookmark the permalink.

37 Responses to Dev C++ Makefile.win [Build Error] [main.o] Error 1

  1. one says:

    didn’t work 😦
    bye

  2. one says:

    I had to add:
    c:\dev-cpp\bin\
    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…
    Thnx..

  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í

    mingw32-make

    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. Curran says:

    did not work for me. I’m still getting the same error

  20. Nikunj says:

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

  21. Pingback: Fix Linker Error In Dev C Windows XP, Vista, 7, 8 [Solved]

  22. Thallys says:

    Thanks’

  23. rizwan says:

    did not work with windows 8.1

  24. Laura says:

    It didn’t worked, now I have following problem…:(
    Aborted (program collect2)
    C:\Dev-Cpp\Examples\Makefile.win [Build Error] n\make.exe: *** [main.exe] Error 1

  25. AJAY says:

    Thanks !!!! It Worked.

  26. Lx says:

    This helped. Many thanks.

  27. cpuman says:

    C:\Dev-Cpp\Bin\
    Aborted (program collect2)
    C:\Users\David\Documents\Makefile.win [Build Error] n\make.exe: *** [minimo.exe] Error 1

  28. cpuman says:

    C:\Users\David\Documents\Makefile.win [Build Error] n\make.exe: *** [minimo.exe] Error 1

  29. khadidja says:

    thank you, it’s helpfull, my code works now 🙂

  30. swathi says:

    Did not work

  31. Julian says:

    No me resulto 😦 ahora el error es otro:
    ….\Makefile.win [Build Error] n\make.exe: *** [prueba.exe] Error 1
    Ahora voy a tratar de solucionar este

  32. Karina says:

    Auxlio por favor, ya quiero llorar, porque no logro complar en dev c++ 4.9.9.2. tena 5.11 pero me marcaba que no estaba una carpeta, luego tuve problemas con la libreria allegro y en fin, regrese a esa version, nstalé allegro pero resulta que no me deja compilar. Ya puse lo que explicaste pero me sigue marcando un errro que dice makefile.wn error 1073741819 y ya no se que mas le hace falta para funcionar, tengo mucha prisa de avanzar y no se que mas hacer. ayudaaaa

  33. Karina says:

    Encontr{e como resolver lo de makefle.wn, pero ahora me dice que no puede encontrar el archivo allegro.h cuando pongo las cabeceras, pero si est{a el archivo, todo ya lo revis{e muchas vees y nada que logro compilar.

Leave a comment