Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. QtOPCUA for ARM processor - Can not run compiler
QtWS25 Last Chance

QtOPCUA for ARM processor - Can not run compiler

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
opcuaarm64cross compile
1 Posts 1 Posters 157 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TMJJ001
    wrote on 5 Jun 2024, 05:41 last edited by
    #1

    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

    1 Reply Last reply
    0

    1/1

    5 Jun 2024, 05:41

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved