Jump to content

Source Update - CLang 9 / C++2A + FreeBSD + SRC


Recommended Posts

1 hour ago, Klaus said:

Freebsd 12

linking ../game_r40250_32.... /usr/bin/ld: cannot find -lserverkey clang-9: error: linker command failed with exit code 1 (use -v to see invocation) gmake: *** [Makefile:127: ../game_r40250_32] Error 1

linking ../game_r40250_32....
/usr/bin/ld: cannot find -lserverkey
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:127: ../game_r40250_32] Error 1

Help ?

 

you don't have a libserverkey.a

builded libserverkey. your src

 

badass hei GIF

Link to comment
  • 3 months later...

first of thank u  for your efforts but

i have this error:

gmake[1]: Entering directory `/root/Server/game/src'
compiling BattleArena.cpp
In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/functional/hash/extensions.hpp:38:33: error: 'template<class T, class A> std::size_t boost::hash_value' conflicts with a previous declaration
     std::size_t hash_value(std::list<T, A> const& v);
                                 ^~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:36:17: note: previous declaration 'namespace boost { }::hash_value'
     std::size_t hash_value(std::vector<T, A> const&);
                 ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:38:28: error: reference to 'list' is ambiguous
     std::size_t hash_value(std::list<T, A> const& v);
                            ^~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list
     template <class T, class Allocator> class list;
                                               ^~~~
In file included from /usr/local/lib/gcc7/include/c++/list:63:0,
                 from stdafx.h:21,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note:                 template<class _Tp, class _Alloc> class std::__cxx11::list
     class list : protected _List_base<_Tp, _Alloc>
           ^~~~
In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/functional/hash/extensions.hpp:38:39: error: expected primary-expression before ',' token
     std::size_t hash_value(std::list<T, A> const& v);
                                       ^
../../../Extern/include/boost/functional/hash/extensions.hpp:38:42: error: expected primary-expression before '>' token
     std::size_t hash_value(std::list<T, A> const& v);
                                          ^
../../../Extern/include/boost/functional/hash/extensions.hpp:38:44: error: expected primary-expression before 'const'
     std::size_t hash_value(std::list<T, A> const& v);
                                            ^~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:38:52: error: expression list treated as compound expression in initializer [-fpermissive]
     std::size_t hash_value(std::list<T, A> const& v);
                                                    ^
../../../Extern/include/boost/functional/hash/extensions.hpp:69:33: error: 'template<class T, class A> std::size_t boost::hash_value' conflicts with a previous declaration
     std::size_t hash_value(std::list<T, A> const& v)
                                 ^~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:51:17: note: previous declaration 'namespace boost { }::hash_value'
     std::size_t hash_value(std::complex<T> const&);
                 ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:69:28: error: reference to 'list' is ambiguous
     std::size_t hash_value(std::list<T, A> const& v)
                            ^~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list
     template <class T, class Allocator> class list;
                                               ^~~~
In file included from /usr/local/lib/gcc7/include/c++/list:63:0,
                 from stdafx.h:21,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note:                 template<class _Tp, class _Alloc> class std::__cxx11::list
     class list : protected _List_base<_Tp, _Alloc>
           ^~~~
In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/functional/hash/extensions.hpp:69:39: error: expected primary-expression before ',' token
     std::size_t hash_value(std::list<T, A> const& v)
                                       ^
../../../Extern/include/boost/functional/hash/extensions.hpp:69:42: error: expected primary-expression before '>' token
     std::size_t hash_value(std::list<T, A> const& v)
                                          ^
../../../Extern/include/boost/functional/hash/extensions.hpp:69:44: error: expected primary-expression before 'const'
     std::size_t hash_value(std::list<T, A> const& v)
                                            ^~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:69:52: error: expression list treated as compound expression in initializer [-fpermissive]
     std::size_t hash_value(std::list<T, A> const& v)
                                                    ^
../../../Extern/include/boost/functional/hash/extensions.hpp:70:5: error: expected ';' before '{' token
     {
     ^
In file included from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41:0,
                 from /usr/local/lib/gcc7/include/c++/ios:42,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/bits/locale_classes.h:284:24: error: reference to 'basic_string' is ambiguous
       operator()(const basic_string<_Char, _Traits, _Alloc>& __s1,
                        ^~~~~~~~~~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string
     template <class charT, class traits, class Allocator> class basic_string;
                                                                 ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/string:39:0,
                 from /usr/local/lib/gcc7/include/c++/stdexcept:39,
                 from /usr/local/lib/gcc7/include/c++/optional:38,
                 from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39,
                 from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72,
                 from /usr/local/lib/gcc7/include/c++/map:60,
                 from stdafx.h:22,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note:                 template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
     class basic_string;
           ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41:0,
                 from /usr/local/lib/gcc7/include/c++/ios:42,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/bits/locale_classes.h:284:36: error: expected ',' or '...' before '<' token
       operator()(const basic_string<_Char, _Traits, _Alloc>& __s1,
                                    ^
In file included from /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:850:0,
                 from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41,
                 from /usr/local/lib/gcc7/include/c++/ios:42,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:81:22: error: reference to 'basic_string' is ambiguous
     operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1,
                      ^~~~~~~~~~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string
     template <class charT, class traits, class Allocator> class basic_string;
                                                                 ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/string:39:0,
                 from /usr/local/lib/gcc7/include/c++/stdexcept:39,
                 from /usr/local/lib/gcc7/include/c++/optional:38,
                 from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39,
                 from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72,
                 from /usr/local/lib/gcc7/include/c++/map:60,
                 from stdafx.h:22,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note:                 template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
     class basic_string;
           ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:850:0,
                 from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41,
                 from /usr/local/lib/gcc7/include/c++/ios:42,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:81:34: error: expected ',' or '...' before '<' token
     operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1,
                                  ^
/usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc: In member function 'bool std::locale::operator()(int) const':
/usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:86:33: error: '__s1' was not declared in this scope
       return (__collate.compare(__s1.data(), __s1.data() + __s1.length(),
                                 ^~~~
/usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:86:33: note: suggested alternative: '__lg'
       return (__collate.compare(__s1.data(), __s1.data() + __s1.length(),
                                 ^~~~
                                 __lg
/usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:87:5: error: '__s2' was not declared in this scope
     __s2.data(), __s2.data() + __s2.length()) < 0);
     ^~~~
/usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:87:5: note: suggested alternative: '__lg'
     __s2.data(), __s2.data() + __s2.length()) < 0);
     ^~~~
     __lg
In file included from /usr/local/lib/gcc7/include/c++/ios:43:0,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/streambuf: At global scope:
/usr/local/lib/gcc7/include/c++/streambuf:169:6: error: reference to 'basic_string' is ambiguous
      basic_string<_CharT2, _Traits2, _Alloc>&);
      ^~~~~~~~~~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string
     template <class charT, class traits, class Allocator> class basic_string;
                                                                 ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/string:39:0,
                 from /usr/local/lib/gcc7/include/c++/stdexcept:39,
                 from /usr/local/lib/gcc7/include/c++/optional:38,
                 from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39,
                 from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72,
                 from /usr/local/lib/gcc7/include/c++/map:60,
                 from stdafx.h:22,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note:                 template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
     class basic_string;
           ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/ios:43:0,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/streambuf:169:6: error: 'basic_string' has not been declared
      basic_string<_CharT2, _Traits2, _Alloc>&);
      ^~~~~~~~~~~~
/usr/local/lib/gcc7/include/c++/streambuf:169:18: error: expected ',' or '...' before '<' token
      basic_string<_CharT2, _Traits2, _Alloc>&);
                  ^
/usr/local/lib/gcc7/include/c++/streambuf:174:3: error: reference to 'basic_string' is ambiguous
   basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
   ^~~~~~~~~~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string
     template <class charT, class traits, class Allocator> class basic_string;
                                                                 ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/string:39:0,
                 from /usr/local/lib/gcc7/include/c++/stdexcept:39,
                 from /usr/local/lib/gcc7/include/c++/optional:38,
                 from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39,
                 from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72,
                 from /usr/local/lib/gcc7/include/c++/map:60,
                 from stdafx.h:22,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note:                 template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
     class basic_string;
           ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/ios:43:0,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/streambuf:174:3: error: 'basic_string' has not been declared
   basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
   ^~~~~~~~~~~~
/usr/local/lib/gcc7/include/c++/streambuf:174:15: error: expected ',' or '...' before '<' token
   basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
               ^
In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0,
                 from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37,
                 from /usr/local/lib/gcc7/include/c++/ios:44,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)':
/usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:96:10: error: reference to 'basic_string' is ambiguous
    const basic_string<_CharT>& __tn = __np.truename();
          ^~~~~~~~~~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string
     template <class charT, class traits, class Allocator> class basic_string;
                                                                 ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/string:39:0,
                 from /usr/local/lib/gcc7/include/c++/stdexcept:39,
                 from /usr/local/lib/gcc7/include/c++/optional:38,
                 from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39,
                 from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72,
                 from /usr/local/lib/gcc7/include/c++/map:60,
                 from stdafx.h:22,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note:                 template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
     class basic_string;
           ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0,
                 from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37,
                 from /usr/local/lib/gcc7/include/c++/ios:44,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:97:23: error: '__tn' was not declared in this scope
    _M_truename_size = __tn.size();
                       ^~~~
/usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:97:23: note: suggested alternative: '_S_in'
    _M_truename_size = __tn.size();
                       ^~~~
                       _S_in
/usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:101:10: error: reference to 'basic_string' is ambiguous
    const basic_string<_CharT>& __fn = __np.falsename();
          ^~~~~~~~~~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string
     template <class charT, class traits, class Allocator> class basic_string;
                                                                 ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/string:39:0,
                 from /usr/local/lib/gcc7/include/c++/stdexcept:39,
                 from /usr/local/lib/gcc7/include/c++/optional:38,
                 from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39,
                 from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72,
                 from /usr/local/lib/gcc7/include/c++/map:60,
                 from stdafx.h:22,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note:                 template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
     class basic_string;
           ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0,
                 from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37,
                 from /usr/local/lib/gcc7/include/c++/ios:44,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:102:24: error: '__fn' was not declared in this scope
    _M_falsename_size = __fn.size();
                        ^~~~
/usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:102:24: note: suggested alternative: '_S_in'
    _M_falsename_size = __fn.size();
                        ^~~~
                        _S_in
In file included from BattleArena.cpp:7:0:
char.h: At global scope:
char.h:1053:9: error: reference to 'list' is ambiguous
   const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; }
         ^~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list
     template <class T, class Allocator> class list;
                                               ^~~~
In file included from /usr/local/lib/gcc7/include/c++/list:63:0,
                 from stdafx.h:21,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note:                 template<class _Tp, class _Alloc> class std::__cxx11::list
     class list : protected _List_base<_Tp, _Alloc>
           ^~~~
In file included from BattleArena.cpp:7:0:
char.h:1059:3: error: reference to 'list' is ambiguous
   std::list<CAffect *> m_list_pkAffect;
   ^~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list
     template <class T, class Allocator> class list;
                                               ^~~~
In file included from /usr/local/lib/gcc7/include/c++/list:63:0,
                 from stdafx.h:21,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note:                 template<class _Tp, class _Alloc> class std::__cxx11::list
     class list : protected _List_base<_Tp, _Alloc>
           ^~~~
gmake[1]: *** [.obj/BattleArena.o] Error 1
gmake[1]: Leaving directory `/root/Server/game/src'
gmake: *** [all] Error 2
[email protected]:~/Server #
[email protected]:~/Server #
[email protected]:~/Server # cd /root/Server/game/src
[email protected]:~/Server/game/src # gmake clean
[email protected]:~/Server/game/src # gmake dep
Note: gcc autodepend is autodetected, so target dep skipped
[email protected]:~/Server/game/src # gmake
compiling BattleArena.cpp
In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/functional/hash/extensions.hpp:38:33: error: 'template<class T, class A> std::size_t boost::hash_value' conflicts with a previous declaration
     std::size_t hash_value(std::list<T, A> const& v);
                                 ^~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:36:17: note: previous declaration 'namespace boost { }::hash_value'
     std::size_t hash_value(std::vector<T, A> const&);
                 ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:38:28: error: reference to 'list' is ambiguous
     std::size_t hash_value(std::list<T, A> const& v);
                            ^~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list
     template <class T, class Allocator> class list;
                                               ^~~~
