wisdomlight
New Member
Debian bullseye 64 bit
trying to build from source with browser source
both ways - portable and not
I get the following errors
sherab@sherab-librem13v4:~/obs-studio/build$ make -j4 && make install
Scanning dependencies of target media-playback
Scanning dependencies of target obspython_swig_compilation
Scanning dependencies of target glad
Scanning dependencies of target libobs
[ 0%] Building C object deps/glad/CMakeFiles/glad.dir/src/glad.c.o
[ 0%] Swig compile obspython.i for python
[ 0%] Building C object deps/media-playback/CMakeFiles/media-playback.dir/media-playback/decode.c.o
[ 0%] Building C object libobs/CMakeFiles/libobs.dir/callback/calldata.c.o
/home/sherab/obs-studio/libobs/callback/calldata.c:44:20: error: unused function 'cd_serialize' [-Werror,-Wunused-function]
static inline void cd_serialize(uint8_t **pos, void *ptr, size_t size)
^
1 error generated.
make[2]: *** [libobs/CMakeFiles/libobs.dir/build.make:82: libobs/CMakeFiles/libobs.dir/callback/calldata.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1143: libobs/CMakeFiles/libobs.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 1%] Building C object deps/glad/CMakeFiles/glad.dir/src/glad_glx.c.o
In file included from /home/sherab/obs-studio/deps/glad/src/glad_glx.c:2:
/home/sherab/obs-studio/deps/glad/include/glad/glad_glx.h:27:18: error: redefinition of typedef 'GLADloadproc' is a C11 feature [-Werror,-Wtypedef-rede
finition]
typedef void* (* GLADloadproc)(const char *name);
^
/home/sherab/obs-studio/deps/glad/include/glad/glad.h:34:18: note: previous definition is here
typedef void* (* GLADloadproc)(const char *name);
^
1 error generated.
make[2]: *** [deps/glad/CMakeFiles/glad.dir/build.make:95: deps/glad/CMakeFiles/glad.dir/src/glad_glx.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 2%] Building C object deps/media-playback/CMakeFiles/media-playback.dir/media-playback/media.c.o
[ 2%] Linking C static library libmedia-playback.a
[ 2%] Built target media-playback
make[1]: *** [CMakeFiles/Makefile2:892: deps/glad/CMakeFiles/glad.dir/all] Error 2
[ 2%] Built target obspython_swig_compilation
make: *** [Makefile:171: all] Error 2
sherab@sherab-librem13v4:~/obs-studio/build$
trying to build from source with browser source
both ways - portable and not
I get the following errors
sherab@sherab-librem13v4:~/obs-studio/build$ make -j4 && make install
Scanning dependencies of target media-playback
Scanning dependencies of target obspython_swig_compilation
Scanning dependencies of target glad
Scanning dependencies of target libobs
[ 0%] Building C object deps/glad/CMakeFiles/glad.dir/src/glad.c.o
[ 0%] Swig compile obspython.i for python
[ 0%] Building C object deps/media-playback/CMakeFiles/media-playback.dir/media-playback/decode.c.o
[ 0%] Building C object libobs/CMakeFiles/libobs.dir/callback/calldata.c.o
/home/sherab/obs-studio/libobs/callback/calldata.c:44:20: error: unused function 'cd_serialize' [-Werror,-Wunused-function]
static inline void cd_serialize(uint8_t **pos, void *ptr, size_t size)
^
1 error generated.
make[2]: *** [libobs/CMakeFiles/libobs.dir/build.make:82: libobs/CMakeFiles/libobs.dir/callback/calldata.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1143: libobs/CMakeFiles/libobs.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 1%] Building C object deps/glad/CMakeFiles/glad.dir/src/glad_glx.c.o
In file included from /home/sherab/obs-studio/deps/glad/src/glad_glx.c:2:
/home/sherab/obs-studio/deps/glad/include/glad/glad_glx.h:27:18: error: redefinition of typedef 'GLADloadproc' is a C11 feature [-Werror,-Wtypedef-rede
finition]
typedef void* (* GLADloadproc)(const char *name);
^
/home/sherab/obs-studio/deps/glad/include/glad/glad.h:34:18: note: previous definition is here
typedef void* (* GLADloadproc)(const char *name);
^
1 error generated.
make[2]: *** [deps/glad/CMakeFiles/glad.dir/build.make:95: deps/glad/CMakeFiles/glad.dir/src/glad_glx.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 2%] Building C object deps/media-playback/CMakeFiles/media-playback.dir/media-playback/media.c.o
[ 2%] Linking C static library libmedia-playback.a
[ 2%] Built target media-playback
make[1]: *** [CMakeFiles/Makefile2:892: deps/glad/CMakeFiles/glad.dir/all] Error 2
[ 2%] Built target obspython_swig_compilation
make: *** [Makefile:171: all] Error 2
sherab@sherab-librem13v4:~/obs-studio/build$