[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.cdt] Spaces in project pathname

Hello!

I am trying to make the switch from MSVS to Eclipse CDT (latest stable version), but I've ran into a lot of trouble with the pathnames I use.

I have cygwin installed on "C:\cygwin" and Eclipse on "C:\Program Files\Eclipse". The problem has to do with my workspace directory, which is "D:\username\My Projects\C++" and contains a space.

When using the cygwin toolchain, CDT fails to quote the project path properly in the makefile. I also get regular cygpath crashes during builds ("cygpath.exe has performed an illegal operation ..."), but this does not stop the build process.

I have been using this convention ("My Projects", "My Music", "My Mail" etc.) for a long time and I really don't want to change it now. I even used it when dual-booting Fedora Core a while back and I don't remember having problems with it.

I think there may be some hope (that's why I am posting) because when using the mingw toolchain (in "C:\Program Files\MinGW") I didn't have any problems. Unfortunately I had trouble building the boost libraries against mingw for the same reason (spaces in path).

I hope someone has a workaround or at least knows if there are plans to fix this in CDT, since I've been using Eclipse for near a year now (for Java) and I don't want to go back to Visual Studio.

Many thanks in advance!