taddd 0 Posted December 23, 2020 Share Posted December 23, 2020 Hello. Im trying to update my source to gcc7 and im getting this errors: https://pastebin.com/raw/vkR3BuX9 freebsd version 11.2 thanks Link to comment Share on other sites More sharing options...
Vanilla 1458 Posted December 24, 2020 Share Posted December 24, 2020 22 hours ago, taddd said: Hello. Im trying to update my source to gcc7 and im getting this errors: https://pastebin.com/raw/vkR3BuX9 freebsd version 11.2 thanks Most likely your boost version is way outdated. Try and grab the most recent version instead, it'd be compatible with more recent compilers and std versions. 1 We are the tortured. We're not your friends. As long as we're not visible. We are unfixable. Link to comment Share on other sites More sharing options...
taddd 0 Posted December 24, 2020 Author Share Posted December 24, 2020 i updated boost version and now im getting these errors: compiling BattleArena.cpp compiling OXEvent.cpp compiling TrafficProfiler.cpp compiling ani.cpp In file included from /usr/local/include/boost/unordered/detail/implementation.hpp:30:0, from /usr/local/include/boost/unordered/detail/map.hpp:6, from /usr/local/include/boost/unordered/unordered_map.hpp:21, from /usr/local/include/boost/unordered_map.hpp:17, from char.h:4, from ani.cpp:11: /usr/local/include/boost/throw_exception.hpp: In function 'void boost::throw_exception(const E&)': /usr/local/include/boost/throw_exception.hpp:70:29: error: 'enable_both' is not a member of 'boost::exception_detail' throw exception_detail::enable_both( e ); ^~~~~~~~~~~ In file included from /usr/local/include/boost/unordered/detail/implementation.hpp:30:0, from /usr/local/include/boost/unordered/detail/map.hpp:6, from /usr/local/include/boost/unordered/unordered_map.hpp:21, from /usr/local/include/boost/unordered_map.hpp:17, from questmanager.h:4, from OXEvent.cpp:4: /usr/local/include/boost/throw_exception.hpp: In function 'void boost::throw_exception(const E&)': /usr/local/include/boost/throw_exception.hpp:70:29: error: 'enable_both' is not a member of 'boost::exception_detail' throw exception_detail::enable_both( e ); ^~~~~~~~~~~ In file included from /usr/local/include/boost/unordered/detail/implementation.hpp:30:0, from /usr/local/include/boost/unordered/detail/map.hpp:6, from /usr/local/include/boost/unordered/unordered_map.hpp:21, from /usr/local/include/boost/unordered_map.hpp:17, from char.h:4, from BattleArena.cpp:7: /usr/local/include/boost/throw_exception.hpp: In function 'void boost::throw_exception(const E&)': /usr/local/include/boost/throw_exception.hpp:70:29: error: 'enable_both' is not a member of 'boost::exception_detail' throw exception_detail::enable_both( e ); ^~~~~~~~~~~ gmake: *** [Makefile:197: .obj/ani.o] Error 1 gmake: *** Waiting for unfinished jobs.... In file included from desc.h:7:0, from OXEvent.cpp:12: cipher.h: At global scope: cipher.h:7:17: error: 'CryptoPP::byte' has not been declared using CryptoPP::byte; ^~~~ gmake: *** [Makefile:196: .obj/BattleArena.o] Error 1 gmake: *** [Makefile:196: .obj/OXEvent.o] Error 1 Link to comment Share on other sites More sharing options...
DrTurk 133 Posted December 24, 2020 Share Posted December 24, 2020 cipher.h:7:17: error: 'CryptoPP::byte' has not been declared byte to BYTE Link to comment Share on other sites More sharing options...
taddd 0 Posted December 24, 2020 Author Share Posted December 24, 2020 10 minutes ago, DrTurk said: cipher.h:7:17: error: 'CryptoPP::byte' has not been declared byte to BYTE cipher.h: At global scope: cipher.h:7:17: error: 'CryptoPP::BYTE' has not been declared using CryptoPP::BYTE; Link to comment Share on other sites More sharing options...
Vanilla 1458 Posted December 24, 2020 Share Posted December 24, 2020 I think the same issue is with cryptopp, too. Like, modern cryptopp versions are working with modern c++ standards. The old ones may cause issues. Did you check if you have the most recent version? We are the tortured. We're not your friends. As long as we're not visible. We are unfixable. Link to comment Share on other sites More sharing options...
Silver Sonitex 1444 Posted December 24, 2020 Silver Share Posted December 24, 2020 Can you show cipher.h file? Link to comment Share on other sites More sharing options...
DrTurk 133 Posted December 24, 2020 Share Posted December 24, 2020 (edited) I had the same problem with "cipher.h:7:17: error: 'CryptoPP::byte' has not been declared" after i updated to CryptoPP to 8.2 and changing byte to BYTE worked for me, dunno whats your problem then. Edited December 24, 2020 by DrTurk Link to comment Share on other sites More sharing options...
taddd 0 Posted December 24, 2020 Author Share Posted December 24, 2020 (edited) i had old version of cryptopp i am trying to update to the newest version 8.3 Edited December 28, 2020 by taddd Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now