Go Down

Topic: Sloeber 4.3.0: missing core includes (Read 784 times) previous topic - next topic

jonbarril

Background:
Just installed a fresh Eclipse Proton (4.8.0) and Sloeber plugin (4.3.0). Checked out several Arduino projects that were developed using an earlier version of Sloeber. Followed the instructions to convert the projects for use with the latest Sloeber (e.g. selecting Sloeber tool chain, etc.).

Problem:
Project compilation failed because Arduino.h and pins_arduino.h could not be found.

Workaround:
Added "${workspace_loc:/${ProjName}/core/core}" and "${workspace_loc:/${ProjName}/core/variant}" to each project Properties->C/C++ Build->Settings->Tool Settings under the "include folders" for C++, C, and Assembler.

Question:
This is obviously and awkward and inadequate workaround. What is the correct way to make Sloeber include/use the Arduino core include files in all projects?

spycatcher2k

Perhaps asking in a forum that supports Sloeber would give you a better response! Just because you use a product that has been modified to use/include/program/interface with Arduino, does NOT make it an Arduino supported product.  :)
Mrs Drew
-=-
http://www.uk-pcb.co.uk - UK PCB Fab Company
I will design & code for you, but I will also charge you (PM me)
If you don't like my answers, realize : I'm not being cheeky, I'm Just trying to prompt you to use your own brain/google etc.

jonbarril

Fair enough. I looked around a bit and figured this was the "best" place. Will look around more for a more appropriate forum for Sloeber.

--jon

Go Up