开发者

Eclipse cygwin error - make: *** No rule to make target `all'. Stop

开发者 https://www.devze.com 2023-02-08 13:54 出处:网络
From today afternoon I am trying to setup C/C++(cygwin gcc/g++) compiler for Eclipse Helios in Windows 7 inorder to run OpenGL applications in Eclipse(I have already configured Visual Stud开发者_运维百

From today afternoon I am trying to setup C/C++(cygwin gcc/g++) compiler for Eclipse Helios in Windows 7 inorder to run OpenGL applications in Eclipse(I have already configured Visual Stud开发者_运维百科io 2008 for running OpenGL applications and programs are also running in it), but I'm unable to run a small C program successfully in Eclipse. Till now I have added gcc/g++ include files and some library files in project properties under C/C++ general->paths and symbols

They are:

Includes

C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\include, 
C:\cygwin\usr\include,
C:\cygwin\usr\include\w32api,
C:\cygwin\lib\gcc\i686-pc-cygwin\3.4.4\include\c++\backward

Libraries

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\GlU32.Lib,
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\glut32.Lib,
C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib\opengl32.Lib

Library path

C:\cygwin\lib\w32api

After including all these and with successfully building the program, I'm unable to run the program, which gives me an error

"make: * No rule to make target `all'. Stop."

How should i solve this problem?

0

精彩评论

暂无评论...
验证码 换一张
取 消