QT Cross compile for raspberry pi3
-
When i add C and C++ compiler for raspberry pi 3, getting below errors.
Project ERROR: Cannot run compiler 'g++'. Output:
Maybe you forgot to setup the environment?
gcc: error trying to exec 'cc1': execvp: No such file or directory
c++: error trying to exec 'cc1plus': execvp: No such file or directory -
@Bonty said in QT Cross compile for raspberry pi3:
When i add C and C++ compiler for raspberry pi 3
Where? On RaspberryPi or on another machine (cross compiling)?
-
@Bonty said in QT Cross compile for raspberry pi3:
C = arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/arm-linux-gnueabihf/bin/gcc
You should enter absolute (whole) path to the compiler.
-
@jsulm now i have resolve that issue but now there is new error coming out below:-
12:33:03: Starting /opt/test_pi/bin/test_pi ...
Warning: Identity file not accessible: No such file or directory.
/opt/test_pi/bin/test_pi: line 1: syntax error: unexpected "("
12:33:03: Application finished with exit code 2. -
-
@Bonty said in QT Cross compile for raspberry pi3:
this is the path in raspberry pi
You can't execute ARM executables on x86