scipr-lab / libsnark

C++ library for zkSNARKs
Other
1.81k stars 572 forks source link

Unable to serialise proving key #151

Closed derekzx closed 5 years ago

derekzx commented 5 years ago

stringstream output << keypair.pk

This will generate an error (undefined symbol <<) which i traced to file: libsnark/zk_proof_systems/ppzksnark/r1cs_ppzksnark/r1cs_ppzksnark.tcc Line 55:

out << pk.constraint_system;

The constraint_system class has no << operator implemented / linked.

derekzx commented 5 years ago

lgmpxx was just not linked locally for me.