Author Topic: Graphene and secp256k1-zkp  (Read 1679 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
I see that the secp256k1-zkp library has configuration options hard coded instead of using the ./configure script:
https://github.com/cryptonomex/fc/blob/master/CMakeLists.txt
https://github.com/ElementsProject/secp256k1-zkp

That is causes build errors on some systems:
In file included from /home/pi/graphene/graphene/libraries/fc/vendor/secp256k1-zkp/src/secp256k1.c:11:0:
/home/pi/graphene/graphene/libraries/fc/vendor/secp256k1-zkp/src/util.h:102:37: error: ‘__int128’ is not supported for this target
 SECP256K1_GNUC_EXT typedef unsigned __int128 uint128_t;

since not all architectures have __int128

just running ./autogen.sh and ./configure then make works in that folder, but the fc cmake build does not work

I know it's early and it's probably just set up for testing at this point, but I wanted to give a heads up.
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true