Compilation Issues?
❯ sayed@SAYED in ~ took 644ms
➜ git clone https://gitlab.manjaro.org/applications/mhwd.git
Cloning into 'mhwd'...
remote: Enumerating objects: 1688, done.
remote: Counting objects: 100% (99/99), done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 1688 (delta 65), reused 99 (delta 65), pack-reused 1589
Receiving objects: 100% (1688/1688), 484.96 KiB | 818.00 KiB/s, done.
Resolving deltas: 100% (1130/1130), done.
❯ sayed@SAYED in ~ took 1s
➜ cd mhwd
❯ sayed@SAYED in repo: mhwd on master via △ v3.26.4 took 1ms
➜ mkdir build
❯ sayed@SAYED in repo: mhwd on master via △ v3.26.4 took 2ms
➜ cd build
❯ sayed@SAYED in repo: mhwd/build on master took 1ms
➜ cmake ..
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 13.1.1
-- The CXX compiler identification is GNU 13.1.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
-- Configuring done (0.5s)
-- Generating done (0.0s)
-- Build files have been written to: /home/sayed/mhwd/build
❯ sayed@SAYED in repo: mhwd/build on master via △ v3.26.4 took 497ms
➜ make
[ 10%] Building CXX object libmhwd/CMakeFiles/mhwd.dir/vita/string.cpp.o
[ 20%] Linking CXX shared library libmhwd.so
[ 20%] Built target mhwd
[ 30%] Building CXX object src/CMakeFiles/mhwd-bin.dir/Config.cpp.o
[ 40%] Building CXX object src/CMakeFiles/mhwd-bin.dir/ConsoleWriter.cpp.o
[ 50%] Building CXX object src/CMakeFiles/mhwd-bin.dir/Data.cpp.o
/home/sayed/mhwd/src/Data.cpp:549:14: error: ‘Vita::string Data::from_Hex’ is not a static data member of ‘class Data’
549 | Vita::string Data::from_Hex(std::uint16_t hexnum, int fill)
| ^~~~
/home/sayed/mhwd/src/Data.cpp:549:34: error: ‘uint16_t’ is not a member of ‘std’; did you mean ‘wint_t’?
549 | Vita::string Data::from_Hex(std::uint16_t hexnum, int fill)
| ^~~~~~~~
| wint_t
/home/sayed/mhwd/src/Data.cpp:549:51: error: expected primary-expression before ‘int’
549 | Vita::string Data::from_Hex(std::uint16_t hexnum, int fill)
| ^~~
/home/sayed/mhwd/src/Data.cpp:550:1: error: expected ‘,’ or ‘;’ before ‘{’ token
550 | {
| ^
make[2]: *** [src/CMakeFiles/mhwd-bin.dir/build.make:104: src/CMakeFiles/mhwd-bin.dir/Data.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:160: src/CMakeFiles/mhwd-bin.dir/all] Error 2
make: *** [Makefile:136: all] Error 2