kz04px / libataxx Goto Github PK
View Code? Open in Web Editor NEWA C++ Ataxx library to handle move generation, move validation, and other aspects of the board game Ataxx
License: MIT License
A C++ Ataxx library to handle move generation, move validation, and other aspects of the board game Ataxx
License: MIT License
The libataxx library does not build starting glibc version 2.34. The variable MINSIGSTKSZ is no longer constant: https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html
-- The CXX compiler identification is GNU 11.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thetrustedcomputer/Software/Git/Tiktaxx/libs/libataxx/build
[ 2%] Building CXX object CMakeFiles/ataxx-static.dir/src/count_moves.cpp.o
[ 5%] Building CXX object CMakeFiles/ataxx-static.dir/src/gameover.cpp.o
[ 7%] Building CXX object CMakeFiles/ataxx-static.dir/src/get_fen.cpp.o
[ 10%] Building CXX object CMakeFiles/ataxx-static.dir/src/hash.cpp.o
[ 12%] Building CXX object CMakeFiles/ataxx-static.dir/src/legal_captures.cpp.o
[ 15%] Building CXX object CMakeFiles/ataxx-static.dir/src/legal_move.cpp.o
[ 17%] Building CXX object CMakeFiles/ataxx-static.dir/src/legal_moves.cpp.o
[ 20%] Building CXX object CMakeFiles/ataxx-static.dir/src/makemove.cpp.o
[ 22%] Building CXX object CMakeFiles/ataxx-static.dir/src/perft.cpp.o
[ 25%] Building CXX object CMakeFiles/ataxx-static.dir/src/set_fen.cpp.o
[ 27%] Linking CXX static library static/libataxx.a
[ 27%] Built target ataxx-static
[ 30%] Building CXX object CMakeFiles/ataxx-shared.dir/src/count_moves.cpp.o
[ 32%] Building CXX object CMakeFiles/ataxx-shared.dir/src/gameover.cpp.o
[ 35%] Building CXX object CMakeFiles/ataxx-shared.dir/src/get_fen.cpp.o
[ 37%] Building CXX object CMakeFiles/ataxx-shared.dir/src/hash.cpp.o
[ 40%] Building CXX object CMakeFiles/ataxx-shared.dir/src/legal_captures.cpp.o
[ 42%] Building CXX object CMakeFiles/ataxx-shared.dir/src/legal_move.cpp.o
[ 45%] Building CXX object CMakeFiles/ataxx-shared.dir/src/legal_moves.cpp.o
[ 47%] Building CXX object CMakeFiles/ataxx-shared.dir/src/makemove.cpp.o
[ 50%] Building CXX object CMakeFiles/ataxx-shared.dir/src/perft.cpp.o
[ 52%] Building CXX object CMakeFiles/ataxx-shared.dir/src/set_fen.cpp.o
[ 55%] Linking CXX shared library shared/libataxx.so
[ 55%] Built target ataxx-shared
[ 57%] Building CXX object CMakeFiles/libataxx-test.dir/tests/main.cpp.o
In file included from /usr/include/signal.h:328,
from /home/thetrustedcomputer/Software/Git/Tiktaxx/libs/libataxx/tests/catch.hpp:7712,
from /home/thetrustedcomputer/Software/Git/Tiktaxx/libs/libataxx/tests/main.cpp:2:
/home/thetrustedcomputer/Software/Git/Tiktaxx/libs/libataxx/tests/catch.hpp:10453:58: error: call to non-‘constexpr’ function ‘long int sysconf(int)’
10453 | static constexpr std::size_t sigStackSize = 32768 >= MINSIGSTKSZ ? 32768 : MINSIGSTKSZ;
| ^~~~~~~~~~~
In file included from /usr/include/bits/sigstksz.h:24,
from /usr/include/signal.h:328,
from /home/thetrustedcomputer/Software/Git/Tiktaxx/libs/libataxx/tests/catch.hpp:7712,
from /home/thetrustedcomputer/Software/Git/Tiktaxx/libs/libataxx/tests/main.cpp:2:
/usr/include/unistd.h:640:17: note: ‘long int sysconf(int)’ declared here
640 | extern long int sysconf (int __name) __THROW;
| ^~~~~~~
In file included from /home/thetrustedcomputer/Software/Git/Tiktaxx/libs/libataxx/tests/main.cpp:2:
/home/thetrustedcomputer/Software/Git/Tiktaxx/libs/libataxx/tests/catch.hpp:10512:45: error: size of array ‘altStackMem’ is not an integral constant-expression
10512 | char FatalConditionHandler::altStackMem[sigStackSize] = {};
| ^~~~~~~~~~~~
make[2]: *** [CMakeFiles/libataxx-test.dir/build.make:76: CMakeFiles/libataxx-test.dir/tests/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:139: CMakeFiles/libataxx-test.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
I'm using Arch Linux as my distribution, and this is my glibc version from my package manager's output:
Name : glibc
Version : 2.35-2
Description : GNU C Library
Architecture : x86_64
URL : https://www.gnu.org/software/libc
Licenses : GPL LGPL
Groups : None
Provides : None
Depends On : linux-api-headers>=4.10 tzdata filesystem
Optional Deps : gd: for memusagestat
Required By : a52dec adljack adlplug alsa-lib alsa-plugins argon2 attr audit base bash binutils bison bluez-libs brotli btrfs-progs bubblewrap bzip2 c-ares cabextract ccache cdparanoia ceph-libs coreutils cpio
cracklib dav1d ddrescue device-mapper diffutils dmidecode dnsmasq dosfstools efibootmgr efivar elfutils exfatprogs expat faad2 fakeroot fftw file findutils flex fltk fluidsynth fribidi fuse2 fuse3
gavl gawk gcc-libs gdb gdbm giflib gnupg gpart grep gsm gzip hiredis hwloc hyphen ijs iniparser iproute2 jack2 jansson jdk-openjdk jre-openjdk jre-openjdk-headless json-c kbd keyutils kmod krb5
l-smash lbzip2 less lib32-glibc libass libassuan libasyncns libatomic_ops libb64 libbpf libbsd libburn libcap libcap-ng libcddb libdatrie libdvbpsi libebur128 libedit libepoxy libevdev libexif
libexttextcat libffi libfreeaptx libgpg-error libical libice libid3tag libidn libinih libinstpatch libjpeg-turbo libksba libldac liblo liblouis libmad libmd libmikmod libmnl libmpcdec libmpeg2
libmspack libnatpmp libndp libnet libnfnetlink libnfs libnghttp2 libnl libnsl libogg libomxil-bellagio libp11-kit libpcap libpciaccess libpgm libpipeline libplacebo libraw1394 libsamplerate libseccomp
libsndfile libsodium libstemmer libtasn1 libtiff libtommath libtool libunistring libupnp liburing libusb libuv libvisual libxau libxcrypt libxcvt libxdmcp libxshmfence lilv lmdb lpsolve lsof lz4
lzo m4 make mbedtls md4c mdadm miniupnpc mkinitcpio-busybox mlocate mpfr mtdev mtools muse ncurses net-tools npth nspr numactl oath-toolkit opencore-amr openmpi openssh openssl opnplug opus orc
ostree pacman pam patch pciutils perl pinentry pixman pkgconf polyphone popt portaudio portmidi portsmf procps-ng protobuf qjackctl raptor rasqal rav1e readline rhash rtaudio rtmidi rubberband
run-parts sbc sdl sdl2 sed serd shaderc snappy sord speexdsp sratom stk sudo suil svt-av1 sysfsutils systemd-libs talloc tar tdb tslib twolame vamp-plugin-sdk vid.stab virtualbox
vulkan-icd-loader wavpack wayland wget which xvidcore xxhash yajl zimg zlib zstd
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 48.28 MiB
Packager : Frederik Schwan <[email protected]>
Build Date : Fri 11 Feb 2022 08:08:58 AM PST
Install Date : Tue 15 Feb 2022 11:49:14 AM PST
Install Reason : Installed as a dependency for another package
Install Script : Yes
Validated By : Signature
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.