Cannot compile a program with Clang

Hello,

  • 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: https://github.com/cfeck/skulpture/tree/five
    What I regularly do is cd to src/ and running the following commands:
    qmake-qt5
    make
    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?

Hi,
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!