dev c++ compiler error

前端 未结 4 1483
野趣味
野趣味 2021-01-29 07:20

i am getting this error at compile (actually this is a very simple project and the syntax is absolutely ok)

E:\\proj1\\Makefile.win [Build Error] [main.o] Error 1

相关标签:
4条回答
  • 2021-01-29 07:36

    The escape character in Windows is ^. So try

    C:\Users\r^&d
    
    0 讨论(0)
  • 2021-01-29 07:45

    You can try creating another user without the ampersand, and then copying your profile to it to keep all your settings and application preferences, as well as documents.

    0 讨论(0)
  • 2021-01-29 07:51

    You might want to try another build enviroment, like code:blocks which has its own internal build system. You probably want make sure you are using the latest gcc mingw compiler and build system from mingw(use their installer, I think it was http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/mingw-get-inst-20120426/ ), and even if you don't go with code::blocks, make sure you are using the new branch of devc++ that was forked and still being developed. One last thing is if you go with code::blocks, use a nightly build in the forum, http://forums.codeblocks.org/index.php/board,20.0.html as they are much more up to date.

    0 讨论(0)
  • 2021-01-29 07:53

    r&d is definitely a problem. Try surrounding it with quotes: "c:\users\r&d" and hope for the best. If it doesn't work, change the folder to something without an ampersand (you don't need to reinstall Windows for that, just create another user).

    0 讨论(0)
提交回复
热议问题