Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream secp256k1-zkp API has changed #226

Closed
clayop opened this issue Aug 7, 2015 · 4 comments
Closed

Upstream secp256k1-zkp API has changed #226

clayop opened this issue Aug 7, 2015 · 4 comments

Comments

@clayop
Copy link
Contributor

clayop commented Aug 7, 2015

Followed instruction in Readme.md

CMake Error in libraries/fc/CMakeLists.txt:
  Imported target "secp256k1" includes non-existent path

    "/home/clayop/graphene/libraries/fc/vendor/secp256k1-zkp/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

@clayop
Copy link
Contributor Author

clayop commented Aug 8, 2015

Related log

clayop@ubuntu:~/graphene$ git submodule update --init --recursive

...

Cloning into 'vendor/secp256k1-zkp'...
remote: Counting objects: 2907, done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 2907 (delta 54), reused 49 (delta 49), pack-reused 2843
Receiving objects: 100% (2907/2907), 1.16 MiB | 1.37 MiB/s, done.
Resolving deltas: 100% (2069/2069), done.
Checking connectivity... done.
fatal: reference is not a tree: bd067945ead3b514fba884abd0de95fc4b5db9ae

...

Unable to checkout 'bd067945ead3b514fba884abd0de95fc4b5db9ae' in submodule path 'libraries/fc/vendor/secp256k1-zkp'
Failed to recurse into submodule path 'libraries/fc'

@vikramrajkumar
Copy link
Contributor

Upstream secp256k1-zkp has rebased AND changed their API.

As a temporary fix, I have redirected the remote for the secp256k1-zkp submodule inside fc to point at our own copy: cryptonomex/fc@458b601

Those with already checked-out copies will want to manually edit their local remote to reflect this change, or otherwise clone fresh.

Ultimately we will want to update fc to work again with the new API in the latest upstream version, which I will assign to @bytemaster because he did the initial integration, I believe.

@vikramrajkumar vikramrajkumar changed the title CMake error Upstream secp256k1-zkp API has changed Aug 10, 2015
@clayop
Copy link
Contributor Author

clayop commented Aug 10, 2015

Building works now.

@vikramrajkumar
Copy link
Contributor

This issue was moved to bitshares/bitshares-core#60

pmconrad pushed a commit to pmconrad/graphene that referenced this issue May 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants