SUBMITTER
Hectopat
- Katılım
- 18 Kasım 2020
- Mesajlar
- 3.135
- Çözümler
- 22
Daha fazla
- Cinsiyet
- Erkek
Şu projeyi derlerken hata alıyorum. Projenin içinde linklenmiş başka projelerde var. Hepsini elle indirip gereken dizine attım. Ama hala şu hatalar var. Yardımcı olur musunuz?
GitHub - Therdel/cssHack: Counter-Strike: Source hack for GNU/Linux and Windows
Counter-Strike: Source hack for GNU/Linux and Windows - Therdel/cssHack
github.com
Kod:
h@h: cssHack $ make -j4
Consolidate compiler generated dependencies of target cssHack
[ 3%] Building CXX object CMakeFiles/cssHack.dir/src/DetourToCallback.cpp.o
[ 7%] Building CXX object CMakeFiles/cssHack.dir/src/Pointers/GamePointerDef.cpp.o
[ 10%] Building CXX object CMakeFiles/cssHack.dir/lib/BoyerMoore-DontCare/src/BoyerMooreDontCare/BadCharTable.cpp.o
[ 14%] Building CXX object CMakeFiles/cssHack.dir/lib/BoyerMoore-DontCare/src/BoyerMooreDontCare/BadCharTableDontCare.cpp.o
/home/h/İndirilenler/cssHack/lib/BoyerMoore-DontCare/src/BoyerMooreDontCare/BadCharTable.cpp: In member function ‘void BadCharTable::printTable() const’:
/home/h/İndirilenler/cssHack/lib/BoyerMoore-DontCare/src/BoyerMooreDontCare/BadCharTable.cpp:21:30: error: ‘numeric_limits’ is not a member of ‘std’
21 | for(uint8_t c = 0; c < std::numeric_limits<uint8_t>::max(); ++c) {
| ^~~~~~~~~~~~~~
/home/h/İndirilenler/cssHack/lib/BoyerMoore-DontCare/src/BoyerMooreDontCare/BadCharTable.cpp:21:52: error: expected primary-expression before ‘>’ token
21 | for(uint8_t c = 0; c < std::numeric_limits<uint8_t>::max(); ++c) {
| ^
/home/h/İndirilenler/cssHack/lib/BoyerMoore-DontCare/src/BoyerMooreDontCare/BadCharTable.cpp:21:55: error: ‘::max’ has not been declared; did you mean ‘std::max’?
21 | for(uint8_t c = 0; c < std::numeric_limits<uint8_t>::max(); ++c) {
| ^~~
| std::max
In file included from /usr/include/c++/10.3.0/bits/char_traits.h:39,
from /usr/include/c++/10.3.0/string:40,
from /home/h/İndirilenler/cssHack/lib/BoyerMoore-DontCare/src/BoyerMooreDontCare/BadCharTable.hpp:2,
from /home/h/İndirilenler/cssHack/lib/BoyerMoore-DontCare/src/BoyerMooreDontCare/BadCharTable.cpp:3:
/usr/include/c++/10.3.0/bits/stl_algobase.h:300:5: note: ‘std::max’ declared here
300 | max(const _Tp& __a, const _Tp& __b, _Compare __comp)
| ^~~
make[2]: *** [CMakeFiles/cssHack.dir/build.make:370: CMakeFiles/cssHack.dir/lib/BoyerMoore-DontCare/src/BoyerMooreDontCare/BadCharTable.cpp.o] Error 1
make[2]: *** Bitmemiş işler için bekliyor....
make[1]: *** [CMakeFiles/Makefile2:146: CMakeFiles/cssHack.dir/all] Error 2
make: *** [Makefile:91: all] Error 2