Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

fedora 30 / gcc 9. : compilation fails

More
2 years 6 months ago #4008 by nitawa
Hi,
I am trying to compile Netgen 6.2.2101 on Fedora 30 & gcc 9.0.1 and unfortunately, I am experiencing a compilation issue.
Somehow gcc fails to interpret several macros.
Code:
/improve2.cpp:189:13: erreur: expected identifier before « { » token

I can of course use a more recent compiler, but is this a known issue, and do we have some workaround, that one can apply here to resolve the compilation issue ?

Thanks for your valuable help.
More
2 years 6 months ago #4009 by matthiash
Hi,

gcc 9.0.1 is a pre-release version. I suggest to update gcc to a newer version (for instance 9.3, which is compiling Netgen correctly on Ubuntu 20.04).

Best,
Matthias
The following user(s) said Thank You: nitawa
More
2 years 6 months ago #4010 by nitawa
Thanks for the hint.
Time to create page: 0.114 seconds