dev c ++编译器错误 [英] dev c++ compiler error

查看:839
本文介绍了dev c ++编译器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到这个错误在编译(实际上这是一个非常简单的项目,语法是绝对确定)

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错误] [main.o]错误1

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

这是我的编译器日志(dev c ++ v 4.9.9.2)

this is my compiler log (dev c++ v 4.9.9.2)


Compiler: Default compiler
Building Makefile: "E:\proj1\Makefile.win"
Executing  make...
make.exe -f "E:\proj1\Makefile.win" all
g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include"  -I"C:/Dev-Cpp/include/c++/3.4.2/backward"  -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32"  -I"C:/Dev-Cpp/include/c++/3.4.2"  -I"C:/Dev-Cpp/include"   

'C:\Users\r' is not recognized as an internal or external command,
operable program or batch file.

The system cannot find the path specified.
make.exe: *** [main.o] Error 1

Execution terminated

我的用户路径是'c:\Users\r& d',我认为'&'在编译过程中遇到麻烦,任何人有任何想法,我不能重新安装Windows,因为我有很多软件安装在我的当前窗口,这是非常耗时,我如何解决这个/

my user path is 'c:\Users\r&d', i think the '&' is makeing trouble in compile process , does anybody has any idea ?, i can not reinstall windows because i have got many softwares installed on my current windows and it is very time consuming to me, how can i fix this /

推荐答案

Windows中的转义字符 ^ 。所以尝试

The escape character in Windows is ^. So try

C:\Users\r^&d

这篇关于dev c ++编译器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