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

Created on 2 Jan 2018  路  6Comments  路  Source: RetroPie/RetroPie-Setup

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

Most helpful comment

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).

All 6 comments

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.

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.

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.

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.

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).

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

Was this page helpful?
0 / 5 - 0 ratings