-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Hi,
After git clone --recursive https://github.com/GodotVR/godot_openhmd.git, the build system fails apparently in the libusb submodule because it can't find config.h.
$ scons platform=linux [38/1964]
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
gcc -o glad/glad.os -c -DOHMD_STATIC -DDRIVER_OCULUS_RIFT -DDRIVER_DEEPOON -DDRIVER
_HTC_VIVE -DDRIVER_PSVR -DDRIVER_NOLO -DOPENHMD_DRIVER_WMR -fPIC -g -O3 -fPIC -DOHM
D_STATIC -DOS_LINUX -DUSE_UDEV -DHAVE_LIBUDEV -Ilibusb -Ilibusb/libusb -Ilibusb/lib
usb/os -Ihidapi/hidapi -IOpenHMD/include -I. -Igodot_headers -Iglad glad/glad.c
gcc -o libusb/libusb/core.os -c -DOHMD_STATIC -DDRIVER_OCULUS_RIFT -DDRIVER_DEEPOON
-DDRIVER_HTC_VIVE -DDRIVER_PSVR -DDRIVER_NOLO -DOPENHMD_DRIVER_WMR -fPIC -g -O3 -f
PIC -DOHMD_STATIC -DOS_LINUX -DUSE_UDEV -DHAVE_LIBUDEV -Ilibusb -Ilibusb/libusb -Il
ibusb/libusb/os -Ihidapi/hidapi -IOpenHMD/include -I. -Igodot_headers -Iglad libusb
/libusb/core.c
libusb/libusb/core.c:23:10: fatal error: config.h: No such file or directory
#include "config.h"
^~~~~~~~~~
compilation terminated.
scons: *** [libusb/libusb/core.os] Error 1
scons: building terminated because of errors.
$
A config.h for linux seems to be missing:
~/vr-dev/godot_openhmd$ find . -name config.h
./libusb/android/config.h
./libusb/Xcode/config.h
./libusb/msvc/config.h
~/vr-dev/godot_openhmd$
Seems to me like something with the libusb submodule is wrong.
Metadata
Metadata
Assignees
Labels
No labels