CMake error when installing software on Linux

Hello everyone, this is Evan. I want to download OpenMC and calculate the power density distribution of a reactor.

However, when I followed the steps in section " Installing from Source on Ubuntu" and " Installing from Source on Linux or Mac OS X" in the “Quick install guide” from the website " Quick Install Guide — OpenMC Documentation", errors occurred as this after I entered “cmake …”.

How I can correct this error? Any suggestions will be appreciated, thank you.

Welcome to the community Evan

I guess you have downloaded the develop branch from github recently

We had a very short lived bug for compiling between two pull requests getting merged in

Could you try updating your downloaded version as it will include this PR Add C to list of cmake project languages by paulromano · Pull Request #2969 · openmc-dev/openmc (github.com)

1 Like

Thank you, the issue is solved by your hint and instruction.