Cannot compile a program with Clang


  • OpenMandriva Lx version:
    OMV-4 (cooker)

  • Desktop environment (KDE, LXQT…):
    Plasma 5

  • Description of the issue:
    Cannot compile the Skulpture style for Qt5, specifically in OMV.
    The sources are here:
    What I regularly do is cd to src/ and running the following commands:
    But in spite of the fact I have all build dependencies, the compilation fails, as it can’t find the features.h file (it is located in /usr/include/clang/8.2.0/parallel). I inspected the Makefile and decided to add the above path in the include direcctory list, but that did not help.
    The question is, what causes the compilation error: the quite old Skulpture-five sources, or something missing in OMV?
    Can you please help?

you’re missing glib-devel.

sudo dnf install glibc-devel

No, I’m not. I have glibc-devel installed.
I even tried this:
export CC=gcc
export CXX=g++,
But whenever I run make, it always updates Makefile with various settings for Clang.

I made a clean build again and this time it worked fine. The problem is solved! Thank you!