Unsolved cannot run: no command
-
@asha said in cannot run: no command:
trying to login ssh root@192.168.7.2 there also same error permission denied..
So, you actually can't login using SSH?
Then you first need to solve this problem.
Looks like root is not allowed to login via SSH on this device.
Do you have other users there?
Also, see https://www.cyberciti.biz/faq/howto-limit-what-users-can-log-onto-system-via-ssh/ -
yes I have other user as debian, through "ssh debian@192.168.7.2" I am able to login in target machine.
-
@asha Then either use that user or enable root login via SSH
-
Hi,
I login via debian user
then enabled the root login /etc/ssh/sshd_config file
here is the running status
now I am able login as a root
So, I changed the directory /opt permissions here "chmod go+wx opt"
after this all, restarted the system ,and open the qt and run the simple application, the result is
So now what is the problem...any idea about this...(Thankyou very much)...
-
@asha You did not cross compile your app for your device.
You can verify this by doing (in a terminal):file PATH_TO_YOUR_EXE
and checking its output.
-
can you give example,for more understanding purpose
-
@asha You open a terminal and type "file" followed by the path to the executable file you built and press enter...
For more information see "man file". -
Hi,
the result after typing "file /usr/lib/qt5/bin/qmake"
-
what it means,how to processed next.
-
@asha Why qmake?
It is about your app (beagle) which is created if you build your app. -
,
I build the application(beagle)but i dont no where exactly the location of executable.
-
Hi,
Sorry,now got the build beagle executable,please go through this one
how to processed next.
-
@asha Your binary is for x86-64 as you can see. What is your device CPU? I guess ARM?
-
yes it is ARM
-
@asha Then you did NOT cross compiled your app.
Is your Kit for the device configured properly?
It has red exclamation mark. -
Then which cross compiler I have to use,
when go on kit beagleboard its displaying the details ,in that showing
Error:The compiler "cross_compiler"(arm-linux-generic-elf-unknown)cannot produce code for the qt version "Qt 5.13.0 GCC 64 bit"(x86-linux-generic-elf-64bit).
-
@asha You need cross compiled Qt. Qt you're currently using is compiled for x86 as error says. You can't use x86 binaries on ARM.
-
It means I have to download the qt for arm,right..
I have to uninstall this qt for x86.
after installing arm qt ,have to configure everything once again..
right.
-
@asha I think you'll end up boring lots of people that can help you if you don't stop and try understanding what you need to do to have both the Qt libraries and any application built with Qt cross-compiled in a Linux host and deployed and running successfully on your Beagle board.
I'd suggest kindly to read (again?) this guide as it shows step by step what you need to do, both in your Linux machine (referred as workstation) and in your BBB device.
Please set aside some time to go through it, do the steps listed there and see if you can succeed... good luck!
-
Sir,
I gone through the document,i completed step 1,but not getting about step 2, "workstation@workstation" means I have to do those procedures on my target device? and already i copy the image,y need to copy once again..
thankyou