Quantcast
Channel: arm - openFrameworks
Viewing all articles
Browse latest Browse all 147

RPi3 + Buster Lite + oF 0.11.0 = can't run example

$
0
0

@mattc wrote:

I’m having a hard time making the OF working with my HW & SW config. Both OF and example compiles without a problem, but I can not run the example.
Here’s my setup from the very beginning:

1. SD card with 2019-09-26-raspbian-buster-lite.img

2. Booting with RPi 3B

3. sudo raspi-config
	Advanced > Expand Filesystem
	Advanced > Memory Split > 256
	Advanced > GL Driver > GL Driver Fake KMS
	Interfacing > SSH > enable

4. reboot

5. sudo nano /boot/config.txt //I'm using small 7-inch HDMI screen
	hdmi_group=2
	hdmi_mode=87
	hdmi_cvt=800 480 60 6 0 0 0
	hdmi_drive=1

6. sudo nano /etc/dhcpcd.conf //settings static IP

7. reboot

8. sudo apt-get clean && sudo apt-get update && sudo apt-get dist-upgrade

9. wget https://openframeworks.cc/versions/v0.11.0/of_v0.11.0_linuxarmv6l_release.tar.gz

10. sudo mkdir openFrameworks && sudo tar vxfz of_v0.11.0_linuxarmv6l_release.tar.gz -C openFrameworks --strip-components 1

11. sudo rm of_v0.11.0_linuxarmv6l_release.tar.gz 

12. cd openFrameworks/scripts/linux/debian

13. sudo ./install_dependencies.sh && sudo ./install_codecs.sh && sudo apt-get clean

14. cd && sudo make Release -C openFrameworks/libs/openFrameworksCompiled/project

15. cd /openFrameworks/examples/3d/quaternionLatLongExample/src/

16. sudo nano main.cpp //making sure to use display resolution and full screen
	ofSetupOpenGL(800,480, OF_FULLSCREEN);

17. cd .. && sudo make && sudo make run

Here’s the output when trying to run example:

VER ID IS 10
using newer build and GLFW window
[ error ] ofAppGLFWWindow: 65544: X11: The DISPLAY environment variable is missing
[ error ] ofAppGLFWWindow: couldn't init GLFW
[ error ] ofAppGLFWWindow: 65537: The GLFW library is not initialized
Segmentation fault
make: *** [/home/pi/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:184: run] Error 139

Since I’m using Lite system and the log shows error related to X11, I also tired adding this

sudo apt-get install xutils

…but with no effect.

Any help would be appreciated!

Posts: 19

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 147

Trending Articles