Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eclipse Indexer not working with sample code #99

Closed
avradip opened this issue Apr 26, 2017 · 2 comments
Closed

Eclipse Indexer not working with sample code #99

avradip opened this issue Apr 26, 2017 · 2 comments

Comments

@avradip
Copy link

avradip commented Apr 26, 2017

Steps to reproduce:

  1. Build latest Eclipse Plugin and install
  2. Import Localattestation Project
  3. Build and run works perfectly but eclipse shows 100s of errors (see attached screenshot)

Indexer can not find stdio.h, map, inttypes.h even after manually adding required include directories
eclipseerrorsgx

@xiangquanliu
Copy link
Contributor

Project->Properties->C/C++ General->Processor Include Paths,Macros etc.->Entries Tab, in "CDT User Setting Entries" add the SGX SDK include path.
Project->Properties->C/C++ General->Processor Include Paths,Macros etc.->Providers Tab, select "CDT GCC Built-in Compiler Settings".
After these two steps, then rebuild the indexer and the issue can be resolved.

@avradip
Copy link
Author

avradip commented Apr 27, 2017

Thank you :). It's now working. Can it work out of the box by making .cproject changes in commited files?

@llly llly closed this as completed Oct 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants