0

I am struggling including a file in one project. I don't know why eclipse is not able to find the header file. The file is named boards.h, inside a folder named bsp, and everything seems fine

enter image description here

enter image description here

Nuñito Calzada
  • 4,394
  • 47
  • 174
  • 301

2 Answers2

0

Your include path starts with a / which is the root of your filesystem and I'm pretty sure your ipv6_coap__client folder isn't in the root of your filesystem. I think simply specifying only the subfolder bsp should do as the compiler tends to work relative to your projects location. If that fails try ${workspace_loc}/ipv6_coap_client/bsp

Eelke
  • 20,897
  • 4
  • 50
  • 76
0

set project specific paths under C/C++ Build > Settings > C Compiler > Includes Solved the problem

Nuñito Calzada
  • 4,394
  • 47
  • 174
  • 301