2019-03 (4.11.0) source file not found using cygwin [message #1805486] |
Tue, 16 April 2019 07:23 |
gary mazz Messages: 7 Registered: July 2009 |
Junior Member |
|
|
I need a bit of help... and a fix/work around.
I'm attempting to create and build a default make project using the cygwin tool chain.
I get error on build:
Building in: C:\Users\xxxx\eclipse-workspace\test\build\make.debug.win32.x86_64
make -f ..\..\Makefile
g++.exe -c -g -o test.o /cygdrive/c/Users/xxxx/eclipse-workspace/test/test.cpp
g++.exe: error: /cygdrive/c/Users/xxxx/eclipse-workspace/test/test.cpp: No such file or directory
g++.exe: fatal error: no input files
compilation terminated.
make: *** [..\..\Makefile:19: test.o] Error 1
Build complete (1 errors, 0 warnings): C:\Users\xxxx\eclipse-workspace\test\build\make.debug.win32.x86_64
I've tried the old work around:
Window->Preferences->C/C++->Debug->Common source Lookup Path and add a path mapping that maps /cygdrive/<drive letter> to <drive letter>\:.
For example, > /cygdrive/c -> C\:.
That doesn't work..
[Updated on: Tue, 16 April 2019 08:30] Report message to a moderator
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04537 seconds