× CodeTyphon Cross-Build Development, discussions and problems

Question Open project1, How to?

  • David M
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 7 months ago #7063 by David M
Open project1, How to? was created by David M
Hello, :blush:
I can compile a project and the result was Ok! the problem that when I run the raspberryPi double click calls me that I want to open the application for terminal I run ./project1 I answered "Permission denied"
How should run the program?
If you can help me, I am newbie in linux systems.

Thank you very much.

Please Log in or Create an account to join the conversation.

More
6 years 7 months ago #7064 by Chris
Replied by Chris on topic Open project1, How to?
if your application talks to hardware (gpio etc) most of the time you'll need to sudo your application as in;

sudo ./project1

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
6 years 7 months ago - 6 years 7 months ago #7066 by Sternas Stefanos
Replied by Sternas Stefanos on topic Open project1, How to?
Sir
on Unix you must make your project1 executable
Open a terminal in the same directory with project1 and type:
chmod 777  project1
OR
chmod +x project1
before you run project1

more help here

PilotLogic Architect and Core Programmer
Last edit: 6 years 7 months ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • David M
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 7 months ago #7078 by David M
Replied by David M on topic Open project1, How to?
Ok !!!

Thx for your support, work fine !!!

Please Log in or Create an account to join the conversation.