QT Cross compile for raspberry pi3
-
@jsulm GCC for C and C++, for C = arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/arm-linux-gnueabihf/bin/gcc
for C++ = arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/arm-linux-gnueabihf/bin/c++
@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.
-
@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. -
@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
-
@Bonty said in QT Cross compile for raspberry pi3:
this is the path in raspberry pi
You can't execute ARM executables on x86
-
@jsulm Iam not executing on x86, just compiling the project actuall execution will be done on pi(connected over ethernet).
-
Your binary is for wrong architecture. Please provide information of binary by running file command for it:
file /opt/test_pi/bin/test_pi