Cross compiler error: Cannot run target compiler '/usr/bin/arm-linux-gnueabihf-g++'
-
Hi,
I installed Qt 5.15.13 on a virtual machine with Debian 10.I'm trying to run a simple program with a cross-compiler: arm-linux-gnueabihf-g++
And the software fails all the time in the build, with the following error:
:-1: error: Cannot run target compiler '/usr/bin/arm-linux-gnueabihf-g++'. Output:I installed this compiler and it is on my Debian10. in the location /usr/bin/
I would appreciate a solution.
Thanks!
-
Hi,
I installed Qt 5.15.13 on a virtual machine with Debian 10.I'm trying to run a simple program with a cross-compiler: arm-linux-gnueabihf-g++
And the software fails all the time in the build, with the following error:
:-1: error: Cannot run target compiler '/usr/bin/arm-linux-gnueabihf-g++'. Output:I installed this compiler and it is on my Debian10. in the location /usr/bin/
I would appreciate a solution.
Thanks!
-
Hi,
thank you for your answer.I have tried to compile a simple project of "hello world " not on Qt, and it just work fine.
so I think maybe the problem is related to the Qt app.the commands you suggested me works fine.
-
@MichalF On Creator's "Build/Compile Output" pane does it show you the exact command-line it is trying to execute?