Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem compiling ofxOMXPlayer: undefined reference to symbol 'eglCreateImageKHR' #161

Open
Dazzid opened this issue Oct 5, 2020 · 3 comments

Comments

@Dazzid
Copy link

Dazzid commented Oct 5, 2020

I'm trying to run the ofxOMXPlayer 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'
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

What could be the problem, perhaps I'm running an incompatible OF version?

@jvcleave
Copy link
Owner

jvcleave commented Oct 5, 2020

not sure about anything post-Raspian Stretch but this may be needed

https://github.com/jvcleave/ofxOMXPlayer/compare/rpi4-develop#diff-eb5061a0f330b6b75449499e7932f9c0R653

@Dazzid
Copy link
Author

Dazzid commented Oct 6, 2020

hi, I also tried the rpi4 branch, but still have the same compiler error. Should I install an older Raspbian version?

@Dazzid
Copy link
Author

Dazzid commented Sep 14, 2021

Using Raspian Stretch and RBpi3 B+ with OF_v10.0, I'm having an error.

I might be missing something? Perhaps there is a specific Stretch version?

Message:
HOST_OS=Linux
checking pkg-config libraries: cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal libcurl glfw3 rtaudio gtk±3.0
with PKG_CONFIG_LIBDIR=
[warning] ofAppEGLWindow: init(): X11 not availble on RPI yet, using a native window instead
[ error ] ofAppEGLWindow: getScreenSize(): tried to get display size but failed
[notice ] ofAppEGLWindow: setupRPiNativeWindow(): screenRect: 0x0
[notice ] ofAppEGLWindow: setupRPiNativeWindow(): windowRect: 0x0
[ error ] ofAppEGLWindow: setupRPiNativeWindow(): dispman_element == DISPMANX_INVALID
[warning] ofAppEGLWindow: getNativeDisplay(): window not initialized, returning NULL
[warning] ofAppEGLWindow: getNativeDisplay(): window not initialized, returning NULL
[notice ] ofAppEGLWindow: createSurface(): setting up EGL Display

failed to add service - already in use?
/home/pi/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:190: fallo en las instrucciones para el objetivo ‘run’
make: *** [run] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants