Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Dumb automatic setup of search paths
Dumb automatic setup of search paths [message #200267] Fri, 24 August 2007 21:04 Go to next message
Eclipse UserFriend
Originally posted by: gw.eclipse.tnode.com

Hello.

I found that automatic setting the PATH enviroment variable under Windows when you try to use Cygwin is a little dumb. It checks if PATH already contains "C:\cygwin" at the beginning and nothing else, it's not even a case-insensitive search. Imho it should check if it finds the CYGHOMEDIR variable and prepend with it.

There is also a bug that I haven't figured out yet how to solve. I renamed C:\Cygwin to C:\cygwin (or maybe in the other direction) and now in only one project eclipse keeps complaining: "Invalid project path: Duplicate path entries." After looking the include paths there are the same directories specified 2 times and when looking under Properties/Paths and symbols under Includes if Show build-in values is enabled they are listed 2 times - once with "C" and then with "c". Other projects look fine and also this project does if I check it out freshly from SVN.


gw
Re: Dumb automatic setup of search paths [message #200276 is a reply to message #200267] Fri, 24 August 2007 21:14 Go to previous message
Eclipse UserFriend
Originally posted by: gw.eclipse.tnode.com

GW wrote:
> There is also a bug that I haven't figured out yet how to solve. I renamed C:\Cygwin to C:\cygwin (or maybe in the other direction) and now in only one project eclipse keeps complaining: "Invalid project path: Duplicate path entries." After looking the include paths there are the same directories specified 2 times and when looking under Properties/Paths and symbols under Includes if Show build-in values is enabled they are listed 2 times - once with "C" and then with "c". Other projects look fine and also this project does if I check it out freshly from SVN.

Hm, I managed to solve this problem. I needed to select another Tool chain and apply changes, then select the previous one again and apply changes. This then reset this dual settings.


gw
Previous Topic:binding 'build selected file' to a key?
Next Topic:Creating custom launch configurations and setting environment
Goto Forum:
  


Current Time: Thu May 08 04:14:33 EDT 2025

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

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

Back to the top