In file included from /usr/local/lib/gcc7/include/c++/list:63:0,
                 from stdafx.h:21,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note:                 template<class _Tp, class _Alloc> class std::__cxx11::list
     class list : protected _List_base<_Tp, _Alloc>
           ^~~~
In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/functional/hash/extensions.hpp:38:39: error: expected primary-expression before ',' token
     std::size_t hash_value(std::list<T, A> const& v);
                                       ^
../../../Extern/include/boost/functional/hash/extensions.hpp:38:42: error: expected primary-expression before '>' token
     std::size_t hash_value(std::list<T, A> const& v);
                                          ^
../../../Extern/include/boost/functional/hash/extensions.hpp:38:44: error: expected primary-expression before 'const'
     std::size_t hash_value(std::list<T, A> const& v);
                                            ^~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:38:52: error: expression list treated as compound expression in initializer [-fpermissive]
     std::size_t hash_value(std::list<T, A> const& v);
                                                    ^
../../../Extern/include/boost/functional/hash/extensions.hpp:69:33: error: 'template<class T, class A> std::size_t boost::hash_value' conflicts with a previous declaration
     std::size_t hash_value(std::list<T, A> const& v)
                                 ^~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:51:17: note: previous declaration 'namespace boost { }::hash_value'
     std::size_t hash_value(std::complex<T> const&);
                 ^~~~~~~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:69:28: error: reference to 'list' is ambiguous
     std::size_t hash_value(std::list<T, A> const& v)
                            ^~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list
     template <class T, class Allocator> class list;
                                               ^~~~
