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

Instructions to compile #2

Open
mroavi opened this issue Apr 27, 2017 · 6 comments
Open

Instructions to compile #2

mroavi opened this issue Apr 27, 2017 · 6 comments

Comments

@mroavi
Copy link

mroavi commented Apr 27, 2017

Hi Ricardo. Could you please give me some instructions on how to compile your code? Thanks.

@ricardojlrufino
Copy link
Owner

Hi,

You can create a project in your ide (eclipse / netbeans), copy src, and add libs to classpath

@prabhakar-AKAEROTEK
Copy link

Dear All,
Thanks for the parser example, Hower I am getting the following error
Multiple markers at this line
- The type org.eclipse.core.runtime.CoreException cannot be resolved. It is indirectly referenced
from required .class files
- The method getASTTranslationUnit(FileContent, IScannerInfo, IncludeFileContentProvider,
IIndex, int, IParserLogService) from the type AbstractCLikeLanguage refers to the missing type
CoreException.

Please let me know how to correct it. I am using Eclipse Neon 3.0.
thanks in advance

@ricardojlrufino
Copy link
Owner

Did you add the two libs?

@prabhakar-AKAEROTEK
Copy link

Thanks,. I think I imported .This error is probably due to an issue while importing CoreException.
And one of the reason could be “org.eclipse.core.runtime” is not added into dependencies of the project.
Thanks for that.
Also wanted to know if anyone used C++ code parsers and successfully tried .

@ricardojlrufino
Copy link
Owner

I just tested and it's working.
I sent the eclipse files, so just import as an eclipse project
Execute:
/eclipse-cdt-standalone-astparser/src/ASTViewer.java

@ricardojlrufino
Copy link
Owner

import as MAVEN PROJECT

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