I'm using eclipse to develop my project, which bases on my custom makefile system. I have to use custom Makefile project because I want to tevelop LLVM porject pased on the LLVM makefile system, see: http://llvm.org/docs/Projects.html.
I created an "empty makefile" project in eclipse, I'v chosen the build location (Project->Properties->C/C++ Build->Build Location) and added every needed library sources (Project->Properties->C/C++ General->Paths and sources).
The project build and executes like it should. The problem is that a lot of lines is underscored with red colour as errors. This is obvious because eclipse chcecks for erros executing gcc and it does not executes it unless I'm using Makefiles (or maybe I am wrong ...).
Anyway - is there any way to check for syntax (and other types of) errors while using eclipse with makefiles?
Check out this question, or google "eclipse unresolved symbols". You need to add the paths of your includes to your project settings, so Eclipse editor/indexer can find them.
The question in the link is for unresolved includes, but it also applies to all unresolved symbols.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With