Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This is after a couple retries, sorry. Also, pastebin syntax highlighting for this is a little cringe, so don't let the blue fool you.
- ninja: Entering directory `build'
- [4/29] Compiling C object subprojects/openhmd/libopenhmd.a.p/src_drv_oculus_rift_ohmd-pipewire.c.o
- FAILED: subprojects/openhmd/libopenhmd.a.p/src_drv_oculus_rift_ohmd-pipewire.c.o
- cc -Isubprojects/openhmd/libopenhmd.a.p -Isubprojects/openhmd -I../subprojects/openhmd -I../subprojects/openhmd/include -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/hidapi -I/usr/include/libusb-1.0 -I/usr/include/opencv4 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -O3 -fPIC -D_REENTRANT -pthread -DOHMD_DEBUGGING_MODE -DHAVE_PIPEWIRE=1 -DHAVE_DEBUG_STREAM=1 -DHAVE_LIBJPEG -DDRIVER_OCULUS_RIFT -DHAVE_OPENCV=1 -DDRIVER_OCULUS_RIFT_S -DDRIVER_DEEPOON -DDRIVER_PSVR -DDRIVER_HTC_VIVE -DDRIVER_NOLO -DDRIVER_WMR -DDRIVER_XGVR -DDRIVER_VRTEK -DDRIVER_EXTERNAL -MD -MQ subprojects/openhmd/libopenhmd.a.p/src_drv_oculus_rift_ohmd-pipewire.c.o -MF subprojects/openhmd/libopenhmd.a.p/src_drv_oculus_rift_ohmd-pipewire.c.o.d -o subprojects/openhmd/libopenhmd.a.p/src_drv_oculus_rift_ohmd-pipewire.c.o -c ../subprojects/openhmd/src/drv_oculus_rift/ohmd-pipewire.c
- In file included from /usr/include/pipewire-0.3/pipewire/properties.h:35,
- from /usr/include/pipewire-0.3/pipewire/core.h:87,
- from /usr/include/pipewire-0.3/pipewire/context.h:67,
- from /usr/include/pipewire-0.3/pipewire/protocol.h:46,
- from /usr/include/pipewire-0.3/pipewire/proxy.h:108,
- from /usr/include/pipewire-0.3/pipewire/client.h:35,
- from /usr/include/pipewire-0.3/pipewire/pipewire.h:35,
- from ../subprojects/openhmd/src/drv_oculus_rift/ohmd-pipewire.c:14:
- /usr/include/spa-0.2/spa/utils/string.h: In function ‘spa_strtof’:
- /usr/include/spa-0.2/spa/utils/string.h:279:16: error: unknown type name ‘locale_t’
- 279 | static locale_t locale = NULL;
- | ^~~~~~~~
- /usr/include/spa-0.2/spa/utils/string.h:279:34: warning: initialization of ‘int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
- 279 | static locale_t locale = NULL;
- | ^~~~
- /usr/include/spa-0.2/spa/utils/string.h:280:9: error: unknown type name ‘locale_t’
- 280 | locale_t prev;
- | ^~~~~~~~
- In file included from /usr/include/spa-0.2/spa/pod/pod.h:32,
- from /usr/include/spa-0.2/spa/pod/iter.h:35,
- from /usr/include/spa-0.2/spa/pod/parser.h:35,
- from /usr/include/spa-0.2/spa/param/video/format-utils.h:36,
- from ../subprojects/openhmd/src/drv_oculus_rift/ohmd-pipewire.c:8:
- /usr/include/spa-0.2/spa/utils/string.h:284:33: warning: comparison between pointer and integer
- 284 | if (SPA_UNLIKELY(locale == NULL))
- | ^~
- /usr/include/spa-0.2/spa/utils/defs.h:244:46: note: in definition of macro ‘SPA_UNLIKELY’
- 244 | #define SPA_UNLIKELY(x) (__builtin_expect(!!(x),0))
- | ^
- /usr/include/spa-0.2/spa/utils/string.h:285:26: warning: implicit declaration of function ‘newlocale’; did you mean ‘setlocale’? [-Wimplicit-function-declaration]
- 285 | locale = newlocale(LC_ALL_MASK, "C", NULL);
- | ^~~~~~~~~
- | setlocale
- /usr/include/spa-0.2/spa/utils/string.h:285:36: error: ‘LC_ALL_MASK’ undeclared (first use in this function)
- 285 | locale = newlocale(LC_ALL_MASK, "C", NULL);
- | ^~~~~~~~~~~
- /usr/include/spa-0.2/spa/utils/string.h:285:36: note: each undeclared identifier is reported only once for each function it appears in
- /usr/include/spa-0.2/spa/utils/string.h:286:16: warning: implicit declaration of function ‘uselocale’; did you mean ‘setlocale’? [-Wimplicit-function-declaration]
- 286 | prev = uselocale(locale);
- | ^~~~~~~~~
- | setlocale
- /usr/include/spa-0.2/spa/utils/string.h: In function ‘spa_strtod’:
- /usr/include/spa-0.2/spa/utils/string.h:329:16: error: unknown type name ‘locale_t’
- 329 | static locale_t locale = NULL;
- | ^~~~~~~~
- /usr/include/spa-0.2/spa/utils/string.h:329:34: warning: initialization of ‘int’ from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
- 329 | static locale_t locale = NULL;
- | ^~~~
- /usr/include/spa-0.2/spa/utils/string.h:330:9: error: unknown type name ‘locale_t’
- 330 | locale_t prev;
- | ^~~~~~~~
- /usr/include/spa-0.2/spa/utils/string.h:334:33: warning: comparison between pointer and integer
- 334 | if (SPA_UNLIKELY(locale == NULL))
- | ^~
- /usr/include/spa-0.2/spa/utils/defs.h:244:46: note: in definition of macro ‘SPA_UNLIKELY’
- 244 | #define SPA_UNLIKELY(x) (__builtin_expect(!!(x),0))
- | ^
- /usr/include/spa-0.2/spa/utils/string.h:335:36: error: ‘LC_ALL_MASK’ undeclared (first use in this function)
- 335 | locale = newlocale(LC_ALL_MASK, "C", NULL);
- | ^~~~~~~~~~~
- [10/29] Compiling C object subprojects/openhmd/libopenhmd.a.p/src_drv_wmr_wmr.c.o
- ../subprojects/openhmd/src/drv_wmr/wmr.c: In function ‘open_device’:
- ../subprojects/openhmd/src/drv_wmr/wmr.c:422:44: warning: ‘resolution_v’ may be used uninitialized [-Wmaybe-uninitialized]
- 422 | priv->base.properties.vres = resolution_v;
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- ../subprojects/openhmd/src/drv_wmr/wmr.c:347:27: note: ‘resolution_v’ was declared here
- 347 | int resolution_h, resolution_v;
- | ^~~~~~~~~~~~
- ../subprojects/openhmd/src/drv_wmr/wmr.c:421:44: warning: ‘resolution_h’ may be used uninitialized [-Wmaybe-uninitialized]
- 421 | priv->base.properties.hres = resolution_h;
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
- ../subprojects/openhmd/src/drv_wmr/wmr.c:347:13: note: ‘resolution_h’ was declared here
- 347 | int resolution_h, resolution_v;
- | ^~~~~~~~~~~~
- [13/29] Compiling C object subprojects/openhmd/libopenhmd.a.p/src_drv_htc_vive_packet.c.o
- ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment