1
I'm trying to create a remote existing project in NetBeans.
For some reasons, the project is built this way on the remote Linux machine:
Project's sources: /home/bob/workspace/myprojectFolder
Project's makefile: /home/bob/workspace/makefile
I defined a NetBeans project this way:
- The remote host is defined correctly.
- NetBeans project location:
/home/bob/workspace/myprojectFolder/NBproj
- Make's working directory:
/home/bob/workspace
(actually it's../..
in the NetBeans: from MBproj, two back)
The in the makefile
path, there's another file called common.mk
. makefile
includes common.mk
with: include common.mk
(same path).
When trying to compile with NetBeans I get an error: makefile:2: common.mk: No such file or directory
and I can't compile remotely.
When doing the same thing with NetBeans installed on the Linux machine. and using local host instead of remote host. with the same project properties, the project get's compiled.
- Is it possible to see the CWD while compiling with NetBeans?
- Why does it happen? What's the difference between the remote / local?
Please edit and clarify further but is this what you are saying? – Pimp Juice IT – 2019-09-11T04:30:23.390