Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Crosscompilation qt 5.12.5 on linux 64 for raspberry pi 2b
QtWS25 Last Chance

Crosscompilation qt 5.12.5 on linux 64 for raspberry pi 2b

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
crosscompilatioraspberry pi 2linux
2 Posts 1 Posters 580 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.
  • M Offline
    M Offline
    Michal91
    wrote on last edited by
    #1

    Hello. While several unsuccessful attempts to compile gcc for pi on windows I decide to switch my os for linux ie. Debian 11 64bit. While I follow that https://mechatronicsblog.com/cross-compile-and-deploy-qt-5-12-for-raspberry-pi/ blogpost in step 6 I get an error:

    gmake: g++: No such file or directory
    gmake: *** [Makefile:245: main.o] Error 127
    

    I sligthly modyfied configurationn arguments to :

    ./configure -release -opengl es2 -device linux-rpi2-g++ -device-option CROSS_COMPILE=~/raspberrypi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf- -sysroot ~/sysroot -opensource -confirm-license -skip qtwayland -skip qtlocation -skip qtscript -make libs -prefix ~/qt5/targetDeploymentDirectory -extprefix ~/qt5/hostInstallationTools -hostprefix ~/qt5/hostInstallationDirectory -no-use-gold-linker -v -no-gbm
    
    1 Reply Last reply
    0
    • M Offline
      M Offline
      Michal91
      wrote on last edited by
      #2

      install g++ solved problem

      1 Reply Last reply
      0

      • Login

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