ofxPiMapper icon indicating copy to clipboard operation
ofxPiMapper copied to clipboard

Problem compiling ofxOMXPlayer: undefined reference to symbol 'eglCreateImageKHR'

Open Dazzid opened this issue 5 years ago • 5 comments
trafficstars

I'm trying to run the ofxPiMapper in RaspBerry Pi 3 (debian version 10.6, Linux raspberrypi 5.4.51-v7+ #1333 SMP Mon Aug 10 16:45:19 BST 2020 armv7l GNU/Linux) with OF version 0.11.0.

After following the instructions, the compiler is having problems with 'eglCreateImageKHR' compiling the ofxOMXPlayer addon.

The message is the following: /usr/bin/ld: /home/pi/openFrameworks/addons/obj/linuxarmv6l/Release/ofxOMXPlayer/src/ofxOMXPlayerEngine.o: undefined reference to symbol 'eglCreateImageKHR' /usr/bin/ld: //opt/vc/lib/libbrcmEGL.so: error adding symbols: DSO missing from command line

It seems the issue is already posted in the ofxOMXPlayer forum. However, there is no a clear solution, have you guys resolved this issue?

Dazzid avatar Oct 05 '20 15:10 Dazzid

I'm having the same problem.

bsyzek avatar Jan 06 '21 04:01 bsyzek

Has anyone solved this? I'm struggling to compile ofxOMXPlayer examples at RPI3 running buster and OF 0.11.0.

fbarretto avatar Jul 16 '21 00:07 fbarretto

Just to let everyone know, these steps worked for me:

  • As of 0.11.0 the default window is ofAppGLFWWindow. If you want to use the older ofAppEGLWindow approach, comment out USE_GLFW_WINDOW = 1 in libs/openFrameworksCompiled/project/linuxarmv6l/config.linuxarmv6l.default.mk
  • Select "legacy driver" in "raspi-config" advanced options.
  • Checkout branch rpi-4 develop (https://github.com/jvcleave/ofxOMXPlayer/tree/rpi4-develop)

Cheers!

fbarretto avatar Jul 17 '21 12:07 fbarretto

Hi fbarretto I tested this configuration and it doesn't compile in my RBPi 4 with raspbian-buster and Of_v0.11. I might be missing something relevant? What example did you test?

Dazzid avatar Sep 15 '21 13:09 Dazzid

Hi! Raspberry PI 4 is not yet supported. Stick to Pi 3

kr15h avatar Sep 15 '21 13:09 kr15h