make:*** [src / Class.o]错误1 eclipse

时间:2013-04-21 03:52:51

标签: c++ eclipse eclipse-cdt

好的,所以我在我的机器上安装了CDT for C ++开发。我试图让它工作并遵循这些instructions来设置一切。错误地我进入了Project>Properties>C++ Build>Enviorement并且错误地点击了恢复默认值。我不知道这是否改变了什么但我在运行课时遇到以下错误。

我尝试在给定路径“C:\ Users \ Nathan \ workspace \ Project \ Debug”中切换斜杠以转发斜杠,但这没有做任何事情。我仍然得到同样的错误。关于我做错什么的任何暗示?

19:12:58 **** Incremental Build of configuration Debug for project Project ****
make all 
Building file: ../src/Project.cpp
Invoking: Cross G++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/Project.d" -MT"src/Project.d" -o "src/Project.o" "../src/Project.cpp"
cygwin warning:
  MS-DOS style path detected: C:\Users\Nathan\workspace\Project\Debug
  Preferred POSIX equivalent is: /cygdrive/c/Users/Nathan/workspace/Project/Debug
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
In file included from /usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/cwchar:44:0,
                 from /usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/bits/postypes.h:42,
                 from /usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/iosfwd:42,
                 from /usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/ios:39,
                 from /usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/ostream:40,
                 from /usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/iostream:40,
                 from ../src/Project.cpp:9:
/usr/lib/gcc/i686-pc-cygwin/4.5.3/include/c++/cstddef:44:20: fatal error: stddef.h: No such file or directory
src/subdir.mk:18: recipe for target `src/Project.o' failed
compilation terminated.
make: *** [src/Project.o] Error 1

19:12:59 Build Finished (took 535ms)

0 个答案:

没有答案