Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

HPlayer compile problem

$
0
0

@minizzZ wrote:

Hello,

I’m trying to install PocketVJ on a Raspberry Pi 3B+ and I get an error APIENTRY and a fatal error about not finding ofxOMXPlayerListener.h. This is what I see in the terminal:

In file included from /home/pi/openFrameworks/addons/ofxOMXPlayer/src/OMXAudio.h:30:0,
                 from /home/pi/openFrameworks/addons/ofxOMXPlayer/src/ofxOMXPlayerEngine.h:7,
                 from /home/pi/openFrameworks/addons/ofxOMXPlayer/src/ofxOMXPlayer.h:3,
                 from /home/pi/openFrameworks/apps/myApps/HPlayer/src/omPlayer.h:3,
                 from /home/pi/openFrameworks/apps/myApps/HPlayer/src/mediaPlayer.h:2,
                 from /home/pi/openFrameworks/apps/myApps/HPlayer/src/HPlayer.h:4,
                 from /home/pi/openFrameworks/apps/myApps/HPlayer/src/main.cpp:2:
/home/pi/openFrameworks/addons/ofxOMXPlayer/src/linux/PlatformDefs.h:172:0: warning: "APIENTRY" redefined
 #define APIENTRY    WINAPI
 
In file included from ../../../libs/openFrameworks/app/ofAppGLFWWindow.h:6:0,
                 from ../../../libs/openFrameworks/ofMain.h:80,
                 from /home/pi/openFrameworks/apps/myApps/HPlayer/src/main.cpp:1:
../../../libs/glfw/include/GLFW/glfw3.h:98:0: note: this is the location of the previous definition
   #define APIENTRY
 
In file included from /home/pi/openFrameworks/apps/myApps/HPlayer/src/mediaPlayer.h:2:0,
                 from /home/pi/openFrameworks/apps/myApps/HPlayer/src/HPlayer.h:4,
                 from /home/pi/openFrameworks/apps/myApps/HPlayer/src/main.cpp:2:
/home/pi/openFrameworks/apps/myApps/HPlayer/src/omPlayer.h:4:34: fatal error: ofxOMXPlayerListener.h: No such file or directory
 #include "ofxOMXPlayerListener.h"
                                  ^
compilation terminated.
../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:200: recipe for target 'obj/linuxarmv6l/Release/src/main.o' failed
make[1]: *** [obj/linuxarmv6l/Release/src/main.o] Error 1
make[1]: Leaving directory '/home/pi/openFrameworks/apps/myApps/HPlayer'
../../../libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:125: recipe for target 'Release' failed
make: *** [Release] Error 2

I had these sort of errors before and than I would just nano the text of the .h and change where it could find the file. Now I looked my entire Raspberry even in the root but I can’t find ofxOMXPlayerListener.h. Even when I look on the internet I can’t find omxplayerlistener anywhere. Now I’m a bit of a noob when it comes to Raspberries so i even don’t know what a listener is

Also I have this Apientry thing which I found out means a Winapi thing. Also don’t know how to solve that.

Can anybody help me with this?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 4929