dolphin
dolphin copied to clipboard
Build for Linux aarch64
Branch - master
Steps:
git clone https://github.com/libretro/dolphin.git
mkdir build
cd build
cmake cmake ../ -DLIBRETRO=ON -DUSE_DISCORD_PRESENCE=OFF
make -j1
And getting this error:
Scanning dependencies of target hidapi
[ 52%] Building C object Externals/hidapi/CMakeFiles/hidapi.dir/libusb/hid.c.o
/opt/dolphin/Externals/hidapi/libusb/hid.c:47:10: fatal error: libusb.h: No such file or directory
#include <libusb.h>
^~~~~~~~~~
compilation terminated.
Externals/hidapi/CMakeFiles/hidapi.dir/build.make:62: recipe for target 'Externals/hidapi/CMakeFiles/hidapi.dir/libusb/hid.c.o' failed
make[2]: *** [Externals/hidapi/CMakeFiles/hidapi.dir/libusb/hid.c.o] Error 1
CMakeFiles/Makefile2:1325: recipe for target 'Externals/hidapi/CMakeFiles/hidapi.dir/all' failed
make[1]: *** [Externals/hidapi/CMakeFiles/hidapi.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2
You might be missing libusb headers so try to install libusb header package.
try to switch the libusb library from your native system to the static lib, I have done it with mbedtls package and I could build again
@Krishnacore Please close this issue if it is ok for you.
There should be no issue building on aarch64.
Thank you.