Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Multiple Target Patterns Error Due To Cygwin Include Path
Multiple Target Patterns Error Due To Cygwin Include Path [message #227589] Wed, 03 December 2008 01:06 Go to next message
Dills is currently offline DillsFriend
Messages: 2
Registered: July 2009
Junior Member
I have a problem doing something that I though would be very simple. I
have found that other people have discussed this problem in the past, even
that something may have been done about it. However, I am currently using
a much later version of eclipse than when the fix was patched and I seem
to still have the problem. Is it something I am doing wrong? Or does the
problem still exist and do I have to use a work around?

Past Discussion:
http://dev.eclipse.org/newslists/news.eclipse.tools.cdt/msg1 2343.html
http://dev.eclipse.org/newslists/news.eclipse.tools.cdt/msg1 3166.html
https://bugs.eclipse.org/bugs/show_bug.cgi?id=156187


Using Eclipse Ganymede Version: 3.4.1
Build id: M20080911-1700

In Windows Vista

I get multiple target pattern error when using Cygwin Tool Chain and
adding include paths. For instance my .d file looks like:

src/HelloIncTest.d src/HelloIncTest.o: ../src/HelloIncTest.cpp \

C:/Users/Entecho/Desktop/Programming/EclipseWorkspace/HelloI ncTest/Inc/myheader.h

C:/Users/Entecho/Desktop/Programming/EclipseWorkspace/HelloI ncTest/Inc/myheader.h:


I added this path using the Project-Properties-Paths and Symbols - Include
Paths. I added to all configurations and languages as a workspace path
i.e. in this section of options it says: /HelloIncTest/Inc

In the C/C++ Build - Settings options it says under All Options:

-I" C:\Users\Entecho\Desktop\Programming\EclipseWorkspace\HelloI ncTest\Inc "
-O0 -g3 -Wall -c -fmessage-length=0

and under Directories it has

"${workspace_loc:/HelloIncTest/Inc}"

Do I have to use a work around or should Eclipse now be managing the
windows paths and Cygwin make/build process correctly?

Any help much appreciated.

Kind Regards

Dylan Reynolds
Re: Multiple Target Patterns Error Due To Cygwin Include Path [message #228455 is a reply to message #227589] Wed, 07 January 2009 15:44 Go to previous messageGo to next message
Chris Vignola is currently offline Chris VignolaFriend
Messages: 1
Registered: July 2009
Junior Member
I have the same problem. Same eclipse level. I still have not found a
solution. Have you ?
Re: Multiple Target Patterns Error Due To Cygwin Include Path [message #230740 is a reply to message #228455] Tue, 24 February 2009 22:36 Go to previous message
Eclipse UserFriend
Originally posted by: ken.lynch.zigzagsw.com

I just ran into this again. I tried to redefine workspace_loc using
cygdrive\c, but I couldnt get it to work. I would really like a solution to
this as I am trying to introduce Eclipse to my software team. Workspace
paths seem like a good thing to use when sharing projects. Relative paths
are tedious, but that is what I am using to get around it for now.

-Ken



"Chris Vignola" <chris.vignola@gmail.com> wrote in message
news:f389190402e6fe59982f4e6de216b2b1$1@www.eclipse.org...
>I have the same problem. Same eclipse level. I still have not found a
>solution. Have you ?
>
Previous Topic:Programmatically set discovery options for a C project
Next Topic:Cannot see plugin source code
Goto Forum:
  


Current Time: Thu Sep 26 02:24:41 GMT 2024

Powered by FUDForum. Page generated in 0.03270 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top