Hi,
I am new to Ovito, I am installing it on Rpi5 following the instructions for linux.
I get this error, while it builds the various files.
Thanks for your kind help.
Best,
Marco
> cmake --build . --parallel
> [1/576] Building CXX object src/ovito/core/CMakeFiles/Core.dir/rendering/FrameGraph.cpp.o
> FAILED: src/ovito/core/CMakeFiles/Core.dir/rendering/FrameGraph.cpp.o
> /usr/bin/c++ -DBOOST_ALL_NO_LIB -DCore_EXPORTS -DOVITO_CORE_EXPORT=Q_DECL_EXPORT -DOVITO_PLUGINS_RELATIVE_PATH=\"../lib/ovito/plugins\" -DOVITO_PLUGIN_NAME=\"Core\" -DOVITO_PYTHON_LAYER_PATH=\"../lib/ovito/plugins/python\" -DOVITO_VIDEO_OUTPUT_SUPPORT -DOVITO_ZLIB_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT=1 -DQT_NO_FOREACH=1 -DQT_NO_KEYWORDS=1 -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -I/home/rpi5zaro/ovito/build/src/ovito/core/Core_autogen/include -I/home/rpi5zaro/ovito/src -isystem /usr/include/aarch64-linux-gnu/qt6/QtCore -isystem /usr/include/aarch64-linux-gnu/qt6 -isystem /usr/lib/aarch64-linux-gnu/qt6/mkspecs/linux-g++ -isystem /usr/include/aarch64-linux-gnu/qt6/QtGui -isystem /home/rpi5zaro/ovito/src/3rdparty/function2/include -isystem /usr/include/aarch64-linux-gnu/qt6/QtNetwork -O3 -DNDEBUG -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-multichar -std=gnu++20 -Winvalid-pch -include /home/rpi5zaro/ovito/build/src/ovito/core/CMakeFiles/Core.dir/cmake_pch.hxx -MD -MT src/ovito/core/CMakeFiles/Core.dir/rendering/FrameGraph.cpp.o -MF src/ovito/core/CMakeFiles/Core.dir/rendering/FrameGraph.cpp.o.d -o src/ovito/core/CMakeFiles/Core.dir/rendering/FrameGraph.cpp.o -c /home/rpi5zaro/ovito/src/ovito/core/rendering/FrameGraph.cpp
> In file included from /usr/include/aarch64-linux-gnu/qt6/QtCore/qdebug.h:24,
> from /usr/include/aarch64-linux-gnu/qt6/QtCore/qcoreapplication.h:18,
> from /usr/include/aarch64-linux-gnu/qt6/QtCore/QCoreApplication:1,
> from /home/rpi5zaro/ovito/src/ovito/core/Core.h:66,
> from /home/rpi5zaro/ovito/build/src/ovito/core/CMakeFiles/Core.dir/cmake_pch.hxx:5,
> from <command-line>:
> /usr/include/aarch64-linux-gnu/qt6/QtCore/qvarlengtharray.h: In instantiation of 'void QVLABase<T>::reallocate_impl(qsizetype, void*, qsizetype, qsizetype, const T*) [with T = Ovito::FrameGraph::RenderingCommand; qsizetype = long long int]':
> /usr/include/aarch64-linux-gnu/qt6/QtCore/qvarlengtharray.h:187:13: required from 'QVLABase<T>::value_type& QVLABase<T>::emplace_back_impl(qsizetype, void*, Args&& ...) [with Args = {Ovito::FrameGraph::RenderingCommand::Flag, std::unique_ptr<Ovito::RenderingPrimitive, std::default_delete<Ovito::RenderingPrimitive> >, const Ovito::AffineTransformationT<double>&, Ovito::OORef<const Ovito::Pipeline>, Ovito::OORef<Ovito::ObjectPickInfo>, unsigned int&}; T = Ovito::FrameGraph::RenderingCommand; reference = Ovito::FrameGraph::RenderingCommand&; qsizetype = long long int]'
> /usr/include/aarch64-linux-gnu/qt6/QtCore/qvarlengtharray.h:541:37: required from 'T& QVarLengthArray<T, Prealloc>::emplace_back(Args&& ...) [with Args = {Ovito::FrameGraph::RenderingCommand::Flag, std::unique_ptr<Ovito::RenderingPrimitive, std::default_delete<Ovito::RenderingPrimitive> >, const Ovito::AffineTransformationT<double>&, Ovito::OORef<const Ovito::Pipeline>, Ovito::OORef<Ovito::ObjectPickInfo>, unsigned int&}; T = Ovito::FrameGraph::RenderingCommand; long long int Prealloc = 2]'
> /home/rpi5zaro/ovito/src/ovito/core/rendering/FrameGraph.h:169:33: required from 'Ovito::FrameGraph::RenderingCommand& Ovito::FrameGraph::RenderingCommandGroup::addCommand(Args&& ...) [with Args = {Ovito::FrameGraph::RenderingCommand::Flag, std::unique_ptr<Ovito::RenderingPrimitive, std::default_delete<Ovito::RenderingPrimitive> >, const Ovito::AffineTransformationT<double>&, Ovito::OORef<const Ovito::Pipeline>, Ovito::OORef<Ovito::ObjectPickInfo>, unsigned int&}]'
> /home/rpi5zaro/ovito/src/ovito/core/rendering/FrameGraph.cpp:70:22: required from here
> /usr/include/aarch64-linux-gnu/qt6/QtCore/qvarlengtharray.h:763:13: error: no matching function for call to 'Ovito::FrameGraph::RenderingCommand::RenderingCommand()'
> 763 | new (data() + size()) T;
> | ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from /home/rpi5zaro/ovito/src/ovito/core/rendering/FrameGraph.cpp:24:
> /home/rpi5zaro/ovito/src/ovito/core/rendering/FrameGraph.h:86:26: note: candidate: 'Ovito::FrameGraph::RenderingCommand::RenderingCommand(Flags, std::unique_ptr<Ovito::RenderingPrimitive>, const Ovito::AffineTransformation&, Ovito::OORef<const Ovito::Pipeline>, Ovito::OORef<Ovito::ObjectPickInfo>, uint32_t)'
> 86 | explicit RenderingCommand(Flags flags, std::unique_ptr<RenderingPrimitive> primitive, const AffineTransformation& tm, OORef<const Pipeline> pipeline = {}, OORef<ObjectPickInfo> pickInfo = {}, uint32_t pickElementOffset = 0) :
> | ^~~~~~~~~~~~~~~~
> /home/rpi5zaro/ovito/src/ovito/core/rendering/FrameGraph.h:86:26: note: candidate expects 6 arguments, 0 provided
> /home/rpi5zaro/ovito/src/ovito/core/rendering/FrameGraph.h:72:33: note: candidate: 'Ovito::FrameGraph::RenderingCommand::RenderingCommand(Ovito::FrameGraph::RenderingCommand&&)'
> 72 | class OVITO_CORE_EXPORT RenderingCommand
> | ^~~~~~~~~~~~~~~~
> /home/rpi5zaro/ovito/src/ovito/core/rendering/FrameGraph.h:72:33: note: candidate expects 1 argument, 0 provided
> In file included from /home/rpi5zaro/ovito/src/ovito/core/rendering/FrameGraph.h:33:
> /home/rpi5zaro/ovito/src/ovito/core/rendering/CylinderPrimitive.h: In lambda function:
> /home/rpi5zaro/ovito/src/ovito/core/rendering/CylinderPrimitive.h:153:50: note: parameter passing for argument of type 'std::pair<double, double>' when C++17 is enabled changed to match C++14 in GCC 10.1
> 153 | cachedMaxWidth = widths()->minMax().second;
> | ~~~~~~~~~~~~~~~~^~
> ninja: build stopped: subcommand failed.