In file included from /usr/local/lib/gcc7/include/c++/list:63:0,
                 from stdafx.h:21,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note:                 template<class _Tp, class _Alloc> class std::__cxx11::list
     class list : protected _List_base<_Tp, _Alloc>
           ^~~~
In file included from ../../../Extern/include/boost/functional/hash/hash.hpp:494:0,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/functional/hash/extensions.hpp:69:39: error: expected primary-expression before ',' token
     std::size_t hash_value(std::list<T, A> const& v)
                                       ^
../../../Extern/include/boost/functional/hash/extensions.hpp:69:42: error: expected primary-expression before '>' token
     std::size_t hash_value(std::list<T, A> const& v)
                                          ^
../../../Extern/include/boost/functional/hash/extensions.hpp:69:44: error: expected primary-expression before 'const'
     std::size_t hash_value(std::list<T, A> const& v)
                                            ^~~~~
../../../Extern/include/boost/functional/hash/extensions.hpp:69:52: error: expression list treated as compound expression in initializer [-fpermissive]
     std::size_t hash_value(std::list<T, A> const& v)
                                                    ^
../../../Extern/include/boost/functional/hash/extensions.hpp:70:5: error: expected ';' before '{' token
     {
     ^
In file included from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41:0,
                 from /usr/local/lib/gcc7/include/c++/ios:42,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/bits/locale_classes.h:284:24: error: reference to 'basic_string' is ambiguous
       operator()(const basic_string<_Char, _Traits, _Alloc>& __s1,
                        ^~~~~~~~~~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string
     template <class charT, class traits, class Allocator> class basic_string;
                                                                 ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/string:39:0,
                 from /usr/local/lib/gcc7/include/c++/stdexcept:39,
                 from /usr/local/lib/gcc7/include/c++/optional:38,
                 from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39,
                 from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72,
                 from /usr/local/lib/gcc7/include/c++/map:60,
                 from stdafx.h:22,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note:                 template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
     class basic_string;
           ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41:0,
                 from /usr/local/lib/gcc7/include/c++/ios:42,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/bits/locale_classes.h:284:36: error: expected ',' or '...' before '<' token
       operator()(const basic_string<_Char, _Traits, _Alloc>& __s1,
                                    ^
In file included from /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:850:0,
                 from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41,
                 from /usr/local/lib/gcc7/include/c++/ios:42,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:81:22: error: reference to 'basic_string' is ambiguous
     operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1,
                      ^~~~~~~~~~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string
     template <class charT, class traits, class Allocator> class basic_string;
                                                                 ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/string:39:0,
                 from /usr/local/lib/gcc7/include/c++/stdexcept:39,
                 from /usr/local/lib/gcc7/include/c++/optional:38,
                 from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39,
                 from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72,
                 from /usr/local/lib/gcc7/include/c++/map:60,
                 from stdafx.h:22,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note:                 template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
     class basic_string;
           ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/bits/locale_classes.h:850:0,
                 from /usr/local/lib/gcc7/include/c++/bits/ios_base.h:41,
                 from /usr/local/lib/gcc7/include/c++/ios:42,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:81:34: error: expected ',' or '...' before '<' token
     operator()(const basic_string<_CharT, _Traits, _Alloc>& __s1,
                                  ^
/usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc: In member function 'bool std::locale::operator()(int) const':
/usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:86:33: error: '__s1' was not declared in this scope
       return (__collate.compare(__s1.data(), __s1.data() + __s1.length(),
                                 ^~~~
/usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:86:33: note: suggested alternative: '__lg'
       return (__collate.compare(__s1.data(), __s1.data() + __s1.length(),
                                 ^~~~
                                 __lg
/usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:87:5: error: '__s2' was not declared in this scope
     __s2.data(), __s2.data() + __s2.length()) < 0);
     ^~~~
/usr/local/lib/gcc7/include/c++/bits/locale_classes.tcc:87:5: note: suggested alternative: '__lg'
     __s2.data(), __s2.data() + __s2.length()) < 0);
     ^~~~
     __lg
In file included from /usr/local/lib/gcc7/include/c++/ios:43:0,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/streambuf: At global scope:
/usr/local/lib/gcc7/include/c++/streambuf:169:6: error: reference to 'basic_string' is ambiguous
      basic_string<_CharT2, _Traits2, _Alloc>&);
      ^~~~~~~~~~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string
     template <class charT, class traits, class Allocator> class basic_string;
                                                                 ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/string:39:0,
                 from /usr/local/lib/gcc7/include/c++/stdexcept:39,
                 from /usr/local/lib/gcc7/include/c++/optional:38,
                 from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39,
                 from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72,
                 from /usr/local/lib/gcc7/include/c++/map:60,
                 from stdafx.h:22,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note:                 template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
     class basic_string;
           ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/ios:43:0,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/streambuf:169:6: error: 'basic_string' has not been declared
      basic_string<_CharT2, _Traits2, _Alloc>&);
      ^~~~~~~~~~~~
/usr/local/lib/gcc7/include/c++/streambuf:169:18: error: expected ',' or '...' before '<' token
      basic_string<_CharT2, _Traits2, _Alloc>&);
                  ^
/usr/local/lib/gcc7/include/c++/streambuf:174:3: error: reference to 'basic_string' is ambiguous
   basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
   ^~~~~~~~~~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string
     template <class charT, class traits, class Allocator> class basic_string;
                                                                 ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/string:39:0,
                 from /usr/local/lib/gcc7/include/c++/stdexcept:39,
                 from /usr/local/lib/gcc7/include/c++/optional:38,
                 from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39,
                 from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72,
                 from /usr/local/lib/gcc7/include/c++/map:60,
                 from stdafx.h:22,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note:                 template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
     class basic_string;
           ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/ios:43:0,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/streambuf:174:3: error: 'basic_string' has not been declared
   basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
   ^~~~~~~~~~~~
/usr/local/lib/gcc7/include/c++/streambuf:174:15: error: expected ',' or '...' before '<' token
   basic_string<_CharT2, _Traits2, _Alloc>&, _CharT2);
               ^
