Local external header files for a remote Makefile build

Completed

Hi,

How's everyone doing? I've been experimenting trying to get CLion to build a project on a remote platform and have run into a local issue. I'll try to explain below:

Host: Windows 10; CLion (latest build); local downloaded Makefile project

Remote: Red Hat Enterprise 5 (I know its old, but I can't change it)

What I can do:

- build remote and catch compilation errors

- remote debug and set breakpoints from host code

- jump through code on host for source files in the project root directory

What I can't do:

- include external header files to resolve data types on the host machine to have full code coverage without affecting remote build

Hack that works:

- manually add in the external folder(s) into each subfolder

-- this resolves the data types and get's rid of the errors but is impractical and I can't present that as a solution

 

I've downloaded the external folder to the host but can't figure out how to include it into the project (like in Eclipse where you add in an include path). From my readings in the documentation/community posts, all I could find are mentions of how to update the Makefile with a -I<dir> but that seems to be for a local build issue. All of the includes in question are in the format: #include <ABC/abcd.hxx>.   Any ideas?

Thanks

 

0
1 comment

Did some more digging today and realized I am having permission denied errors on the remote box and that is the root of my problem, please ignore the above.

0

Please sign in to leave a comment.