[osg-users] Failed to build openscenegraph on Alpine

Alberto Luaces aluaces at udc.es
Tue Jun 27 07:08:10 PDT 2017


Roberto Oliveira writes:

> Alberto,
>
> The build worked fine in Alpine Linux x86_64, but when I tried to buid
> in Alpine Linux ppc64le, I got the following error:
>
> /home/alpine/aports/testing/openscenegraph/src/OpenSceneGraph-3.4.0/include/osgQt/Version:8:2:
> error: #error "Qt version mismatch detected! Make sure to compile
> applications using osgQt with the same major Qt version that osgQt has
> been compiled against."
>
> In both Alpine x86_64 and ppc64le qt 4.8.7 is the available version.
>
> Any clue why it is failing?
>

Hi Roberto,

Looking at that file,

#define OSGQT_QT_VERSION 5

#include <QtGlobal>
#if (QT_VERSION < QT_VERSION_CHECK(OSGQT_QT_VERSION,0,0))
#error "Qt version mismatch detected! Make sure to compile applications using osgQt with the same major Qt version that osgQt has been compiled against."
#endif

...it seems that despite the message, it is only going to work if Qt≥5.
Your best bet is to try to disable osgQt altogether.

-- 
Alberto




More information about the osg-users mailing list