(deck@steamdeck ryzenadj)$ git clone https://github.com/FlyGoat/RyzenAdj.git
Cloning into 'RyzenAdj'...
remote: Enumerating objects: 1332, done.
remote: Counting objects: 100% (618/618), done.
remote: Compressing objects: 100% (152/152), done.
remote: Total 1332 (delta 526), reused 469 (delta 466), pack-reused 714 (from 3)
Receiving objects: 100% (1332/1332), 389.45 KiB | 2.58 MiB/s, done.
Resolving deltas: 100% (869/869), done.
(deck@steamdeck ryzenadj)$ cd RyzenAdj/
(deck@steamdeck RyzenAdj)$ rm -r win32
(deck@steamdeck RyzenAdj)$ mkdir build && cd build
(deck@steamdeck build)$ cmake -DCMAKE_BUILD_TYPE=Release ..
CMake Deprecation Warning at CMakeLists.txt:2 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- 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
-- 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
-- Build type: Release
-- IPO / LTO enabled
-- Configuring done (1.9s)
-- Generating done (0.0s)
-- Build files have been written to: /home/deck/ryzenadj/RyzenAdj/build
(deck@steamdeck build)$ make
[ 6%] Building C object CMakeFiles/ryzenadj.dir/lib/linux/osdep_linux.c.o
/home/deck/ryzenadj/RyzenAdj/lib/linux/osdep_linux.c:3:10: fatal error: sys/stat.h: No such file or directory
3 | #include <sys/stat.h>
| ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/ryzenadj.dir/build.make:79: CMakeFiles/ryzenadj.dir/lib/linux/osdep_linux.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:90: CMakeFiles/ryzenadj.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
(2)(deck@steamdeck build)$ cmake --version
cmake version 3.31.3
CMake suite maintained and supported by Kitware (kitware.com/cmake).
(deck@steamdeck build)$
deps present. what the heck?
(deck@steamdeck ryzenadj)$ git clone https://github.com/FlyGoat/RyzenAdj.git
Cloning into 'RyzenAdj'...
remote: Enumerating objects: 1332, done.
remote: Counting objects: 100% (618/618), done.
remote: Compressing objects: 100% (152/152), done.
remote: Total 1332 (delta 526), reused 469 (delta 466), pack-reused 714 (from 3)
Receiving objects: 100% (1332/1332), 389.45 KiB | 2.58 MiB/s, done.
Resolving deltas: 100% (869/869), done.
(deck@steamdeck ryzenadj)$ cd RyzenAdj/
(deck@steamdeck RyzenAdj)$ rm -r win32
(deck@steamdeck RyzenAdj)$ mkdir build && cd build
(deck@steamdeck build)$ cmake -DCMAKE_BUILD_TYPE=Release ..
CMake Deprecation Warning at CMakeLists.txt:2 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- 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
-- 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
-- Build type: Release
-- IPO / LTO enabled
-- Configuring done (1.9s)
-- Generating done (0.0s)
-- Build files have been written to: /home/deck/ryzenadj/RyzenAdj/build
(deck@steamdeck build)$ make
[ 6%] Building C object CMakeFiles/ryzenadj.dir/lib/linux/osdep_linux.c.o
/home/deck/ryzenadj/RyzenAdj/lib/linux/osdep_linux.c:3:10: fatal error: sys/stat.h: No such file or directory
3 | #include <sys/stat.h>
| ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/ryzenadj.dir/build.make:79: CMakeFiles/ryzenadj.dir/lib/linux/osdep_linux.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:90: CMakeFiles/ryzenadj.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
(2)(deck@steamdeck build)$ cmake --version
cmake version 3.31.3
CMake suite maintained and supported by Kitware (kitware.com/cmake).
(deck@steamdeck build)$
deps present. what the heck?