I'm trying to build meshlab_mini.pro on openSUSE Leap 15 with Qt Creator 4.3.1 based on Qt 5.9.0. Unfortunately the build throws an error show in log below. I couldn't find anything about this error. I just thought someone can help me here. Thanks. Please let me know if you need any additional info.
17:28:52: Running steps for project meshlab_mini...
17:28:52: Configuration unchanged, skipping qmake step.
17:28:53: Starting: "/usr/bin/make"
cd common/ && ( test -e Makefile || /home/m3g1dd/Qt5.9.0/5.9/gcc_64/bin/qmake -o Makefile /home/m3g1dd/repos/meshlab-devel/meshlab/src/common/common.pro -spec linux-g++ CONFIG+=debug CONFIG+=qml_debug ) && /usr/bin/make -f Makefile
make[1]: Entering directory '/home/m3g1dd/repos/meshlab-devel/meshlab/build-meshlab_mini-Desktop_Qt_5_9_0_GCC_64bit-Debug/common'
g++ -c -pipe -g -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DMESHLAB_SCALAR=float -DGLEW_STATIC -DQT_QML_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_XML_LIB -DQT_XMLPATTERNS_LIB -DQT_NETWORK_LIB -DQT_SCRIPT_LIB -DQT_CORE_LIB -I../../src/common -I. -I../../../meshlab -I../../../vcglib -I../../src/external/glew-1.7.0/include -I../../src/common -I../../src/external/jhead-2.95 -I/home/m3g1dd/Qt5.9.0/5.9/gcc_64/include -I/home/m3g1dd/Qt5.9.0/5.9/gcc_64/include/QtOpenGL -I/home/m3g1dd/Qt5.9.0/5.9/gcc_64/include/QtWidgets -I/home/m3g1dd/Qt5.9.0/5.9/gcc_64/include/QtGui -I/home/m3g1dd/Qt5.9.0/5.9/gcc_64/include/QtXml -I/home/m3g1dd/Qt5.9.0/5.9/gcc_64/include/QtXmlPatterns -I/home/m3g1dd/Qt5.9.0/5.9/gcc_64/include/QtNetwork -I/home/m3g1dd/Qt5.9.0/5.9/gcc_64/include/QtScript -I/home/m3g1dd/Qt5.9.0/5.9/gcc_64/include/QtCore -I. -isystem /usr/include/libdrm -I/home/m3g1dd/Qt5.9.0/5.9/gcc_64/mkspecs/linux-g++ -o meshlabdocumentbundler.o ../../src/common/meshlabdocumentbundler.cpp
In file included from ../../../vcglib/vcg/complex/algorithms/update/color.h:33:0,
from ../../src/common/meshmodel.h:35,
from ../../src/common/meshlabdocumentbundler.cpp:9:
../../../vcglib/vcg/complex/algorithms/clean.h:1827:0: warning: ignoring #pragma omp parallel [-Wunknown-pragmas]
#pragma omp parallel for schedule(dynamic, 10)
In file included from ../../../vcglib/vcg/complex/used_types.h:46:0,
from ../../../vcglib/vcg/complex/complex.h:46,
from ../../src/common/ml_mesh_type.h:4,
from ../../src/common/meshmodel.h:32,
from ../../src/common/meshlabdocumentbundler.cpp:9:
../../../vcglib/vcg/simplex/tetrahedron/component.h:50:12: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
inline typename T::VertexType * const cV( const int ) { assert(0); static typename T::VertexType *vp=0; return vp; }
^~~~~~~~
../../../vcglib/vcg/simplex/tetrahedron/component.h:181:12: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
inline typename T::VertexType * const cV( const int j ) { assert(j>=0 && j<4); return v[j]; }
^~~~~~~~
In file included from ../../../vcglib/vcg/space/index/grid_util.h:29:0,
from ../../../vcglib/vcg/complex/algorithms/closest.h:32,
from ../../../vcglib/vcg/complex/algorithms/clean.h:31,
from ../../../vcglib/vcg/complex/algorithms/update/color.h:33,
from ../../src/common/meshmodel.h:35,
from ../../src/common/meshlabdocumentbundler.cpp:9:
../../../vcglib/vcg/space/index/space_iterators.h: In member function ‘bool vcg::ClosestIterator<Spatial_Idexing, DISTFUNCTOR, TMARKER>::Refresh()’:
../../../vcglib/vcg/space/index/space_iterators.h:403:4: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for( iz = to_explore.min.Z();iz <= to_explore.max.Z(); ++iz)
^~~
../../../vcglib/vcg/space/index/space_iterators.h:434:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
std::sort(Elems.begin(),Elems.end());
^~~
In file included from ../../../vcglib/vcg/complex/algorithms/closest.h:33:0,
from ../../../vcglib/vcg/complex/algorithms/clean.h:31,
from ../../../vcglib/vcg/complex/algorithms/update/color.h:33,
from ../../src/common/meshmodel.h:35,
from ../../src/common/meshlabdocumentbundler.cpp:9:
../../../vcglib/vcg/space/index/grid_closest.h: In function ‘unsigned int vcg::GridGetInBox(SPATIALINDEXING&, OBJMARKER&, const vcg::Box3<typename PolygonType::ScalarType>&, OBJPTRCONTAINER&)’:
../../../vcglib/vcg/space/index/grid_closest.h:235:11: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
for (iy=ibbox.min[1]; iy<=ibbox.max[1]; iy++)
^~~
../../../vcglib/vcg/space/index/grid_closest.h:251:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
return (static_cast<unsigned int>(_objectPtrs.size()));
^~~~~~
In file included from ../../src/common/meshlabdocumentbundler.h:4:0,
from ../../src/common/meshlabdocumentbundler.cpp:11:
../../../vcglib/wrap/io_trimesh/import_out.h: In static member function ‘static bool vcg::tri::io::ImporterOUT<OpenMeshType>::ReadHeader(const char*, unsigned int&, unsigned int&)’:
../../../vcglib/wrap/io_trimesh/import_out.h:91:18: error: no matching function for call to ‘vcg::tri::io::ImporterOUT<OpenMeshType>::ReadHeader(FILE*&)’
ReadHeader(fp);
^
../../../vcglib/wrap/io_trimesh/import_out.h:76:13: note: candidate: static bool vcg::tri::io::ImporterOUT<OpenMeshType>::ReadHeader(FILE*, unsigned int&, unsigned int&)
static bool ReadHeader(FILE *fp,unsigned int &num_cams, unsigned int &num_points){
^~~~~~~~~~
../../../vcglib/wrap/io_trimesh/import_out.h:76:13: note: candidate expects 3 arguments, 1 provided
../../../vcglib/wrap/io_trimesh/import_out.h:88:13: note: candidate: static bool vcg::tri::io::ImporterOUT<OpenMeshType>::ReadHeader(const char*, unsigned int&, unsigned int&)
static bool ReadHeader(const char * filename,unsigned int &/*num_cams*/, unsigned int &/*num_points*/){
^~~~~~~~~~
../../../vcglib/wrap/io_trimesh/import_out.h:88:13: note: candidate expects 3 arguments, 1 provided
In file included from ../../src/common/meshlabdocumentbundler.h:5:0,
from ../../src/common/meshlabdocumentbundler.cpp:11:
../../../vcglib/wrap/io_trimesh/import_nvm.h: In static member function ‘static bool vcg::tri::io::ImporterNVM<OpenMeshType>::ReadHeader(const char*, unsigned int&, unsigned int&)’:
../../../vcglib/wrap/io_trimesh/import_nvm.h:91:18: error: no matching function for call to ‘vcg::tri::io::ImporterNVM<OpenMeshType>::ReadHeader(FILE*&)’
ReadHeader(fp);
^
../../../vcglib/wrap/io_trimesh/import_nvm.h:78:13: note: candidate: static bool vcg::tri::io::ImporterNVM<OpenMeshType>::ReadHeader(FILE*, unsigned int&)
static bool ReadHeader(FILE *fp,unsigned int &num_cams){
^~~~~~~~~~
../../../vcglib/wrap/io_trimesh/import_nvm.h:78:13: note: candidate expects 2 arguments, 1 provided
../../../vcglib/wrap/io_trimesh/import_nvm.h:88:13: note: candidate: static bool vcg::tri::io::ImporterNVM<OpenMeshType>::ReadHeader(const char*, unsigned int&, unsigned int&)
static bool ReadHeader(const char * filename,unsigned int &/*num_cams*/, unsigned int &/*num_points*/){
^~~~~~~~~~
../../../vcglib/wrap/io_trimesh/import_nvm.h:88:13: note: candidate expects 3 arguments, 1 provided
make[1]: *** [Makefile:8937: meshlabdocumentbundler.o] Error 1
make[1]: Leaving directory '/home/m3g1dd/repos/meshlab-devel/meshlab/build-meshlab_mini-Desktop_Qt_5_9_0_GCC_64bit-Debug/common'
make: *** [Makefile:50: sub-common-make_first-ordered] Error 2
17:29:03: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project meshlab_mini (kit: Desktop Qt 5.9.0 GCC 64bit)
When executing step "Make"
17:29:03: Elapsed time: 00:10.
I'm trying to build
meshlab_mini.pro
on openSUSE Leap 15 with Qt Creator 4.3.1 based on Qt 5.9.0. Unfortunately the build throws an error show in log below. I couldn't find anything about this error. I just thought someone can help me here. Thanks. Please let me know if you need any additional info.