forked from JibbSmart/JoyShockMapper
-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Hello!
I tried to build the latest git build of JSM on Arch Linux. It seems that the library 'chrono' is missing.
~/S/A/J/build (master) # pwd
/home/jazztache/Source/Audit/JoyShockMapper/build
~/S/A/J/build (master) # git status
On branch master
Your branch is up to date with 'origin/master'.
Changes to be committed:
(use "git restore --staged <file>..." to unstage)
modified: ../CHANGELOG.md
Untracked files:
(use "git add <file>..." to include in what will be committed)
../JoyShockMapper/JoyShockMapper/
~/S/A/J/build (master) # cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++ -Wno-dev && cmake --build .
-- JSM version is v3.6.1
-- CPM: adding package SDL3@ (release-3.2.x)
-- dynamic libasound -> libasound.so.2
-- Checking for module 'jack'
-- Found jack, version 3.1410.0
-- dynamic libjack -> libjack.so.0
-- Checking for module 'libpipewire-0.3>=0.3.44'
-- Found libpipewire-0.3, version 1.4.10
-- dynamic libpipewire-0.3 -> libpipewire-0.3.so.0
-- Checking for module 'libpulse>=0.9.15'
-- Found libpulse, version 17.0-98-gb096
-- dynamic libpulse -> libpulse.so.0
-- Checking for module 'sndio'
-- Found sndio, version 1.10.0
-- dynamic libsndio -> libsndio.so.7
-- dynamic libX11 -> libX11.so.6
-- dynamic libXext -> libXext.so.6
-- dynamic libXcursor -> libXcursor.so.1
-- dynamic libXi -> libXi.so.6
-- dynamic libXfixes -> libXfixes.so.3
-- dynamic libXrandr -> libXrandr.so.2
-- dynamic libXrender -> libXrender.so.1
-- dynamic libXss -> libXss.so.1
-- Checking for module 'libdrm'
-- Found libdrm, version 2.4.131
-- Checking for module 'gbm'
-- Found gbm, version 25.3.5-arch1.1
-- dynamic libdrm -> libdrm.so.2
-- dynamic libgbm -> libgbm.so.1
-- Checking for modules 'wayland-client>=1.18;wayland-egl;wayland-cursor;egl;xkbcommon>=0.5.0'
-- Found wayland-client, version 1.24.0
-- Found wayland-egl, version 18.1.0
-- Found wayland-cursor, version 1.24.0
-- Found egl, version 1.5
-- Found xkbcommon, version 1.13.1
-- dynamic libwayland-client -> libwayland-client.so.0
-- dynamic libwayland-egl -> libwayland-egl.so.1
-- dynamic libwayland-cursor -> libwayland-cursor.so.0
-- dynamic libxkbcommon -> libxkbcommon.so.0
-- dynamic libdecor-0 -> libdecor-0.so.0
-- dynamic libudev -> libudev.so.1
--
-- SDL3 was configured with the following options:
--
-- Platform: Linux-6.18.9-arch1-2
-- 64-bit: TRUE
-- Compiler: /usr/bin/cc
-- Revision: SDL-3.2.31--128-NOTFOUND
-- Vendor:
--
-- Subsystems:
-- Audio: ON
-- Video: ON
-- GPU: ON
-- Render: ON
-- Camera: ON
-- Joystick: ON
-- Haptic: ON
-- Hidapi: ON
-- Power: ON
-- Sensor: ON
-- Dialog: ON
--
-- Options:
-- SDL_ALSA (Wanted: ON): ON
-- SDL_ALSA_SHARED (Wanted: ON): ON
-- SDL_ALTIVEC (Wanted: OFF): OFF
-- SDL_ARMNEON (Wanted: OFF): OFF
-- SDL_ASAN (Wanted: OFF): OFF
-- SDL_ASSEMBLY (Wanted: ON): ON
-- SDL_ASSERTIONS (Wanted: auto): auto
-- SDL_AVX (Wanted: ON): ON
-- SDL_AVX2 (Wanted: ON): ON
-- SDL_AVX512F (Wanted: ON): ON
-- SDL_BACKGROUNDING_SIGNAL (Wanted: OFF): OFF
-- SDL_CCACHE (Wanted: ON): ON
-- SDL_CLANG_TIDY (Wanted: OFF): OFF
-- SDL_CLOCK_GETTIME (Wanted: ON): ON
-- SDL_COCOA (Wanted: OFF): OFF
-- SDL_DBUS (Wanted: ON): ON
-- SDL_DEPS_SHARED (Wanted: ON): OFF
-- SDL_DIRECTX (Wanted: OFF): OFF
-- SDL_DISKAUDIO (Wanted: ON): ON
-- SDL_DUMMYAUDIO (Wanted: ON): ON
-- SDL_DUMMYCAMERA (Wanted: ON): ON
-- SDL_DUMMYVIDEO (Wanted: ON): ON
-- SDL_EXAMPLES (Wanted: OFF): OFF
-- SDL_EXAMPLES_LINK_SHARED (Wanted: ON): OFF
-- SDL_FOREGROUNDING_SIGNAL (Wanted: OFF): OFF
-- SDL_GCC_ATOMICS (Wanted: ON): ON
-- SDL_GPU_DXVK (Wanted: OFF): OFF
-- SDL_HIDAPI (Wanted: ON): ON
-- SDL_HIDAPI_JOYSTICK (Wanted: ON): ON
-- SDL_HIDAPI_LIBUSB (Wanted: OFF): OFF
-- SDL_HIDAPI_LIBUSB_SHARED (Wanted: OFF): OFF
-- SDL_IBUS (Wanted: ON): ON
-- SDL_INSTALL (Wanted: OFF): OFF
-- SDL_INSTALL_TESTS (Wanted: OFF): OFF
-- SDL_JACK (Wanted: ON): ON
-- SDL_JACK_SHARED (Wanted: ON): ON
-- SDL_KMSDRM (Wanted: ON): ON
-- SDL_KMSDRM_SHARED (Wanted: ON): ON
-- SDL_LASX (Wanted: OFF): OFF
-- SDL_LIBC (Wanted: ON): ON
-- SDL_LIBICONV (Wanted: OFF): OFF
-- SDL_LIBUDEV (Wanted: ON): ON
-- SDL_LIBURING (Wanted: ON): ON
-- SDL_LSX (Wanted: OFF): OFF
-- SDL_METAL (Wanted: OFF): OFF
-- SDL_MMX (Wanted: ON): ON
-- SDL_OFFSCREEN (Wanted: ON): ON
-- SDL_OPENGL (Wanted: ON): ON
-- SDL_OPENGLES (Wanted: ON): ON
-- SDL_OPENVR (Wanted: OFF): OFF
-- SDL_OSS (Wanted: ON): ON
-- SDL_PIPEWIRE (Wanted: ON): ON
-- SDL_PIPEWIRE_SHARED (Wanted: ON): ON
-- SDL_PTHREADS (Wanted: ON): ON
-- SDL_PTHREADS_SEM (Wanted: ON): ON
-- SDL_PULSEAUDIO (Wanted: ON): ON
-- SDL_PULSEAUDIO_SHARED (Wanted: ON): ON
-- SDL_RENDER_D3D (Wanted: OFF): OFF
-- SDL_RENDER_D3D11 (Wanted: OFF): OFF
-- SDL_RENDER_D3D12 (Wanted: OFF): OFF
-- SDL_RENDER_GPU (Wanted: ON): ON
-- SDL_RENDER_METAL (Wanted: OFF): OFF
-- SDL_RENDER_VULKAN (Wanted: ON): ON
-- SDL_ROCKCHIP (Wanted: OFF): OFF
-- SDL_RPATH (Wanted: ON): ON
-- SDL_RPI (Wanted: OFF): OFF
-- SDL_SNDIO (Wanted: ON): ON
-- SDL_SNDIO_SHARED (Wanted: ON): ON
-- SDL_SSE (Wanted: ON): ON
-- SDL_SSE2 (Wanted: ON): ON
-- SDL_SSE3 (Wanted: ON): ON
-- SDL_SSE4_1 (Wanted: ON): ON
-- SDL_SSE4_2 (Wanted: ON): ON
-- SDL_SYSTEM_ICONV (Wanted: ON): ON
-- SDL_TESTS (Wanted: OFF): OFF
-- SDL_TESTS_LINK_SHARED (Wanted: ON): OFF
-- SDL_UNINSTALL (Wanted: OFF): OFF
-- SDL_VIRTUAL_JOYSTICK (Wanted: ON): ON
-- SDL_VIVANTE (Wanted: OFF): OFF
-- SDL_VULKAN (Wanted: ON): ON
-- SDL_WASAPI (Wanted: OFF): OFF
-- SDL_WAYLAND (Wanted: ON): ON
-- SDL_WAYLAND_LIBDECOR (Wanted: ON): ON
-- SDL_WAYLAND_LIBDECOR_SHARED (Wanted: ON): ON
-- SDL_WAYLAND_SHARED (Wanted: ON): ON
-- SDL_X11 (Wanted: ON): ON
-- SDL_X11_SHARED (Wanted: ON): ON
-- SDL_X11_XCURSOR (Wanted: ON): ON
-- SDL_X11_XDBE (Wanted: ON): ON
-- SDL_X11_XFIXES (Wanted: ON): ON
-- SDL_X11_XINPUT (Wanted: ON): ON
-- SDL_X11_XRANDR (Wanted: ON): ON
-- SDL_X11_XSCRNSAVER (Wanted: ON): ON
-- SDL_X11_XSHAPE (Wanted: ON): ON
-- SDL_X11_XSYNC (Wanted: ON): ON
-- SDL_XINPUT (Wanted: OFF): OFF
--
-- Build Shared Library: ON
-- Build Static Library: ON
-- Build Static Library with Position Independent Code: OFF
--
-- If something was not detected, although the libraries
-- were installed, then make sure you have set the
-- CMAKE_C_FLAGS and CMAKE_PREFIX_PATH CMake variables correctly.
--
-- CPM: adding package magic_enum@0 (47e34ada93e0bf70dcea551636755cd66d893768)
-- CPM: adding package pocket_fsm@0 (e447ec24c7a547bd1fbe8d964baa866a9cf146c8)
-- CPM: adding package GamepadMotionHelpers@0 (39b578aacf34c3a1c584d8f7f194adc776f88055)
-- Configuring done (1.8s)
-- Generating done (0.1s)
-- Build files have been written to: /home/jazztache/Source/Audit/JoyShockMapper/build
[ 4%] Built target SDL_uclibc
[ 50%] Built target SDL3-shared
[ 50%] Building CXX object JoyShockMapper/CMakeFiles/JoyShockMapper.dir/src/DigitalButton.cpp.o
In file included from /home/jazztache/Source/Audit/JoyShockMapper/JoyShockMapper/src/DigitalButton.cpp:1:
In file included from /home/jazztache/Source/Audit/JoyShockMapper/JoyShockMapper/include/DigitalButton.h:5:
/home/jazztache/Source/Audit/JoyShockMapper/JoyShockMapper/include/Gamepad.h:17:25: error: no member named 'chrono' in namespace 'std'
17 | using TimePoint = std::chrono::time_point<std::chrono::steady_clock>;
| ~~~~~^
/home/jazztache/Source/Audit/JoyShockMapper/JoyShockMapper/include/Gamepad.h:17:49: error: no member named 'chrono' in namespace 'std'
17 | using TimePoint = std::chrono::time_point<std::chrono::steady_clock>;
| ~~~~~^
/home/jazztache/Source/Audit/JoyShockMapper/JoyShockMapper/include/Gamepad.h:43:23: error: unknown type name 'TimePoint'
43 | virtual void setGyro(TimePoint now, float accelX, float accelY, float accelZ, float gyroX, float gyroY, float gyroZ) = 0;
| ^
In file included from /home/jazztache/Source/Audit/JoyShockMapper/JoyShockMapper/src/DigitalButton.cpp:2:
/home/jazztache/Source/Audit/JoyShockMapper/JoyShockMapper/include/JSMVariable.hpp:209:10: warning: 'operator Mapping' overrides a member function but is not marked
'override' [-Winconsistent-missing-override]
209 | virtual operator T() const
| ^
/home/jazztache/Source/Audit/JoyShockMapper/JoyShockMapper/include/JSMVariable.hpp:305:26: note: in instantiation of template class 'ChordedVariable<Mapping>' requested
here
305 | class JSMButton : public ChordedVariable<Mapping>
| ^
/home/jazztache/Source/Audit/JoyShockMapper/JoyShockMapper/include/JSMVariable.hpp:132:10: note: overridden virtual function is here
132 | virtual operator T() const
| ^
/home/jazztache/Source/Audit/JoyShockMapper/JoyShockMapper/include/JSMVariable.hpp:214:19: warning: 'value' overrides a member function but is not marked 'override'
[-Winconsistent-missing-override]
214 | virtual const T &value() const
| ^
/home/jazztache/Source/Audit/JoyShockMapper/JoyShockMapper/include/JSMVariable.hpp:137:19: note: overridden virtual function is here
137 | virtual const T &value() const
| ^
/home/jazztache/Source/Audit/JoyShockMapper/JoyShockMapper/src/DigitalButton.cpp:879:26: warning: result of comparison against a string literal is unspecified
(use an explicit string comparison function instead) [-Wstring-compare]
879 | if (_nextState->_name == "NoPress")
| ^ ~~~~~~~~~
/home/jazztache/Source/Audit/JoyShockMapper/JoyShockMapper/src/DigitalButton.cpp:885:31: warning: result of comparison against a string literal is unspecified
(use an explicit string comparison function instead) [-Wstring-compare]
885 | else if (_nextState->_name == "TapPress")
| ^ ~~~~~~~~~~
/home/jazztache/Source/Audit/JoyShockMapper/JoyShockMapper/src/DigitalButton.cpp:965:2: warning: 'react' overrides a member function but is not marked 'override'
[-Winconsistent-missing-override]
965 | REACT(Pressed)
| ^
/home/jazztache/Source/Audit/JoyShockMapper/build/_deps/pocket_fsm-src/include/pocket_fsm.h:135:15: note: expanded from macro 'REACT'
135 | virtual void react(EVENT &e)
| ^
/home/jazztache/Source/Audit/JoyShockMapper/JoyShockMapper/include/DigitalButton.h:83:2: note: overridden virtual function is here
83 | REACT(Pressed);
| ^
/home/jazztache/Source/Audit/JoyShockMapper/build/_deps/pocket_fsm-src/include/pocket_fsm.h:135:15: note: expanded from macro 'REACT'
135 | virtual void react(EVENT &e)
| ^
5 warnings and 3 errors generated.
make[2]: *** [JoyShockMapper/CMakeFiles/JoyShockMapper.dir/build.make:149: JoyShockMapper/CMakeFiles/JoyShockMapper.dir/src/DigitalButton.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:203: JoyShockMapper/CMakeFiles/JoyShockMapper.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
~/S/A/J/build (master) #
After I added the chrono library to the top of the C++ file, I rebuilt and got this output instead:
~/S/A/J/build (master) # cat ../JoyShockMapper/include/Gamepad.h | grep "chrono"
#include <chrono> // Must be included
using TimePoint = std::chrono::time_point<std::chrono::steady_clock>;
~/S/A/J/build (master) # pwd
/home/jazztache/Source/Audit/JoyShockMapper/build
~/S/A/J/build (master) # cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=clang++ -Wno-dev && cmake --build .
-- JSM version is v3.6.1
-- CPM: adding package SDL3@ (release-3.2.x)
-- dynamic libasound -> libasound.so.2
-- Checking for module 'jack'
-- Found jack, version 3.1410.0
-- dynamic libjack -> libjack.so.0
-- Checking for module 'libpipewire-0.3>=0.3.44'
-- Found libpipewire-0.3, version 1.4.10
-- dynamic libpipewire-0.3 -> libpipewire-0.3.so.0
-- Checking for module 'libpulse>=0.9.15'
-- Found libpulse, version 17.0-98-gb096
-- dynamic libpulse -> libpulse.so.0
-- Checking for module 'sndio'
-- Found sndio, version 1.10.0
-- dynamic libsndio -> libsndio.so.7
-- dynamic libX11 -> libX11.so.6
-- dynamic libXext -> libXext.so.6
-- dynamic libXcursor -> libXcursor.so.1
-- dynamic libXi -> libXi.so.6
-- dynamic libXfixes -> libXfixes.so.3
-- dynamic libXrandr -> libXrandr.so.2
-- dynamic libXrender -> libXrender.so.1
-- dynamic libXss -> libXss.so.1
-- Checking for module 'libdrm'
-- Found libdrm, version 2.4.131
-- Checking for module 'gbm'
-- Found gbm, version 25.3.5-arch1.1
-- dynamic libdrm -> libdrm.so.2
-- dynamic libgbm -> libgbm.so.1
-- Checking for modules 'wayland-client>=1.18;wayland-egl;wayland-cursor;egl;xkbcommon>=0.5.0'
-- Found wayland-client, version 1.24.0
-- Found wayland-egl, version 18.1.0
-- Found wayland-cursor, version 1.24.0
-- Found egl, version 1.5
-- Found xkbcommon, version 1.13.1
-- dynamic libwayland-client -> libwayland-client.so.0
-- dynamic libwayland-egl -> libwayland-egl.so.1
-- dynamic libwayland-cursor -> libwayland-cursor.so.0
-- dynamic libxkbcommon -> libxkbcommon.so.0
-- dynamic libdecor-0 -> libdecor-0.so.0
-- dynamic libudev -> libudev.so.1
--
-- SDL3 was configured with the following options:
--
-- Platform: Linux-6.18.9-arch1-2
-- 64-bit: TRUE
-- Compiler: /usr/bin/cc
-- Revision: SDL-3.2.31--128-NOTFOUND
-- Vendor:
--
-- Subsystems:
-- Audio: ON
-- Video: ON
-- GPU: ON
-- Render: ON
-- Camera: ON
-- Joystick: ON
-- Haptic: ON
-- Hidapi: ON
-- Power: ON
-- Sensor: ON
-- Dialog: ON
--
-- Options:
-- SDL_ALSA (Wanted: ON): ON
-- SDL_ALSA_SHARED (Wanted: ON): ON
-- SDL_ALTIVEC (Wanted: OFF): OFF
-- SDL_ARMNEON (Wanted: OFF): OFF
-- SDL_ASAN (Wanted: OFF): OFF
-- SDL_ASSEMBLY (Wanted: ON): ON
-- SDL_ASSERTIONS (Wanted: auto): auto
-- SDL_AVX (Wanted: ON): ON
-- SDL_AVX2 (Wanted: ON): ON
-- SDL_AVX512F (Wanted: ON): ON
-- SDL_BACKGROUNDING_SIGNAL (Wanted: OFF): OFF
-- SDL_CCACHE (Wanted: ON): ON
-- SDL_CLANG_TIDY (Wanted: OFF): OFF
-- SDL_CLOCK_GETTIME (Wanted: ON): ON
-- SDL_COCOA (Wanted: OFF): OFF
-- SDL_DBUS (Wanted: ON): ON
-- SDL_DEPS_SHARED (Wanted: ON): OFF
-- SDL_DIRECTX (Wanted: OFF): OFF
-- SDL_DISKAUDIO (Wanted: ON): ON
-- SDL_DUMMYAUDIO (Wanted: ON): ON
-- SDL_DUMMYCAMERA (Wanted: ON): ON
-- SDL_DUMMYVIDEO (Wanted: ON): ON
-- SDL_EXAMPLES (Wanted: OFF): OFF
-- SDL_EXAMPLES_LINK_SHARED (Wanted: ON): OFF
-- SDL_FOREGROUNDING_SIGNAL (Wanted: OFF): OFF
-- SDL_GCC_ATOMICS (Wanted: ON): ON
-- SDL_GPU_DXVK (Wanted: OFF): OFF
-- SDL_HIDAPI (Wanted: ON): ON
-- SDL_HIDAPI_JOYSTICK (Wanted: ON): ON
-- SDL_HIDAPI_LIBUSB (Wanted: OFF): OFF
-- SDL_HIDAPI_LIBUSB_SHARED (Wanted: OFF): OFF
-- SDL_IBUS (Wanted: ON): ON
-- SDL_INSTALL (Wanted: OFF): OFF
-- SDL_INSTALL_TESTS (Wanted: OFF): OFF
-- SDL_JACK (Wanted: ON): ON
-- SDL_JACK_SHARED (Wanted: ON): ON
-- SDL_KMSDRM (Wanted: ON): ON
-- SDL_KMSDRM_SHARED (Wanted: ON): ON
-- SDL_LASX (Wanted: OFF): OFF
-- SDL_LIBC (Wanted: ON): ON
-- SDL_LIBICONV (Wanted: OFF): OFF
-- SDL_LIBUDEV (Wanted: ON): ON
-- SDL_LIBURING (Wanted: ON): ON
-- SDL_LSX (Wanted: OFF): OFF
-- SDL_METAL (Wanted: OFF): OFF
-- SDL_MMX (Wanted: ON): ON
-- SDL_OFFSCREEN (Wanted: ON): ON
-- SDL_OPENGL (Wanted: ON): ON
-- SDL_OPENGLES (Wanted: ON): ON
-- SDL_OPENVR (Wanted: OFF): OFF
-- SDL_OSS (Wanted: ON): ON
-- SDL_PIPEWIRE (Wanted: ON): ON
-- SDL_PIPEWIRE_SHARED (Wanted: ON): ON
-- SDL_PTHREADS (Wanted: ON): ON
-- SDL_PTHREADS_SEM (Wanted: ON): ON
-- SDL_PULSEAUDIO (Wanted: ON): ON
-- SDL_PULSEAUDIO_SHARED (Wanted: ON): ON
-- SDL_RENDER_D3D (Wanted: OFF): OFF
-- SDL_RENDER_D3D11 (Wanted: OFF): OFF
-- SDL_RENDER_D3D12 (Wanted: OFF): OFF
-- SDL_RENDER_GPU (Wanted: ON): ON
-- SDL_RENDER_METAL (Wanted: OFF): OFF
-- SDL_RENDER_VULKAN (Wanted: ON): ON
-- SDL_ROCKCHIP (Wanted: OFF): OFF
-- SDL_RPATH (Wanted: ON): ON
-- SDL_RPI (Wanted: OFF): OFF
-- SDL_SNDIO (Wanted: ON): ON
-- SDL_SNDIO_SHARED (Wanted: ON): ON
-- SDL_SSE (Wanted: ON): ON
-- SDL_SSE2 (Wanted: ON): ON
-- SDL_SSE3 (Wanted: ON): ON
-- SDL_SSE4_1 (Wanted: ON): ON
-- SDL_SSE4_2 (Wanted: ON): ON
-- SDL_SYSTEM_ICONV (Wanted: ON): ON
-- SDL_TESTS (Wanted: OFF): OFF
-- SDL_TESTS_LINK_SHARED (Wanted: ON): OFF
-- SDL_UNINSTALL (Wanted: OFF): OFF
-- SDL_VIRTUAL_JOYSTICK (Wanted: ON): ON
-- SDL_VIVANTE (Wanted: OFF): OFF
-- SDL_VULKAN (Wanted: ON): ON
-- SDL_WASAPI (Wanted: OFF): OFF
-- SDL_WAYLAND (Wanted: ON): ON
-- SDL_WAYLAND_LIBDECOR (Wanted: ON): ON
-- SDL_WAYLAND_LIBDECOR_SHARED (Wanted: ON): ON
-- SDL_WAYLAND_SHARED (Wanted: ON): ON
-- SDL_X11 (Wanted: ON): ON
-- SDL_X11_SHARED (Wanted: ON): ON
-- SDL_X11_XCURSOR (Wanted: ON): ON
-- SDL_X11_XDBE (Wanted: ON): ON
-- SDL_X11_XFIXES (Wanted: ON): ON
-- SDL_X11_XINPUT (Wanted: ON): ON
-- SDL_X11_XRANDR (Wanted: ON): ON
-- SDL_X11_XSCRNSAVER (Wanted: ON): ON
-- SDL_X11_XSHAPE (Wanted: ON): ON
-- SDL_X11_XSYNC (Wanted: ON): ON
-- SDL_XINPUT (Wanted: OFF): OFF
--
-- Build Shared Library: ON
-- Build Static Library: ON
-- Build Static Library with Position Independent Code: OFF
--
-- If something was not detected, although the libraries
-- were installed, then make sure you have set the
-- CMAKE_C_FLAGS and CMAKE_PREFIX_PATH CMake variables correctly.
--
-- CPM: adding package magic_enum@0 (47e34ada93e0bf70dcea551636755cd66d893768)
-- CPM: adding package pocket_fsm@0 (e447ec24c7a547bd1fbe8d964baa866a9cf146c8)
-- CPM: adding package GamepadMotionHelpers@0 (39b578aacf34c3a1c584d8f7f194adc776f88055)
-- Configuring done (1.8s)
-- Generating done (0.1s)
-- Build files have been written to: /home/jazztache/Source/Audit/JoyShockMapper/build
[ 4%] Built target SDL_uclibc
[ 50%] Built target SDL3-shared
[ 50%] Building CXX object JoyShockMapper/CMakeFiles/JoyShockMapper.dir/src/TriggerEffectGenerator.cpp.o
/home/jazztache/Source/Audit/JoyShockMapper/JoyShockMapper/src/TriggerEffectGenerator.cpp:153:6: error: no member named 'find_if' in namespace 'std'; did you mean
'std::ranges::find_if'?
153 | if (std::find_if(strength.begin(), strength.end(), isInvalid) == strength.end())
| ^~~~~~~~~~~~
| std::ranges::find_if
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../include/c++/15.2.1/bits/ranges_util.h:576:33: note: 'std::ranges::find_if' declared here
576 | inline constexpr __find_if_fn find_if{};
| ^
/home/jazztache/Source/Audit/JoyShockMapper/JoyShockMapper/src/TriggerEffectGenerator.cpp:219:23: error: no member named 'find_if' in namespace 'std'; did you mean
'std::ranges::find_if'?
219 | if (frequency > 0 && std::find_if(amplitude.begin(), amplitude.end(), isInvalid) == amplitude.end())
| ^~~~~~~~~~~~
| std::ranges::find_if
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/15.2.1/../../../../include/c++/15.2.1/bits/ranges_util.h:576:33: note: 'std::ranges::find_if' declared here
576 | inline constexpr __find_if_fn find_if{};
| ^
2 errors generated.
make[2]: *** [JoyShockMapper/CMakeFiles/JoyShockMapper.dir/build.make:191: JoyShockMapper/CMakeFiles/JoyShockMapper.dir/src/TriggerEffectGenerator.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:203: JoyShockMapper/CMakeFiles/JoyShockMapper.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
~/S/A/J/build (master) #
What can I do to solve this issue? It might just be a second missing library...?
Thankyou!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels