[Bug 260355] [x11-toolkits/qt5-quick3d] v5.15.2, compilation failure against assimp v5.1.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 12 11:34:59 GMT 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260355

            Bug ID: 260355
           Summary: [x11-toolkits/qt5-quick3d] v5.15.2, compilation
                    failure against assimp v5.1.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: bsdpr at phoe.frmug.org
          Assignee: kde at FreeBSD.org
             Flags: maintainer-feedback?(kde at FreeBSD.org)

Qt5 v5.15.2 can not be installed because qt5-quick3d can not be compiled
against against assimp 5.1.0.

The reported error is:

c++ -c -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=c++1z
-fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wex
tra -Wdate-time -Winconsistent-missing-override -pthread -fPIC
-DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_DEPRECATED_WARNINGS
-DQT_NO_NARROWING_CONVER
SIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-DQT_NO_DEBUG -DQT_PLUGIN -DQT_QUICK3DASSETIMPORT_LIB -DQT_QUICK3DREND
ER_LIB -DQT_QUICK3DUTILS_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB
-DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../../../include/Qt
Quick3DAssetImport/5.15.2
-I../../../../include/QtQuick3DAssetImport/5.15.2/QtQuick3DAssetImport
-I../../../../include/QtQuick3DRender/5.15.2 -I../.
./../../include/QtQuick3DRender/5.15.2/QtQuick3DRender
-I../../../../include/QtQuick3DUtils/5.15.2
-I../../../../include/QtQuick3DUtils/5.15.2/QtQui
ck3DUtils -I../../../../include -I../../../../include/QtQuick3DAssetImport
-I../../../../include/QtQuick3DRender -I../../../../include/QtQuick3DUtil
s -I/usr/local/include/qt5/QtGui/5.15.2
-I/usr/local/include/qt5/QtGui/5.15.2/QtGui -I/usr/local/include/qt5
-I/usr/local/include/qt5/QtQuick -I/usr
/local/include/qt5/QtGui -I/usr/local/include/qt5/QtCore/5.15.2
-I/usr/local/include/qt5/QtCore/5.15.2/QtCore
-I/usr/local/include/qt5/QtQmlModels -
I/usr/local/include/qt5/QtQml -I/usr/local/include/qt5/QtNetwork
-I/usr/local/include/qt5/QtCore -I.moc -I/usr/local/include
-I/usr/local/include -I
/usr/local/lib/qt5/mkspecs/freebsd-clang -o .obj/assimpimporter.o
assimpimporter.cpp
assimpimporter.cpp:952:36: error: use of undeclared identifier
'AI_MATKEY_GLTF_PBRMETALLICROUGHNESS_BASE_COLOR_FACTOR'
            result =
material->Get(AI_MATKEY_GLTF_PBRMETALLICROUGHNESS_BASE_COLOR_FACTOR,
baseColorFactor);
                                   ^
assimpimporter.cpp:960:62: error: use of undeclared identifier
'AI_MATKEY_GLTF_PBRMETALLICROUGHNESS_BASE_COLOR_TEXTURE'
            QString baseColorImage = generateImage(material,
AI_MATKEY_GLTF_PBRMETALLICROUGHNESS_BASE_COLOR_TEXTURE, tabLevel + 1);
                                                             ^
assimpimporter.cpp:978:36: error: use of undeclared identifier
'AI_MATKEY_GLTF_PBRMETALLICROUGHNESS_METALLIC_FACTOR'
            result =
material->Get(AI_MATKEY_GLTF_PBRMETALLICROUGHNESS_METALLIC_FACTOR,
metallicFactor);
                                   ^
assimpimporter.cpp:988:36: error: use of undeclared identifier
'AI_MATKEY_GLTF_PBRMETALLICROUGHNESS_ROUGHNESS_FACTOR'
            result =
material->Get(AI_MATKEY_GLTF_PBRMETALLICROUGHNESS_ROUGHNESS_FACTOR,
roughnessFactor);
                                   ^
assimpimporter.cpp:1075:36: error: use of undeclared identifier
'AI_MATKEY_GLTF_UNLIT'
            result = material->Get(AI_MATKEY_GLTF_UNLIT, isUnlit);
                                   ^
assimpimporter.cpp:1082:32: error: use of undeclared identifier
'AI_MATKEY_GLTF_PBRSPECULARGLOSSINESS'
        result = material->Get(AI_MATKEY_GLTF_PBRSPECULARGLOSSINESS,
hasSpecularGlossiness);
                               ^   
assimpimporter.cpp:1112:40: error: use of undeclared identifier
'AI_MATKEY_GLTF_PBRSPECULARGLOSSINESS_GLOSSINESS_FACTOR'
                result =
material->Get(AI_MATKEY_GLTF_PBRSPECULARGLOSSINESS_GLOSSINESS_FACTOR,
glossiness);

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list