Unsolved cannot run: no command
-
Hi,
I installed the cross compiler ,through the following command:
sudo apt-get install gcc-arm-linux-gnueabihf
And installed cross debugger via
sudo apt-get install gdb-multiarch,
Here is the attacment of cross-debugger,cross-compiler, and kit configuration
after this configurations and running a simple application with cross compilers and debuggers only getting error ,now what is the mistake,please let me know...and installing cross compiler and debugger process is currect or wrong..and in lit configuration its showing red mark..
-
@asha your kit has error, see the RED icon in 3rd screenshot previous post. You need to check at bottom of such page to see what the message is regarding the issue...
-
Hi,
I am getting the issue "Failed to create remote directories : mkdir: cannot create directory'/opt/aa': Permission denied...any suggestion for this..
-
@asha said in cannot run: no command:
/opt/aa
/opt is a directory where only root has write access. You need to give the user write access to the directory you want to use or (better) use users home directory to deploy.
-
Sir,
I am very new to qt,please can you elaborate how to give user write access to the /opt directory..
-
@asha said in cannot run: no command:
I am very new to qt,please can you elaborate how to give user write access to the /opt directory..
That has nothing to do with Qt.
/opt
is a system directory, only the administrator (root) has write access there. If you need to install something there use thesudo
command - but be careful, you can destroy you whole system if you do something wrong.Regards
-
Hi,
opt directory has the permissions
drwxr_xr_x,
I changed the permissions through the command
"chmod go+w opt"
after this the permission of opt is
drwxrwxrwxSo,now again I build the application and getting the same problem.
Any suggestions.
-
@asha You changed the permissions on your target device?
Also, this is a bad solution.
Better give the user write access. -
sir,
how to change the permission on target device ,can you elaborate please,
How to give the user write access. -
Hi,
now i changed the user write acces,that is
drwxrwxrwx beagle1
after this also I am getting the same problem.
-
Hi,
I have two qt versions on my kit is there any problem?
-
Hi,
Please tell me,how to install qt creator on ubuntu 18.04,which version qt is required,which version cross-compiler is required,how to install that one,how to install debugger also,and how to configure the kit(actually I Know this steps,but I want to confirm that, what I did either it is correct or wrong)...
Thankyou
-
Good Morning guys,
Any suggestions please..
-
@asha "how to install qt creator on ubuntu 18.04" - either install one delivered with Ubuntu using apt-get, or download QtCreator from official website.
"which version qt is required" - you should know that. Which version do you want to use, or which version is supported by your SDK?
"which version cross-compiler is required" - the one provided by the SDK for your device.
"how to install that one" - should be part of the SDK.
"how to install debugger also" - should be part of the SDK. -
Thankyou for the replay,
I done the same things..
then also getting permission denied error while running the qt application..
trying to login ssh root@192.168.7.2 there also same error permission denied..
not getting what is the problem..
-
@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.