简体   繁体   English

Eclipse CDT问题与建设项目

[英]Eclipse CDT issue with building project

I'm getting a strange problem with my C/C++ dev environment. 我的C / C ++开发环境遇到一个奇怪的问题。 I had installed gcc, g++ on my linux box(ubuntu 14.04). 我已经在Linux机器上安装了gcc,g ++(ubuntu 14.04)。 With the hello world program being built on my system I'm getting this error: 在我的系统上构建了hello world程序后,出现了以下错误:

make all 
/bin/sh: 1: Syntax error: Unterminated quoted string
make: *** [src/Banker's.o] Error 2

has anyone encountered to this problem before could help me with this? 有人遇到过这个问题之前可以帮助我吗?

It looks like your problem is in the name of the file you're trying to compile: Banker's.c . 看来您的问题出在您要编译的文件的名称上: Banker's.c Rename the source to Bankers.c without the single quote in it. 将源重命名为Bankers.c不包含单引号。

mv src/"Banker's.c" src/"Bankers.c"

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM