QtOPCUA for ARM processor - Can not run compiler
Unsolved
Qt Creator and other tools
-
Dear all,
We are trying to build a Qtopcua application and cross compile it for an ARM dual core processor.
Device comes with an SDK with all the compilers. We are using QT 5.15.2.We are using the steps explained in the following link: https://www.basyskom.de/en/building-qt-opc-ua-with-open62541/
With the only change, correct me if I'm wrong, that we need to qmake the Qtopcua with the qmake that comes with our sdk for the ARM processor. Is this correct?
git clone https://code.qt.io/qt/qtopcua.git cd qtopcua git checkout 5.15.2 mkdir build && cd build ~/Qt/5.15.2/gcc_64/bin/qmake .. make
Instead of the last step we do:
~/data/ecomatDisplay/sdk-2.2.0.11/sysroots/x86_64-pdm3sdk-linux/usr/bin/qmake .. make
Which results in the following error output:
Project ERROR: Cannot run compiler 'aarch64-pdm3-linux-g++ -mcpu=cortex-a53+crc -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security'. Output: =================== =================== Maybe you forgot to setup the environment?
Any idea why we get this error? Any idea on how to setup Qtopcua for this processor?
Thanks in advance,
Kind regards,
TMJJ