analogdevicesinc / msdk

Software Development Kit for Analog Device's MAX-series microcontrollers
Apache License 2.0
69 stars 84 forks source link

Include paths through properties tab not working #646

Closed Furkan-Alb closed 1 year ago

Furkan-Alb commented 1 year ago

In Maxim SDK, declaring an include file or folder through properties -> C/C++ General -> Paths and Symbols results in a directory or path not found error during compiling. The error appears to have affected multiple co-workers on the team and thus is not an issue on my local device. However, including the paths using the "IPATH" and "VPATH" functions in the project.mk file compiles with no errors.

Maxim SDK Version: 2022-12 (4.26.0) Build id: 20221201-1913

Desktop (please complete the following information):

Jake-Carter commented 1 year ago

Hi @Furkan-Alb apologies for the delay. We've been busy with our June MSDK release.

This looks like an Eclipse issue. I'll transfer this over to the main MSDK issues tracker.

Jake-Carter commented 1 year ago

The Properties -> C/C++ General -> Paths and Symbols option in Eclipse is only used by its code browsing engine. Our projects do not use Eclipse's managed build system for automatic Makefile generation, so you must manually add the entries on VPATH and IPATH as you've seen.