First time here? Checkout the FAQ!
0 votes
by (440 points)

Hi all,

During the installation of the latest version from source on macOS (12.4), while running cmake --build _build, the following error message occurred:

* creating archive: utils/libmtutils.a

* linking: meshtool

warning: unknown warning option '-Wno-format-overflow'; did you mean '-Wno-shift-overflow'? [-Wunknown-warning-option]

1 warning generated.

ld: library not found for -lomp

clang-13: error: linker command failed with exit code 1 (use -v to see invocation)

make[4]: *** [meshtool] Error 1

make[3]: *** [parbuild] Error 2

make[2]: *** [external/meshtool/src/meshtool-stamp/meshtool-build] Error 2

make[1]: *** [external/CMakeFiles/meshtool.dir/all] Error 2

make: *** [all] Error 2

Thank you so much for your help.

1 Answer

0 votes
by (3.4k points)


It seems that your compiler does not support openMP, which is necessary to build the external tool meshtool.

You can either look for a solution for using another compiler supporting openMP, or decide to install openCARP without the external tools by using:


In this case, you will have to install carputils separately (see the instructions:

meshtool won't be included and you also have to install it separately if you need it:

by (3.4k points)
As a side note, I am using Homebrew and was able to install the OpenMP library with:

brew install libomp
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance