HPlayer icon indicating copy to clipboard operation
HPlayer copied to clipboard

Trying to build HPlayer on Raspbian. App build fails with “fatal error: cairo-features.h: No such file”

Open simspace-dev opened this issue 6 years ago • 2 comments

Hi,

I am trying to build HPlayer on Raspbian and I am getting this error …

../../../libs/openFrameworks/graphics/ofCairoRenderer.h:4:28: fatal error: cairo-features.h: No such file or directory #include "cairo-features.h"

I confirmed that cairo-features.h is located in this path: /usr/include/cairo/cairo-features.h

I’m not sure how to resolve this issue … that is, how to get openFrameworks to locate the required headers in /usr/include/cairo.

Do you have any ideas or advice how I can resolve this?

Thank you! Chris

simspace-dev avatar Jul 12 '18 21:07 simspace-dev

Hi ! It seems like a OF install issue, you could try to follow the OF guide to first compile de lib, and then try to build HPlayer from there. I kind of dropped HPlayer dev since i am more focused on HPlayer2 now: its based on mpv rather than omxplayer. You loose shaders image manipulation but you gain a great deal of in/out interfacing capability, in python. I am working on documentation, it will be available soon.

Best,

Thomas

Le jeu. 12 juil. 2018 23:22, Chris Simeone [email protected] a écrit :

Hi,

I am trying to build HPlayer on Raspbian and I am getting this error …

../../../libs/openFrameworks/graphics/ofCairoRenderer.h:4:28: fatal error: cairo-features.h: No such file or directory #include "cairo-features.h"

I confirmed that cairo-features.h is located in this path: /usr/include/cairo/cairo-features.h

I’m not sure how to resolve this issue … that is, how to get openFrameworks to locate the required headers in /usr/include/cairo.

Do you have any ideas or advice how I can resolve this?

Thank you! Chris

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Hemisphere-Project/HPlayer/issues/44, or mute the thread https://github.com/notifications/unsubscribe-auth/AAq2waWKUddvQMfV3bBtOXdACusIxVdQks5uF74vgaJpZM4VNy1u .

Maigre avatar Jul 13 '18 07:07 Maigre

Hi Thomas, thanks for your reply. I discovered and downloaded HPlayer2 yesterday after posting my HPlayer question.
I let it build overnight and just now saw that it built successfully. I'm going to try and get HPlayer2 running today. I'll look at that repo and see if it will help get me started. Thank you! Chris

simspace-dev avatar Jul 13 '18 12:07 simspace-dev