I have some progress

CXXFLAGS += -std=c++11 -Wno-c++11-narrowing -stdlib=libstdc++

and

libcryptopp.so: $(LIBOBJS)
    $(CXX) -shared -o $@ $(LIBOBJS) -stdlib=libstdc++

reduced the errors to one

Undefined symbols for architecture x86_64:
  "vtable for CryptoPP::SHA256", referenced from:
      CryptoPP::SHA256::SHA256(CryptoPP::SHA256 const&) in NeoSetup.o
      CryptoPP::SHA256::SHA256() in NeoSetup.o
      CryptoPP::SHA256::SHA256() in DownloadTask.o
      CryptoPP::SHA256::SHA256(CryptoPP::SHA256 const&) in DownloadTask.o
  NOTE: a missing vtable usually means the first non-inline virtual member 
function has no definition.
ld: symbol(s) not found for architecture x86_64

not sure whats wrong here why this only export shoudl fail, in this project 
i also use EC signatures that works fine,
in an other project i use almost everything i get this error and a second 
simmilar one:

Undefined symbols for architecture x86_64:
  "vtable for CryptoPP::SHA224", referenced from:
      CryptoPP::SHA224::SHA224(CryptoPP::SHA224 const&) in PrivateKey.o
      CryptoPP::SHA224::SHA224() in PrivateKey.o
      CryptoPP::SHA224::SHA224(CryptoPP::SHA224 const&) in PublicKey.o
      CryptoPP::SHA224::SHA224() in PublicKey.o
      CryptoPP::SHA224::SHA224() in HashFunction.o
      CryptoPP::SHA224::SHA224(CryptoPP::SHA224 const&) in HashFunction.o
  NOTE: a missing vtable usually means the first non-inline virtual member 
function has no definition.
  "vtable for CryptoPP::SHA256", referenced from:
      CryptoPP::SHA256::SHA256(CryptoPP::SHA256 const&) in PrivateKey.o
      CryptoPP::SHA256::SHA256() in PrivateKey.o
      CryptoPP::SHA256::SHA256(CryptoPP::SHA256 const&) in PublicKey.o
      CryptoPP::SHA256::SHA256() in PublicKey.o
      CryptoPP::SHA256::SHA256() in HashFunction.o
      CryptoPP::SHA256::SHA256(CryptoPP::SHA256 const&) in HashFunction.o
  NOTE: a missing vtable usually means the first non-inline virtual member 
function has no definition.
ld: symbol(s) not found for architecture x86_64


-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to