Some problems with Eclipse IDE

51 views
Skip to first unread message

Pawan Kumar

unread,
Jul 18, 2019, 10:22:00 AM7/18/19
to deal.II User Group
Dear all,

I have recently updated my Ubuntu, deal.II and eclipse, I am getting some warnings (red colored underlined as in attached screenshot). The eclipse project was made using cmake and the paths are also seem correct(another screenshot attached). These are not causing any error but bit irritating to see red lines everywhere. 

I could not find any solution for this. Could someone please guide me how to remove these warnings.

Thanks in advance.

Pawan


Screenshot from 2019-07-18 16-01-45.png
Screenshot from 2019-07-18 16-14-56.png

Wolfgang Bangerth

unread,
Jul 19, 2019, 11:50:22 AM7/19/19
to dea...@googlegroups.com
Pawan,
I don't think anyone here really understands how Eclipse parses things. It
seems to work for most of us, but not because we know how to set things up,
but because something in the internals of cmake and eclipse seem to have
magically gotten stuff right.

Out of curiosity, is the directory that eclipse shows for includes the
*source* or the *installed* directory? It seems to know where to find the
header files (or they would be underlined as well), so it knows *something*.
If you open the first of the header files you include, does it seem to know
about everything in there correctly?

Best
W.


--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Pawan Kumar

unread,
Jul 22, 2019, 5:39:37 AM7/22/19
to dea...@googlegroups.com
Dear Prof. Bangerth,

Thank you very much for your reply.  Till now, the internal things between cmake and eclipse is really a magic for me and it was working fine.

The directory that eclipse shows for includes (in the screenshots) are the installed directory of deal.II. It was the same in the earlier set up also & never causes any problems.

Finally, I set it up manually, as mentioned here(Setting up a project using deal.II by hand) and its perfect now. 

Thanks & Regards
Pawan

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/a8d2af01-ffe5-9d51-6b6d-2a7fe95bd0d2%40colostate.edu.

Konrad

unread,
Jul 22, 2019, 6:19:02 AM7/22/19
to deal.II User Group
Dear Pawan,

setting up things by hand may be annoying. I have a github repo for this that you can use if you like. It works (also after I updated Ubuntu) with the newest version of eclipse. If you have an older version of eclipse it may have problems with out-of-source-builds but I strongly discourage in-source-builds (for the tutorials that might be ok but not for more complex code).


(just a suggestion that I use for my stuff, no setup of unit tests implemented so far but that is easy to add)

Best,
Konrad

Pawan Kumar

unread,
Jul 22, 2019, 10:40:37 AM7/22/19
to dea...@googlegroups.com
Dear Konrad, 

Thanks for your reply.  I will give it a try and follow your suggestions.

Thanks & Regards
Pawan

--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dealii+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages