Welcome, Guest
Username: Password: Remember me
CodeTyphon Cross-Build Development, discussions and problems
  • Page:
  • 1

TOPIC:

Open project1, How to? 8 years 11 months ago #7063

  • David M
  • David M's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
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.

Open project1, How to? 8 years 11 months ago #7064

  • Chris
  • Chris's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 54
  • Thank you received: 4
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.

Open project1, How to? 8 years 11 months ago #7066

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
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

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

Last edit: by Sternas Stefanos.

Open project1, How to? 8 years 11 months ago #7078

  • David M
  • David M's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Ok !!!

Thx for your support, work fine !!!

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

  • Page:
  • 1