Closed Calinou closed 3 years ago
Its attempting to create the directory. For some reason CMake is saying that you don't have the required POSIX I/O functions. Can you rerun CMake and post the log?
Can you rerun CMake and post the log?
It's the same log as I posted at the end of https://github.com/matanui159/ReplaySorcery/issues/117:
❯ cmake -Bbuild -G"Unix Makefiles"
-- The C compiler identification is GNU 11.1.1
-- The CXX compiler identification is GNU 11.1.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib64/ccache/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib64/ccache/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3")
-- Performing Test HAVE_G_FLAG
-- Performing Test HAVE_G_FLAG - Success
-- Performing Test HAVE_ALL_WARN
-- Performing Test HAVE_ALL_WARN - Success
-- Performing Test HAVE_EXTRA_WARN
-- Performing Test HAVE_EXTRA_WARN - Success
-- Performing Test HAVE_PEDANTIC_WARN
-- Performing Test HAVE_PEDANTIC_WARN - Success
-- Performing Test HAVE_CONVERSION_WARN
-- Performing Test HAVE_CONVERSION_WARN - Success
-- Performing Test HAVE_STRICT_PROTOTYPES_WARN
-- Performing Test HAVE_STRICT_PROTOTYPES_WARN - Success
-- Performing Test HAVE_MISSING_PROTOTYPES_WARN
-- Performing Test HAVE_MISSING_PROTOTYPES_WARN - Success
-- Performing Test HAVE_VLA_WARN
-- Performing Test HAVE_VLA_WARN - Success
-- Checking for modules 'libavutil;libavformat;libavdevice;libavcodec;libavfilter'
-- Found libavutil, version 56.70.100
-- Found libavformat, version 58.76.100
-- Found libavdevice, version 58.13.100
-- Found libavcodec, version 58.134.100
-- Found libavfilter, version 7.110.100
-- Looking for open
-- Looking for open - found
-- Looking for close
-- Looking for close - found
-- Looking for read
-- Looking for read - found
-- Looking for write
-- Looking for write - found
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for mkdir
-- Looking for mkdir - found
-- Looking for chmod
-- Looking for chmod - found
-- Looking for poll
-- Looking for poll - found
-- Looking for socket
-- Looking for socket - found
-- Looking for bind
-- Looking for bind - found
-- Looking for listen
-- Looking for listen - found
-- Looking for accept
-- Looking for accept - found
-- Looking for connect
-- Looking for connect - found
-- Looking for sendmsg
-- Looking for sendmsg - found
-- Looking for recvmsg
-- Looking for recvmsg - found
-- Looking for sys/un.h
-- Looking for sys/un.h - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Checking for module 'libpulse'
-- Found libpulse, version 14.2-rebootstrapped
-- Checking for module 'libdrm'
-- Found libdrm, version 2.4.107
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hugo/Documents/Git/matanui159/ReplaySorcery/build
~/Documents/Git/matanui159/ReplaySorcery master
❯ cmake --build build
[ 2%] Creating directories for 'backtrace'
[ 4%] No download step for 'backtrace'
[ 6%] No update step for 'backtrace'
[ 9%] No patch step for 'backtrace'
[ 11%] Performing configure step for 'backtrace'
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace/missing: Unknown `--is-lightweight' option
Try `/home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for ranlib... ranlib
checking for gawk... (cached) gawk
checking for dwz... dwz
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking unwind.h usability... yes
checking unwind.h presence... yes
checking for unwind.h... yes
checking for _Unwind_Backtrace... yes
checking for -funwind-tables option... yes
checking for -frandom-seed=string option... yes
checking whether gcc supports -W... yes
checking whether gcc supports -Wall... yes
checking whether gcc supports -Wwrite-strings... yes
checking whether gcc supports -Wstrict-prototypes... yes
checking whether gcc supports -Wmissing-prototypes... yes
checking whether gcc supports -Wold-style-definition... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wcast-qual... yes
checking for _Unwind_GetIPInfo... yes
checking __sync extensions... yes
checking __atomic extensions... yes
checking output filetype... elf64
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking for dl_iterate_phdr... yes
checking mach-o/dyld.h usability... no
checking mach-o/dyld.h presence... no
checking for mach-o/dyld.h... no
checking sys/ldr.h usability... no
checking sys/ldr.h presence... no
checking for sys/ldr.h... no
checking for fcntl... yes
checking whether strnlen is declared... yes
checking whether getpagesize is declared... yes
checking for lstat... yes
checking for readlink... yes
checking for getexecname... no
checking for KERN_PROC... no
checking for KERN_PROG_ARGS... no
checking for clock_gettime... yes
checking whether -pthread is supported... yes
checking whether -gdwarf-5 is supported... yes
checking for compress in -lz... yes
checking whether --compress-debug-sections is supported... yes
checking for objcopy... objcopy
checking for readelf... readelf
checking whether objcopy supports debuglink... yes
checking for dsymutil... dsymutil
checking for nm... /usr/bin/nm -B
checking for xz... xz
checking for comm... comm
checking for lzma_auto_decoder in -llzma... yes
checking whether tests can run... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating backtrace-supported.h
config.status: creating install-debuginfo-for-buildid.sh
config.status: creating config.h
config.status: executing libtool commands
config.status: executing default commands
[ 13%] Performing build step for 'backtrace'
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=atomic.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace/atomic.c -o atomic.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=dwarf.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace/dwarf.c -o dwarf.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=fileline.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace/fileline.c -o fileline.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=posix.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace/posix.c -o posix.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=print.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace/print.c -o print.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=sort.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace/sort.c -o sort.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=state.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace/state.c -o state.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=backtrace.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace/backtrace.c -o backtrace.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=simple.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace/simple.c -o simple.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=elf.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace/elf.c -o elf.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=mmapio.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace/mmapio.c -o mmapio.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace -funwind-tables -frandom-seed=mmap.lo -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -Wcast-qual -O3 -c /home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace/mmap.c -o mmap.o
libtool: link: ar cru .libs/libbacktrace.a atomic.o dwarf.o fileline.o posix.o print.o sort.o state.o backtrace.o simple.o elf.o mmapio.o mmap.o
libtool: link: ranlib .libs/libbacktrace.a
libtool: link: ( cd ".libs" && rm -f "libbacktrace.la" && ln -s "../libbacktrace.la" "libbacktrace.la" )
[ 16%] Performing install step for 'backtrace'
/usr/bin/mkdir -p '/home/hugo/Documents/Git/matanui159/ReplaySorcery/build/backtrace-prefix/lib'
/bin/sh ./libtool --mode=install /usr/bin/install -c libbacktrace.la '/home/hugo/Documents/Git/matanui159/ReplaySorcery/build/backtrace-prefix/lib'
libtool: install: /usr/bin/install -c .libs/libbacktrace.lai /home/hugo/Documents/Git/matanui159/ReplaySorcery/build/backtrace-prefix/lib/libbacktrace.la
libtool: install: /usr/bin/install -c .libs/libbacktrace.a /home/hugo/Documents/Git/matanui159/ReplaySorcery/build/backtrace-prefix/lib/libbacktrace.a
libtool: install: chmod 644 /home/hugo/Documents/Git/matanui159/ReplaySorcery/build/backtrace-prefix/lib/libbacktrace.a
libtool: install: ranlib /home/hugo/Documents/Git/matanui159/ReplaySorcery/build/backtrace-prefix/lib/libbacktrace.a
libtool: finish: PATH="/home/hugo/.yarn/bin:/home/hugo/.config/yarn/global/node_modules/.bin:/tmp/fnm-shell-5261909/bin:/home/hugo/.basher/cellar/bin:/home/hugo/.local/bin:/home/hugo/.local/share/flatpak/exports/bin:/home/hugo/.basher/bin:/home/hugo/.pyenv/bin:/home/hugo/.swiftenv/bin:/home/hugo/.pyenv/shims:/home/hugo/.rbenv/bin:/home/hugo/.rbenv/shims:/home/hugo/.yarn/bin:/home/hugo/.npm/bin:/home/hugo/.fnm:/home/hugo/.cargo/bin:/home/hugo/.gimme/versions/go1.16.5.linux.amd64/bin:/home/hugo/.go/bin:/home/hugo/.poetry/bin:/home/hugo/.phpenv/bin:/home/hugo/.phpenv/shims:/home/hugo/.config/composer/vendor/bin:/home/hugo/.nimble/bin:/home/hugo/.luarocks/bin:/home/hugo/.wasmer/bin:/home/hugo/.wasmer/globals/wapm_packages/.bin:/home/linuxbrew/.linuxbrew/bin:/usr/local/bin:/usr/local/sbin:/home/hugo/.pyenv/versions/3.9.0/bin:/home/hugo/.pyenv/libexec:/home/hugo/.pyenv/plugins/python-build/bin:/home/hugo/.pyenv/plugins/pyenv-virtualenv/bin:/home/hugo/.pyenv/plugins/pyenv-update/bin:/home/hugo/.pyenv/plugins/pyenv-installer/bin:/home/hugo/.pyenv/plugins/pyenv-doctor/bin:/usr/lib64/ccache:/tmp/fnm-shell-4140700/bin:/home/hugo/.basher/cellar/bin:/home/hugo/.local/bin:/home/hugo/.local/share/flatpak/exports/bin:/home/hugo/.basher/bin:/home/hugo/.pyenv/bin:/home/hugo/.swiftenv/bin:/home/hugo/.pyenv/shims:/home/hugo/.rbenv/bin:/home/hugo/.rbenv/shims:/home/hugo/.yarn/bin:/home/hugo/.npm/bin:/home/hugo/.fnm:/home/hugo/.cargo/bin:/home/hugo/.gimme/versions/go1.16.5.linux.amd64/bin:/home/hugo/.go/bin:/home/hugo/.poetry/bin:/home/hugo/.phpenv/bin:/home/hugo/.phpenv/shims:/home/hugo/.config/composer/vendor/bin:/home/hugo/.nimble/bin:/home/hugo/.luarocks/bin:/home/hugo/.wasmer/bin:/home/hugo/.wasmer/globals/wapm_packages/.bin:/home/linuxbrew/.linuxbrew/bin:/usr/bin:/bin:/home/hugo/.local/opt/android/platform-tools:/home/hugo/.local/opt/android/tools/bin:/home/hugo/bin:/usr/sbin:/home/hugo/.composer/vendor/bin:/home/hugo/.local/opt/android/platform-tools:/home/hugo/.local/opt/android/tools/bin:/sbin" ldconfig -n /home/hugo/Documents/Git/matanui159/ReplaySorcery/build/backtrace-prefix/lib
----------------------------------------------------------------------
Libraries have been installed in:
/home/hugo/Documents/Git/matanui159/ReplaySorcery/build/backtrace-prefix/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,-rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/usr/bin/mkdir -p '/home/hugo/Documents/Git/matanui159/ReplaySorcery/build/backtrace-prefix/include'
/usr/bin/install -c -m 644 /home/hugo/Documents/Git/matanui159/ReplaySorcery/dep/libbacktrace/backtrace.h backtrace-supported.h '/home/hugo/Documents/Git/matanui159/ReplaySorcery/build/backtrace-prefix/include'
[ 18%] Completed 'backtrace'
[ 18%] Built target backtrace
[ 20%] Building C object CMakeFiles/replay-sorcery.dir/src/buffer.c.o
[ 23%] Building C object CMakeFiles/replay-sorcery.dir/src/config.c.o
[ 25%] Building C object CMakeFiles/replay-sorcery.dir/src/log.c.o
[ 27%] Building C object CMakeFiles/replay-sorcery.dir/src/main.c.o
[ 30%] Building C object CMakeFiles/replay-sorcery.dir/src/output.c.o
[ 32%] Building C object CMakeFiles/replay-sorcery.dir/src/socket.c.o
[ 34%] Building C object CMakeFiles/replay-sorcery.dir/src/thread.c.o
[ 37%] Building C object CMakeFiles/replay-sorcery.dir/src/util.c.o
[ 39%] Building C object CMakeFiles/replay-sorcery.dir/src/audio/aacenc.c.o
[ 41%] Building C object CMakeFiles/replay-sorcery.dir/src/audio/abuffer.c.o
[ 44%] Building C object CMakeFiles/replay-sorcery.dir/src/audio/adevice.c.o
[ 46%] Building C object CMakeFiles/replay-sorcery.dir/src/audio/aencoder.c.o
[ 48%] Building C object CMakeFiles/replay-sorcery.dir/src/audio/audio.c.o
[ 51%] Building C object CMakeFiles/replay-sorcery.dir/src/audio/fdkenc.c.o
[ 53%] Building C object CMakeFiles/replay-sorcery.dir/src/audio/pulsedev.c.o
[ 55%] Building C object CMakeFiles/replay-sorcery.dir/src/command/ctrlcmd.c.o
[ 58%] Building C object CMakeFiles/replay-sorcery.dir/src/command/kmscmd.c.o
[ 60%] Building C object CMakeFiles/replay-sorcery.dir/src/command/svkmscmd.c.o
[ 62%] Building C object CMakeFiles/replay-sorcery.dir/src/control/cmdctrl.c.o
[ 65%] Building C object CMakeFiles/replay-sorcery.dir/src/control/control.c.o
[ 67%] Building C object CMakeFiles/replay-sorcery.dir/src/control/dbgctrl.c.o
[ 69%] Building C object CMakeFiles/replay-sorcery.dir/src/control/x11ctrl.c.o
[ 72%] Building C object CMakeFiles/replay-sorcery.dir/src/device/device.c.o
[ 74%] Building C object CMakeFiles/replay-sorcery.dir/src/device/ffdev.c.o
[ 76%] Building C object CMakeFiles/replay-sorcery.dir/src/device/kmsdev.c.o
[ 79%] Building C object CMakeFiles/replay-sorcery.dir/src/device/svkmsdev.c.o
[ 81%] Building C object CMakeFiles/replay-sorcery.dir/src/device/x11dev.c.o
[ 83%] Building C object CMakeFiles/replay-sorcery.dir/src/encoder/encoder.c.o
[ 86%] Building C object CMakeFiles/replay-sorcery.dir/src/encoder/ffenc.c.o
[ 88%] Building C object CMakeFiles/replay-sorcery.dir/src/encoder/openh264enc.c.o
[ 90%] Building C object CMakeFiles/replay-sorcery.dir/src/encoder/vah264enc.c.o
[ 93%] Building C object CMakeFiles/replay-sorcery.dir/src/encoder/vahevcenc.c.o
[ 95%] Building C object CMakeFiles/replay-sorcery.dir/src/encoder/x264enc.c.o
[ 97%] Building C object CMakeFiles/replay-sorcery.dir/src/encoder/x265enc.c.o
[100%] Linking C executable replay-sorcery
[100%] Built target replay-sorcery
Weird... it's finding everything needed for Posix I/O... Can you check what bin/rsbuild.h
contains?
bin/rsbuild.h
:
/*
* Copyright (C) 2020-2021 Joshua Minter
*
* This file is part of ReplaySorcery.
*
* ReplaySorcery is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ReplaySorcery is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with ReplaySorcery. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef RS_BUILD_H
#define RS_BUILD_H
#define RS_BUILD_GLOBAL_CONFIG "/usr/local/etc/replay-sorcery.conf"
#define RS_BUILD_LOCAL_CONFIG "%s/.config/replay-sorcery.conf"
#define RS_BUILD_POSIX_IO_FOUND
#define RS_BUILD_UNIX_SOCKET_FOUND
#define RS_BUILD_PTHREAD_FOUND
#define RS_BUILD_X11_FOUND
#define RS_BUILD_PULSE_FOUND
#define RS_BUILD_LIBDRM_FOUND
#endif
Just wanted to add that I'm having this issue too, and so I can't use the wayland IPC command to save the replay.
Not sure why it can't find the Posix define, maybe it's not being imported on some systems for some reason? Will have a look into it...
Looks like I wasn't importing rsbuild.h
I don't know how I missed that :sweat_smile:
Is your feature request related to a problem? Please describe. Saving the video will fail silently if the destination folder (
$HOME/Videos/ReplaySorcery
) does not exist. You have to look at the logs using journalctl to figure this out:Describe the solution you'd like Create the target folder recursively automatically, so that saving to an arbitrary unknown location will work as long as it's writable.
Additionally, when writing fails for any reason, a notification should be displayed to the user (like when a video is saved successfully).
Describe alternatives you've considered N/A
Additional context N/A