In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0,
                 from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37,
                 from /usr/local/lib/gcc7/include/c++/ios:44,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc: In member function 'void std::__numpunct_cache<_CharT>::_M_cache(const std::locale&)':
/usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:96:10: error: reference to 'basic_string' is ambiguous
    const basic_string<_CharT>& __tn = __np.truename();
          ^~~~~~~~~~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string
     template <class charT, class traits, class Allocator> class basic_string;
                                                                 ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/string:39:0,
                 from /usr/local/lib/gcc7/include/c++/stdexcept:39,
                 from /usr/local/lib/gcc7/include/c++/optional:38,
                 from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39,
                 from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72,
                 from /usr/local/lib/gcc7/include/c++/map:60,
                 from stdafx.h:22,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note:                 template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
     class basic_string;
           ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0,
                 from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37,
                 from /usr/local/lib/gcc7/include/c++/ios:44,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:97:23: error: '__tn' was not declared in this scope
    _M_truename_size = __tn.size();
                       ^~~~
/usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:97:23: note: suggested alternative: '_S_in'
    _M_truename_size = __tn.size();
                       ^~~~
                       _S_in
/usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:101:10: error: reference to 'basic_string' is ambiguous
    const basic_string<_CharT>& __fn = __np.falsename();
          ^~~~~~~~~~~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:63:65: note: candidates are: template<class charT, class traits, class Allocator> class std::basic_string
     template <class charT, class traits, class Allocator> class basic_string;
                                                                 ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/string:39:0,
                 from /usr/local/lib/gcc7/include/c++/stdexcept:39,
                 from /usr/local/lib/gcc7/include/c++/optional:38,
                 from /usr/local/lib/gcc7/include/c++/bits/node_handle.h:39,
                 from /usr/local/lib/gcc7/include/c++/bits/stl_tree.h:72,
                 from /usr/local/lib/gcc7/include/c++/map:60,
                 from stdafx.h:22,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stringfwd.h:71:11: note:                 template<class _CharT, class _Traits, class _Alloc> class std::__cxx11::basic_string
     class basic_string;
           ^~~~~~~~~~~~
In file included from /usr/local/lib/gcc7/include/c++/bits/locale_facets.h:2651:0,
                 from /usr/local/lib/gcc7/include/c++/bits/basic_ios.h:37,
                 from /usr/local/lib/gcc7/include/c++/ios:44,
                 from /usr/local/lib/gcc7/include/c++/ostream:38,
                 from /usr/local/lib/gcc7/include/c++/iterator:64,
                 from ../../../Extern/include/boost/detail/iterator.hpp:54,
                 from ../../../Extern/include/boost/iterator/iterator_categories.hpp:10,
                 from ../../../Extern/include/boost/unordered/detail/table.hpp:14,
                 from ../../../Extern/include/boost/unordered/detail/equivalent.hpp:10,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:19,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
/usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:102:24: error: '__fn' was not declared in this scope
    _M_falsename_size = __fn.size();
                        ^~~~
/usr/local/lib/gcc7/include/c++/bits/locale_facets.tcc:102:24: note: suggested alternative: '_S_in'
    _M_falsename_size = __fn.size();
                        ^~~~
                        _S_in
In file included from BattleArena.cpp:7:0:
char.h: At global scope:
char.h:1053:9: error: reference to 'list' is ambiguous
   const std::list<CAffect *> & GetAffectContainer() const { return m_list_pkAffect; }
         ^~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list
     template <class T, class Allocator> class list;
                                               ^~~~
In file included from /usr/local/lib/gcc7/include/c++/list:63:0,
                 from stdafx.h:21,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note:                 template<class _Tp, class _Alloc> class std::__cxx11::list
     class list : protected _List_base<_Tp, _Alloc>
           ^~~~
In file included from BattleArena.cpp:7:0:
char.h:1059:3: error: reference to 'list' is ambiguous
   std::list<CAffect *> m_list_pkAffect;
   ^~~
In file included from ../../../Extern/include/boost/functional/hash/extensions.hpp:17:0,
                 from ../../../Extern/include/boost/functional/hash/hash.hpp:494,
                 from ../../../Extern/include/boost/functional/hash.hpp:6,
                 from ../../../Extern/include/boost/unordered/unordered_map.hpp:17,
                 from ../../../Extern/include/boost/unordered_map.hpp:16,
                 from char.h:4,
                 from BattleArena.cpp:7:
../../../Extern/include/boost/detail/container_fwd.hpp:81:47: note: candidates are: template<class T, class Allocator> class std::list
     template <class T, class Allocator> class list;
                                               ^~~~
In file included from /usr/local/lib/gcc7/include/c++/list:63:0,
                 from stdafx.h:21,
                 from BattleArena.cpp:1:
/usr/local/lib/gcc7/include/c++/bits/stl_list.h:503:11: note:                 template<class _Tp, class _Alloc> class std::__cxx11::list
     class list : protected _List_base<_Tp, _Alloc>
           ^~~~
gmake: *** [.obj/BattleArena.o] Error 1

i have installed gcc7 from github i have follow your Instructions from the video with the freebsd 9.2 that u uploaded in the github topic .. so any help please ?

Link to comment
  • 1 month later...
  • 1 month later...

Replace everything from source 

 

#include <boost/unordered_map.hpp>

 

to 

 

#include <unordered_map>

 

 

and 

 

 

boost::unordered_map

 

to 

 

 

std::unordered_map

 

 

Be boost free, replace all boost with std, you have in vaniila source everything you need.

 

 

 

 

Edited by ManiacRobert
Link to comment
1 hour ago, ManiacRobert said:

Replace everything from source 

 

#include <boost/unordered_map.hpp>

 

to 

 

#include <unordered_map>

 

 

and 

 

 

boost::unordered_map

 

to 

 

 

std::unordered_map

 

 

Be boost free, replace all boost with std, you have in vaniila source everything you need.

 

 

 

 

 

Auth still crashing..

Link to comment
  • 2 months later...

edit @ Mali61  i update gcc9 to Clang9, and solved all problems, but i have this error on the end:

Spoiler


Generando Game = ../game_r55014
ld: error: ../../../Extern/lib/libcryptopp.a: failed to parse archive: truncated or malformed archive (terminator characters in archive member "  " not the correct "`\n" values for the archive member header for #include)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
 

 

Edited by nazox

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment

Someone???

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
  • 2 weeks later...
On 2/18/2019 at 3:17 PM, Mali61 said:

M2 Download Center

Hidden Content

    Give reaction to this post to see the hidden content.
( Github Backup ) - 

Hidden Content

    Give reaction to this post to see the hidden content.
( GitHub )

Hidden Content

    Give reaction to this post to see the hidden content.
( VM 9.2 ) or 

Hidden Content

    Give reaction to this post to see the hidden content.
( VM 12 )

 

password for freebsd?

 

Link to comment
  • 3 weeks later...

I downloaded FreeBSD black.code 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC  i386
After cd /usr/src/example/game/src, gmake clean and gmake my compilation fail with

Spoiler

compile char_horse.cpp
compile char_item.cpp
char_item.cpp:1965:27: error: no matching constructor for initialization of 'std::vector<LPITEM>' (aka 'vector<CItem *>')
                                        std::vector <LPITEM> item_gets(NULL);
                                                             ^         ~~~~
/usr/include/c++/v1/vector:479:40: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >::allocator_type'
      (aka 'const std::__1::allocator<CItem *>') for 1st argument
    _LIBCPP_INLINE_VISIBILITY explicit vector(const allocator_type& __a)
                                       ^
/usr/include/c++/v1/vector:491:14: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >::size_type'
      (aka 'unsigned int') for 1st argument
    explicit vector(size_type __n);
             ^
/usr/include/c++/v1/vector:534:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(const vector& __x);
    ^
/usr/include/c++/v1/vector:541:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'initializer_list<std::__1::vector<CItem *, std::__1::allocator<CItem *>
      >::value_type>' (aka 'initializer_list<CItem *>') for 1st argument
    vector(initializer_list<value_type> __il);
    ^
/usr/include/c++/v1/vector:547:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(vector&& __x)
    ^
/usr/include/c++/v1/vector:498:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_InputIterator __first,
        ^
/usr/include/c++/v1/vector:506:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:513:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_ForwardIterator __first,
        ^
/usr/include/c++/v1/vector:520:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:473:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
    vector() _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value)
    ^
/usr/include/c++/v1/vector:493:14: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    explicit vector(size_type __n, const allocator_type& __a);
             ^
/usr/include/c++/v1/vector:495:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(size_type __n, const_reference __x);
    ^
/usr/include/c++/v1/vector:535:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(const vector& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:544:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(initializer_list<value_type> __il, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:555:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(vector&& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:496:5: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
    vector(size_type __n, const_reference __x, const allocator_type& __a);
    ^
char_item.cpp:2029:26: error: no matching constructor for initialization of 'std::vector<LPITEM>' (aka 'vector<CItem *>')
                                std::vector <LPITEM> item_gets(NULL);
                                                     ^         ~~~~
/usr/include/c++/v1/vector:479:40: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >::allocator_type'
      (aka 'const std::__1::allocator<CItem *>') for 1st argument
    _LIBCPP_INLINE_VISIBILITY explicit vector(const allocator_type& __a)
                                       ^
/usr/include/c++/v1/vector:491:14: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >::size_type'
      (aka 'unsigned int') for 1st argument
    explicit vector(size_type __n);
             ^
/usr/include/c++/v1/vector:534:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(const vector& __x);
    ^
/usr/include/c++/v1/vector:541:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'initializer_list<std::__1::vector<CItem *, std::__1::allocator<CItem *>
      >::value_type>' (aka 'initializer_list<CItem *>') for 1st argument
    vector(initializer_list<value_type> __il);
    ^
/usr/include/c++/v1/vector:547:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(vector&& __x)
    ^
/usr/include/c++/v1/vector:498:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_InputIterator __first,
        ^
/usr/include/c++/v1/vector:506:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:513:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_ForwardIterator __first,
        ^
/usr/include/c++/v1/vector:520:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:473:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
    vector() _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value)
    ^
/usr/include/c++/v1/vector:493:14: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    explicit vector(size_type __n, const allocator_type& __a);
             ^
/usr/include/c++/v1/vector:495:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(size_type __n, const_reference __x);
    ^
/usr/include/c++/v1/vector:535:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(const vector& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:544:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(initializer_list<value_type> __il, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:555:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(vector&& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:496:5: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
    vector(size_type __n, const_reference __x, const allocator_type& __a);
    ^
char_item.cpp:3612:31: error: no matching constructor for initialization of 'std::vector<LPITEM>' (aka 'vector<CItem *>')
                                                                        std::vector <LPITEM> item_gets(NULL);
                                                                                             ^         ~~~~
/usr/include/c++/v1/vector:479:40: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >::allocator_type'
      (aka 'const std::__1::allocator<CItem *>') for 1st argument
    _LIBCPP_INLINE_VISIBILITY explicit vector(const allocator_type& __a)
                                       ^
/usr/include/c++/v1/vector:491:14: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >::size_type'
      (aka 'unsigned int') for 1st argument
    explicit vector(size_type __n);
             ^
/usr/include/c++/v1/vector:534:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(const vector& __x);
    ^
/usr/include/c++/v1/vector:541:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'initializer_list<std::__1::vector<CItem *, std::__1::allocator<CItem *>
      >::value_type>' (aka 'initializer_list<CItem *>') for 1st argument
    vector(initializer_list<value_type> __il);
    ^
/usr/include/c++/v1/vector:547:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(vector&& __x)
    ^
/usr/include/c++/v1/vector:498:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_InputIterator __first,
        ^
/usr/include/c++/v1/vector:506:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:513:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_ForwardIterator __first,
        ^
/usr/include/c++/v1/vector:520:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:473:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
    vector() _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value)
    ^
/usr/include/c++/v1/vector:493:14: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    explicit vector(size_type __n, const allocator_type& __a);
             ^
/usr/include/c++/v1/vector:495:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(size_type __n, const_reference __x);
    ^
/usr/include/c++/v1/vector:535:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(const vector& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:544:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(initializer_list<value_type> __il, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:555:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(vector&& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:496:5: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
    vector(size_type __n, const_reference __x, const allocator_type& __a);
    ^
char_item.cpp:3636:31: error: no matching constructor for initialization of 'std::vector<LPITEM>' (aka 'vector<CItem *>')
                                                                        std::vector <LPITEM> item_gets(NULL);
                                                                                             ^         ~~~~
/usr/include/c++/v1/vector:479:40: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >::allocator_type'
      (aka 'const std::__1::allocator<CItem *>') for 1st argument
    _LIBCPP_INLINE_VISIBILITY explicit vector(const allocator_type& __a)
                                       ^
/usr/include/c++/v1/vector:491:14: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >::size_type'
      (aka 'unsigned int') for 1st argument
    explicit vector(size_type __n);
             ^
/usr/include/c++/v1/vector:534:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(const vector& __x);
    ^
/usr/include/c++/v1/vector:541:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'initializer_list<std::__1::vector<CItem *, std::__1::allocator<CItem *>
      >::value_type>' (aka 'initializer_list<CItem *>') for 1st argument
    vector(initializer_list<value_type> __il);
    ^
/usr/include/c++/v1/vector:547:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(vector&& __x)
    ^
/usr/include/c++/v1/vector:498:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_InputIterator __first,
        ^
/usr/include/c++/v1/vector:506:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:513:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_ForwardIterator __first,
        ^
/usr/include/c++/v1/vector:520:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:473:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
    vector() _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value)
    ^
/usr/include/c++/v1/vector:493:14: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    explicit vector(size_type __n, const allocator_type& __a);
             ^
/usr/include/c++/v1/vector:495:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(size_type __n, const_reference __x);
    ^
/usr/include/c++/v1/vector:535:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(const vector& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:544:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(initializer_list<value_type> __il, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:555:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(vector&& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:496:5: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
    vector(size_type __n, const_reference __x, const allocator_type& __a);
    ^
char_item.cpp:3659:31: error: no matching constructor for initialization of 'std::vector<LPITEM>' (aka 'vector<CItem *>')
                                                                        std::vector <LPITEM> item_gets(NULL);
                                                                                             ^         ~~~~
/usr/include/c++/v1/vector:479:40: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >::allocator_type'
      (aka 'const std::__1::allocator<CItem *>') for 1st argument
    _LIBCPP_INLINE_VISIBILITY explicit vector(const allocator_type& __a)
                                       ^
/usr/include/c++/v1/vector:491:14: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >::size_type'
      (aka 'unsigned int') for 1st argument
    explicit vector(size_type __n);
             ^
/usr/include/c++/v1/vector:534:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(const vector& __x);
    ^
/usr/include/c++/v1/vector:541:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'initializer_list<std::__1::vector<CItem *, std::__1::allocator<CItem *>
      >::value_type>' (aka 'initializer_list<CItem *>') for 1st argument
    vector(initializer_list<value_type> __il);
    ^
/usr/include/c++/v1/vector:547:5: note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'std::__1::vector<CItem *, std::__1::allocator<CItem *> >' for 1st argument
    vector(vector&& __x)
    ^
/usr/include/c++/v1/vector:498:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_InputIterator __first,
        ^
/usr/include/c++/v1/vector:506:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_InputIterator __first, _InputIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:513:9: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
        vector(_ForwardIterator __first,
        ^
/usr/include/c++/v1/vector:520:9: note: candidate constructor template not viable: requires at least 3 arguments, but 1 was provided
        vector(_ForwardIterator __first, _ForwardIterator __last, const allocator_type& __a,
        ^
/usr/include/c++/v1/vector:473:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
    vector() _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value)
    ^
/usr/include/c++/v1/vector:493:14: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    explicit vector(size_type __n, const allocator_type& __a);
             ^
/usr/include/c++/v1/vector:495:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(size_type __n, const_reference __x);
    ^
/usr/include/c++/v1/vector:535:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(const vector& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:544:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(initializer_list<value_type> __il, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:555:5: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
    vector(vector&& __x, const allocator_type& __a);
    ^
/usr/include/c++/v1/vector:496:5: note: candidate constructor not viable: requires 3 arguments, but 1 was provided
    vector(size_type __n, const_reference __x, const allocator_type& __a);
    ^
5 errors generated.
gmake: *** [Makefile:119: OBJDIR/char_item.o] Error 1
[email protected]:/usr/src/example/game/src #

 

What can I do to solve this problem? Thanks

Link to comment
On 2/18/2019 at 3:17 PM, Mali61 said:

2 Download Center

Hidden Content

    Give reaction to this post to see the hidden content.
( Github Backup ) - 

Hidden Content

    Give reaction to this post to see the hidden content.
( GitHub )

Hidden Content

    Give reaction to this post to see the hidden content.
( VM 9.2 ) or 

Hidden Content

    Give reaction to this post to see the hidden content.
( VM 12 )

 

So, i tried this one, but it doesn't work.

Error: 


[email protected]:~/workspace/Server # gmake all
--------------------------------------
Full Build Start
--------------------------------------
gmake -C libserverkey dep
gmake[1]: Entering directory '/root/workspace/Server/libserverkey'
touch Depend
g++7  -Wall -O2 -pipe -mtune=i686 -D_THREAD_SAFE -fno-exceptions  -MM *.cpp > Depend
/bin/sh: g++7: not found
gmake[1]: *** [Makefile:38: dep] Error 127
gmake[1]: Leaving directory '/root/workspace/Server/libserverkey'
gmake: *** [Makefile:63: all] Error 2
 

Link to comment
9 minutes ago, Doose said:

So, i tried this one, but it doesn't work.

Error: 


[email protected]:~/workspace/Server # gmake all
--------------------------------------
Full Build Start
--------------------------------------
gmake -C libserverkey dep
gmake[1]: Entering directory '/root/workspace/Server/libserverkey'
touch Depend
g++7  -Wall -O2 -pipe -mtune=i686 -D_THREAD_SAFE -fno-exceptions  -MM *.cpp > Depend
/bin/sh: g++7: not found
gmake[1]: *** [Makefile:38: dep] Error 127
gmake[1]: Leaving directory '/root/workspace/Server/libserverkey'
gmake: *** [Makefile:63: all] Error 2
 

Replace in your all Makefile(s) g++7 with result of gcc --version returned in FreeBSD console

Use ee filename not windows editor because encoding incompatibility.

Link to comment
1 hour ago, CjMt2 said:

Replace in your all Makefile(s) g++7 with result of gcc --version returned in FreeBSD console

Use ee filename not windows editor because encoding incompatibility.

Which filename??

Link to comment
23 hours ago, Doose said:

Which filename??

 

$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc9/gcc/i386-portbld-freebsd12.2/9.3.0/lto-wrapper
Target: i386-portbld-freebsd12.2
Configured with: /wrkdirs/usr/ports/lang/gcc9/work/gcc-9.3.0/configure --disable-multilib --with-build-config=bootstrap-debug --disable-nls --enable-gnu-indirect-function --enable-plugin --libdir=/usr/local/lib/gcc9 --libexecdir=/usr/local/libexec/gcc9 --program-suffix=9 --with-as=/usr/local/bin/as --with-gmp=/usr/local --with-gxx-include-dir=/usr/local/lib/gcc9/include/c++/ --with-ld=/usr/local/bin/ld --with-pkgversion='FreeBSD Ports Collection' --with-system-zlib --without-zstd --enable-languages=c,c++,objc,fortran --prefix=/usr/local --localstatedir=/var --mandir=/usr/local/man --infodir=/usr/local/share/info/gcc9 --build=i386-portbld-freebsd12.2
Thread model: posix
gcc version 9.3.0 (FreeBSD Ports Collection)

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

$ gcc --version
gcc (FreeBSD Ports Collection) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Link to comment
  • 5 weeks later...

Hey sorry to revive this, i have a littel problem when i compile config.cpp 

0921fe145b4e02273494b19c74c7af30.png

someone can give me any idea? pd: i don't edit config.cpp and working great if i don't upgrade source thanks :)

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
  • 1 month later...

The guide as a base is very good, but you have to do many more things, In my case have to change extern, boost, change more lines, add others that I did not have, in short, it depends a lot on the source you have, you will have to do half source or just change things xD, keep trying, I was +6 months.

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
Posted (edited)
13 hours ago, nazox said:

The guide as a base is very good, but you have to do many more things, In my case have to change extern, boost, change more lines, add others that I did not have, in short, it depends a lot on the source you have, you will have to do half source or just change things xD, keep trying, I was +6 months.

Personally, I recommend it to "beginners" GCC7. Fewer complications compared to Clang.

Edited by Suzar
Link to comment
10 hours ago, Suzar said:

Personally, I recommend it to "beginners" GCC7. Fewer complications compared to Clang.

Yep I think so too, Still, I hope they manage to repair it, it is not easy if they do not know much about c ++, I was able to defend myself because I knew something and in the end I succeeded, but it is as you say, prioritize gcc before clang, have a good day :)

  • Good 1

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
  • 2 weeks later...

when i select empire i get this

0615 20:46:07676 :: Unknown packet header: 176, last: 253 32

ch1/db/auth/ch99 empty

Edited by TysonDMG
Link to comment
22 hours ago, TysonDMG said:

when i select empire i get this

0615 20:46:07676 :: Unknown packet header: 176, last: 253 32

ch1/db/auth/ch99 empty

This problem is because you have problems with packets src game and client, check if  you have 253 in game and client, or check for example this error, in  your game have CG_NAZOX = 250 and src client CG_NAZOX = 253,  idk but the problems is packet, check 1 for 1, but the systems you add, not defaults

KH.jpg

Nicks: Nazox Krone Nagato Yahiko Yakiro
Proyecto: Trabajando en el.
Compañeros & firma: DreamHQ  - 2009-2015 [Nostalgia]

Link to comment
  • VIP
Posted (edited)

for those who downloaded the freebsd12 vdi:

since you can't compile the example-gamesource, I've updated some files

here you go:

Hidden Content

    Give reaction to this post to see the hidden content.

if you don't want to replace them just check the differences with WinMerge or bCompare or something else

Edited by .Avenue™
  • Metin2 Dev 2
  • Love 2
  • Good 2
  • Lmao 1
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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.