Jump to content

Recommended Posts

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.

  • Love 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

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.