im now using cmake instead of meson since it refuses to use meson.
so far i have the folder an i done this.
git clone GitHub - jiixyj/epoll-shim: small epoll implementation using kqueue; includes all features needed for libinput/libevdev
cd epoll-shim
cmake
cmake … -DCMAKE_BUILD_TYPE=RelWithDebInfo
– The C compiler identification is GNU 13.2.0
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /usr/bin/cc - skipped
– Detecting C compile features
– Detecting C compile features - done
– Check size of errno_t
– Check size of errno_t - failed
– Performing Test CMAKE_HAVE_LIBC_PTHREAD
– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
– Found Threads: TRUE
– Configuring done (0.5s)
– Generating done (0.0s)
– Build files have been written to: /home/talion117/epoll-shim/build
cmake … -DCMAKE_BUILD_TYPE=Debug
– Configuring done (0.0s)
– Generating done (0.1s)
– Build files have been written to: /home/talion117/epoll-shim/build
im stuck on cmake --build /home/talion117/epoll-shim/build
cmake --build
CMake Error: The source directory “/home/talion117/epoll-shim/build/…” does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
Usage: cmake --build [options] [-- [native-options]]
cmake --build --preset [options] [-- [native-options]]
Options:
= Project binary directory to be built.
--preset , --preset=
= Specify a build preset.
--list-presets[=]
= List available build presets.
--parallel [], -j []
= Build in parallel using the given number of jobs.
If is omitted the native build tool's
default number is used.
The CMAKE_BUILD_PARALLEL_LEVEL environment variable
specifies a default parallel level when this option
is not given.
-t ..., --target ...
= Build instead of default targets.
--config = For multi-configuration tools, choose .
--clean-first = Build target 'clean' first, then build.
(To clean only, use --target 'clean'.)
--resolve-package-references={on|only|off}
= Restore/resolve package references during build.
-v, --verbose = Enable verbose output - if supported - including
the build commands to be executed.
-- = Pass remaining options to the native tool.
cd /home/talion117/epoll-shim
mkdir build
cd build
cmake …
– The C compiler identification is GNU 13.2.0
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /usr/bin/cc - skipped
– Detecting C compile features
– Detecting C compile features - done
– Check size of errno_t
– Check size of errno_t - failed
– Performing Test CMAKE_HAVE_LIBC_PTHREAD
– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
– Found Threads: TRUE
– Configuring done (0.4s)
– Generating done (0.0s)
– Build files have been written to: /home/talion117/epoll-shim/build
LD_TYPE=RelWithDebInfo
cmake —build build —targets all
– The C compiler identification is GNU 13.2.0
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working C compiler: /usr/bin/cc - skipped
– Detecting C compile features
– Detecting C compile features - done
– Check size of errno_t
– Check size of errno_t - failed
– Performing Test CMAKE_HAVE_LIBC_PTHREAD
– Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
– Found Threads: TRUE
– Configuring done (0.4s)
– Generating done (0.0s)
– Build files have been written to: /home/talion117/epoll-shim/build
CMake Warning:
Ignoring extra path from command line:
“all”
– Configuring done (0.0s)
– Generating done (0.0s)
– Build files have been written to: /home/talion117/epoll-shim/build