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

lr-ppsspp does not build on ODROID - libavformat/avformat.h: No such file or directory #2249

Open
kaeltis opened this issue Jan 2, 2018 · 6 comments
Assignees

Comments

@kaeltis
Copy link

kaeltis commented Jan 2, 2018

Trying to build lr-ppsspp (or ppsspp) on ODROID XU4 with Ubuntu 16.04.3 results in an error:

../Core/HLE/sceAtrac.cpp:94:34: fatal error: libavformat/avformat.h: No such file or directory
compilation terminated.
Makefile:339: recipe for target '../Core/HLE/sceAtrac.o' failed
make: *** [../Core/HLE/sceAtrac.o] Error 1

Full log: http://termbin.com/hrww

Apparently this issue existed for i486 as well and was fixed there some time ago: https://github.com/libretro-mirrors/libretro-ppsspp/issues/73

@zerojay
Copy link
Contributor

zerojay commented Jan 2, 2018

So I went down this rabbit hole a little while ago: https://retropie.org.uk/forum/topic/15375/adventures-with-odroid-xu4-and-retropie

I concluded that if you install libavformat-dev and libswscale-dev (which will be the next error you hit if you just installed libavformat-dev to satisfy the above issue), when you build, you will get a build of lr-ppsspp that works except all ffmpeg decoding would be broken. So taking a look at the thread I posted above might be helpful in figuring out what needs to be done here.

@joolswills
Copy link
Member

it definitely built before, so I will look into it. Not sure I want to use the system ffmpeg headers, as we don't on other platforms (and there is a risk of a mismatch happening with future versions). I will check when I have a chance.

@joolswills joolswills self-assigned this Jan 2, 2018
@kaeltis kaeltis changed the title ppsspp-lr does not build on ODROID - libavformat/avformat.h: No such file or directory lr-ppsspp does not build on ODROID - libavformat/avformat.h: No such file or directory Jan 2, 2018
@psyke83
Copy link
Member

psyke83 commented Jan 2, 2018

The current lr-ppsspp repo is probably going to become obsolete soon - there's a PR on the upstream project to integrate libretro directly.

There are still issues with ppsspp on Pi related to build errors from Wayland/Vulkan, and not setting a fullscreen context. I've suggested potential fixes for some - still waiting for feedback.

@joolswills
Copy link
Member

Thanks.

I may move temporarily to our fork of the lr-ppsspp then (which we use for the rpi), but of course we should move to the newer libretro ppsspp repo in the future.

@ghost
Copy link

ghost commented May 6, 2018

Hi

Still impossible to build :

on ODROID XU4 with Ubuntu 18.04

Makefile:316: recipe for target '../Core/HLE/sceMpeg.o' failed
make: *** [../Core/HLE/sceMpeg.o] Error 1
make: *** Attente des tâches non terminées....
make : on quitte le répertoire « /home/odroid/RetroPie-Setup/tmp/build/lr-ppsspp/libretro »
~/RetroPie-Setup
Could not successfully build lr-ppsspp - PlayStation Portable emu - PPSSPP port for libretro (/home/odroid/RetroPie-Setup/tmp/build/lr-ppsspp/libretro/ppsspp_libretro.so not found).

@steeeb
Copy link

steeeb commented Oct 18, 2018

Similar problems on Tinkerboard too by the way (Exact same file)

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

5 participants