Skip to content

Cross-compiling raspberrypi_video #106

Description

I have found out online how to set up the QT project to use a cross compiler.

We're building this project for the Raspberry Pi 2W and it uses the arm-linux-gnueabihf cross compiler.

But when it gets to compiling the LeptonSDKemb32PUB it has the following error message.

/usr/lib/gcc-cross/arm-linux-gnueabihf/13/../../../../arm-linux-gnueabihf/bin/ld: ../raspberrypi_libs/leptonSDKEmb32PUB/Debug/libLEPTON_SDK.a: error adding symbols: file format not recognized collect2: error: ld returned 1 exit status make: *** [Makefile:181: thermalserver] Error 1

I looked in the makefile for that project. Because i'm cross compiling i need to use this arm-linux cross compiler for it, i looked up and found out the error comes from being compiled against a different architecture, which makes sense.

I would buy you a coffee if you could make sense of this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions