Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - darren

#1
oh!  errors again
version: c++ (GCC) 4.8.2


Linking CXX executable bin/Keyhotee.app/Contents/MacOS/Keyhotee
Undefined symbols for architecture x86_64:
  "fc::time_point::from_iso_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      bts::bitname::create_genesis_block()     in libbshare.a(bitname_block.cpp.o)
  "fc::to_variant(std::vector<char, std::allocator<char> > const&, fc::variant&)", referenced from:
      void fc::to_variant<bts::addressbook::contact_property>(std::vector<bts::addressbook::contact_property, std::allocator<bts::addressbook::contact_property> > const&, fc::variant&) in Contact.cpp.o
      void fc::reflector<bts::addressbook::wallet_contact>::visit<fc::to_variant_visitor<bts::addressbook::wallet_contact> >(fc::to_variant_visitor<bts::addressbook::wallet_contact> const&) in Contact.cpp.o
      void fc::to_variant<bts::addressbook::contact_property>(std::vector<bts::addressbook::contact_property, std::allocator<bts::addressbook::contact_property> > const&, fc::variant&) in KeyhoteeMainWindow.cpp.o
      void fc::to_variant<bts::addressbook::wallet_identity>(std::vector<bts::addressbook::wallet_identity, std::allocator<bts::addressbook::wallet_identity> > const&, fc::variant&) in KeyhoteeMainWindow.cpp.o
      fc::mutable_variant_object& fc::mutable_variant_object::operator()<std::vector<char, std::allocator<char> > const&>(std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<char, std::allocator<char> > const&) in libbshare.a(addressbook.cpp.o)
      void fc::to_variant<bts::addressbook::contact_property>(std::vector<bts::addressbook::contact_property, std::allocator<bts::addressbook::contact_property> > const&, fc::variant&) in libbshare.a(addressbook.cpp.o)
      void fc::reflector<bts::addressbook::wallet_contact>::visit<fc::to_variant_visitor<bts::addressbook::wallet_contact> >(fc::to_variant_visitor<bts::addressbook::wallet_contact> const&) in libbshare.a(addressbook.cpp.o)
      ...
  "fc::aes_decrypt(fc::sha512 const&, std::vector<char, std::allocator<char> > const&)", referenced from:
      bts::addressbook::addressbook::open(fc::path const&, fc::sha512 const&) in libbshare.a(addressbook.cpp.o)
      bts::bitchat::encrypted_message::decrypt(fc::ecc::private_key const&, bts::bitchat::decrypted_message&) const in libbshare.a(bitchat_private_message.cpp.o)
  "fc::aes_encrypt(fc::sha512 const&, std::vector<char, std::allocator<char> > const&)", referenced from:
      bts::addressbook::addressbook::store_contact(bts::addressbook::wallet_contact const&) in libbshare.a(addressbook.cpp.o)
      bts::bitchat::decrypted_message::encrypt(fc::ecc::public_key const&) const in libbshare.a(bitchat_private_message.cpp.o)
#2

make errors...
g++ versions:
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
Target: x86_64-apple-darwin13.0.0
Thread model: posix


In file included from /Users/xhb/GitHub/keyhotee/BitShares/include/bts/network/channel_id.hpp:76:
In file included from /Users/xhb/GitHub/keyhotee/BitShares/fc/include/fc/reflect/reflect.hpp:9:
In file included from /Users/xhb/GitHub/keyhotee/BitShares/fc/include/fc/utility.hpp:3:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/new:56:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/exception:81:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/type_traits:770:38: error:
      implicit instantiation of undefined template 'std::__1::hash<fc::ip::endpoint>'
    : public integral_constant<bool, __is_empty(_Tp)> {};
                                     ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/unordered_map:327:54: note:
      in instantiation of template class 'std::__1::is_empty<std::__1::hash<fc::ip::endpoint> >' requested here
template <class _Key, class _Tp, class _Hash, bool = is_empty<_Hash>::value
                                                     ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/unordered_map:678:13: note:
      in instantiation of default argument for '__unordered_map_hasher<fc::ip::endpoint,
      std::__1::shared_ptr<bts::network::connection>, std::__1::hash<fc::ip::endpoint> >' required here
    typedef __unordered_map_hasher<key_type, mapped_type, hasher>   __hasher;
            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/xhb/GitHub/keyhotee/BitShares/src/network/server.cpp:63:71: note: in instantiation of template class
      'std::__1::unordered_map<fc::ip::endpoint, std::__1::shared_ptr<bts::network::connection>, std::__1::hash<fc::ip::endpoint>,
      std::__1::equal_to<fc::ip::endpoint>, std::__1::allocator<std::__1::pair<const fc::ip::endpoint,
      std::__1::shared_ptr<bts::network::connection> > > >' requested here
          std::unordered_map<fc::ip::endpoint,connection_ptr>         connections;
                                                                      ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:3081:29: note:
      template is declared here
template <class _Tp> struct hash;
                            ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/memory:2147:15: error: no
      matching constructor for initialization of 'bts::network::connection'
              __second_(_VSTD::forward<_Args2>(get<_I2>(__second_args))...)