Build error for squish 8.0.0 on arm64
Unsolved
Squish
-
I am not able to build squish embedded because of this error:
Building /builds/swc/asem/project-vista/test/optix_squish/squish-8.0.0-qt67x-arm64-1-dev1/src/wrappers/qt/squishqtwrapper_wrapperinit.o In file included from /builds/swc/asem/project-vista/test/optix_squish/squish-8.0.0-qt67x-arm64-1-dev1/src/wrappers/qt/squishqtwrapper_wrapperinit.cpp:27: /builds/swc/asem/project-vista/test/optix_squish/squish-8.0.0-qt67x-arm64-1-dev1/src/wrappers/qt/squishidl_qdatetime.cpp: In function 'void* SquishClass_QDateTime_invoke0(int, void*, void**)': /builds/swc/asem/project-vista/test/optix_squish/squish-8.0.0-qt67x-arm64-1-dev1/src/wrappers/qt/squishidl_qdatetime.cpp:1437:110: error: template argument 1 is invalid 1437 | std::chrono::time_point<std::chrono::_V2::system_clock,std::chrono::duration<,std::ratio<1,1000> > > *o0 = (std::chrono::time_point<std::chrono::_V2::system_clock,std::chrono::duration<,std::ratio<1,1000> > >*)args[0]; | ^ /builds/swc/asem/project-vista/test/optix_squish/squish-8.0.0-qt67x-arm64-1-dev1/src/wrappers/qt/squishidl_qdatetime.cpp:1437:112: error: template argument 2 is invalid 1437 | std::chrono::time_point<std::chrono::_V2::system_clock,std::chrono::duration<,std::ratio<1,1000> > > *o0 = (std::chrono::time_point<std::chrono::_V2::system_clock,std::chrono::duration<,std::ratio<1,1000> > >*)args[0]; | ^ /builds/swc/asem/project-vista/test/optix_squish/squish-8.0.0-qt67x-arm64-1-dev1/src/wrappers/qt/squishidl_qdatetime.cpp:1437:218: error: template argument 1 is invalid 1437 | std::chrono::time_point<std::chrono::_V2::system_clock,std::chrono::duration<,std::ratio<1,1000> > > *o0 = (std::chrono::time_point<std::chrono::_V2::system_clock,std::chrono::duration<,std::ratio<1,1000> > >*)args[0]; | ^ /builds/swc/asem/project-vista/test/optix_squish/squish-8.0.0-qt67x-arm64-1-dev1/src/wrappers/qt/squishidl_qdatetime.cpp:1437:220: error: template argument 2 is invalid 1437 | std::chrono::time_point<std::chrono::_V2::system_clock,std::chrono::duration<,std::ratio<1,1000> > > *o0 = (std::chrono::time_point<std::chrono::_V2::system_clock,std::chrono::duration<,std::ratio<1,1000> > >*)args[0]; | ^ /builds/swc/asem/project-vista/test/optix_squish/squish-8.0.0-qt67x-arm64-1-dev1/src/wrappers/qt/squishidl_qdatetime.cpp:1437:222: error: expected primary-expression before ')' token 1437 | std::chrono::time_point<std::chrono::_V2::system_clock,std::chrono::duration<,std::ratio<1,1000> > > *o0 = (std::chrono::time_point<std::chrono::_V2::system_clock,std::chrono::duration<,std::ratio<1,1000> > >*)args[0]; | ^ Exception at /usr/local/squish-src/Buildfile:1398: /builds/swc/asem/project-vista/test/optix_squish/squish-8.0.0-qt67x-arm64-1-dev1/src/wrappers/qt/squishqtwrapper_wrapperinit.o: Command exited with status 1: /opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++ -DTIXML_USE_STL -DHAVE_TRACELIB -DQT_DISABLE_DEPRECATED_BEFORE\=0x050000 -DSQUISH_QTWRAPPER_EXTENSION -DQT_NO_BIG_CODECS -DQT_NO_STYLES -DSQUISH_COMMONWRAPPER_MAKEDLL -DSQUISH_QTWRAPPER_MAKEDLL -DSQUISH_WINWRAPPER_MAKEDLL -I/usr/local/qtsdk/include -I/usr/local/qtsdk/include/QtCore -I/usr/local/qtsdk/include/QtGui -I/usr/local/squish-src -I/usr/local/squish-src/include -I/usr/local/squish-src/src -I/builds/swc/asem/project-vista/test/optix_squish/squish-8.0.0-qt67x-arm64-1-dev1 -I/builds/swc/asem/project-vista/test/optix_squish/squish-8.0.0-qt67x-arm64-1-dev1/src -I/builds/swc/asem/project-vista/test/optix_squish/squish-8.0.0-qt67x-arm64-1-dev1/src/wrappers/qt -I/usr/local/squish-src/src/3rdparty/tracetool -I/usr/local/qtsdk/include -I/usr/local/qtsdk/include/QtCore -I/usr/local/qtsdk/include/QtCore/6.7.2 -I/usr/local/qtsdk/include/QtCore/6.7.2/QtCore -I/usr/local/qtsdk/mkspecs/devices/linux-generic-g++ -I/usr/local/qtsdk/include/QtGui -I/usr/local/qtsdk/include/QtGui/6.7.2 -I/usr/local/qtsdk/include/QtGui/6.7.2/QtGui -I/usr/local/qtsdk/include/QtWidgets -I/usr/local/qtsdk/include/QtWidgets/6.7.2 -I/usr/local/qtsdk/include/QtWidgets/6.7.2/QtWidgets -pipe --sysroot\=/opt/poky-asem-hmi-xwayland-bsp/3.4.4/sysroots/cortexa53-crypto-poky-linux -Wno-deprecated-declarations -Wno-long-long -fvisibility\=hidden -Wno-psabi -Wno-deprecated-copy -std\=gnu++17 -DNDEBUG -DQT_THREAD_SUPPORT -D_REENTRANT -DQ_WS_QPA -DQT_NO_EXCEPTIONS -fPIC -W -Wall -Wchar-subscripts -Wwrite-strings -Wcast-align -Wdeprecated -Wformat\=2 -Wunused-parameter -Werror\=return-type -O0 -fPIC -fexceptions -c -o /builds/swc/asem/project-vista/test/optix_squish/squish-8.0.0-qt67x-arm64-1-dev1/src/wrappers/qt/squishqtwrapper_wrapperinit.o /builds/swc/asem/project-vista/test/optix_squish/squish-8.0.0-qt67x-arm64-1-dev1/src/wrappers/qt/squishqtwrapper_wrapperinit.cpp at /usr/local/squish-src/Buildfile:1398 in compile() at /usr/local/squish-src/Buildfile:3448 in <main> Aborting build after an exception occurred in the most recent update action.
Anyone have an idea what I can do ? I was able to build the same way squish 7.2.1, now when trying to update to version 8.0.0 something doesn't seems to be right
-
This is a known issue and the fix should be available from Squish 8.1.0.
If you require the patch early, please contact the QA Tools support via creating a support request from Qt Customer Portal.
QA Tools support should be able to assist you with the patch.