Autorun OpenFrameworks app - Raspberry Pi Forums


hi there,

have strange issue.

have openframeworks installed @ /home/pi/of.
following pair of commands work fine:

code: select all

cd /home/pi/of/examples/graphics/imagesequenceexample make run
if put them in script, /home/pi/run.sh, runs totally fine too.
if put them @ end of .bashrc , try make them run on boot following:
**** couldn't find pkg-config packages, did run latest install_dependencies.sh?
notice same error given if run script sudo. guess it's user environment configuration. however, if check path can't see difference.

clues?? driving me crazy!

i noticed difference.

when log in , run script (successful), first line of output make commands "armv7l".

when try run script boot (unsuccessful), line not exist.

same error, also, when run script "sudo", , when run non-interactively ssh command:

code: select all

ssh pi@raspberrypi "/home/pi/run.sh"
makes me think difference between interactive , non-interactive shell. not sure understand difference.


raspberrypi



Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support