This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Eclipse with SDK5.2 nan-29

Hello,

I'm trying to get the SDK examples working in Eclipse. I have followed all steps(except debugging part) in the nan-29, but i can only import the s110/ble_hrs example with missing headers(see attachment)? Is there any information about how to import for example the ble_template project and set all header/source files correctly? All help will be appreciated!

Regards, Pascal

GCC_import.png

Parents
  • Hi,

    For me this worked with Eclipse Juno and not Kepler.

    Juno has a tab in project properties called "C/C++ Build"->"Discovery Options". When enabling the "Automate discovery of paths and symbols" all worked smooth.

    I have also removed all the pre-defined include paths in the "C/C++ General"->"Paths and Symbols"->"GNU C"->"Includes". Only kept the compiler specific ones. When running the build, eclipse will automatically populate the include list needed for resolving includes.

    I have tried to solve this with Kepler as well, but so far without any luck. From this link www.eclipse.org/.../367813I it seems that this feature is deprecated for the Kepler release.

    Regards, Glenn

    eclipse_resolving.png

    eclipse_includes.png

Reply
  • Hi,

    For me this worked with Eclipse Juno and not Kepler.

    Juno has a tab in project properties called "C/C++ Build"->"Discovery Options". When enabling the "Automate discovery of paths and symbols" all worked smooth.

    I have also removed all the pre-defined include paths in the "C/C++ General"->"Paths and Symbols"->"GNU C"->"Includes". Only kept the compiler specific ones. When running the build, eclipse will automatically populate the include list needed for resolving includes.

    I have tried to solve this with Kepler as well, but so far without any luck. From this link www.eclipse.org/.../367813I it seems that this feature is deprecated for the Kepler release.

    Regards, Glenn

    eclipse_resolving.png

    eclipse_includes.png

Children
Related