Giter VIP home page Giter VIP logo

ivory-runtime's Issues

A build Problem

I built on top of libOTe v1.6.0 with the following build command
python3 build.py --boost --relic -D ENABLE_ALL_OT=ON -D ENABLE_CIRCUITS=ON
But when I run the make command on Ivory-Runtime, I get the following error
image
Please give us your guidance in your free time, thank you very much!

error: 'Channel' has not been declared

Hi, I encountered an error when building Ivory.

Here are the steps I followed:

git clone https://github.com/osu-crypto/libOTe.git --recursive
cd libOTe
git pull origin v1.6.0
git checkout v1.6.0
python3 build.py -DENABLE_CIRCUITS=true -DENABLE_ALL_OT=true
cd ..
git clone https://github.com/ladnir/Ivory-Runtime.git
cd Ivory-Runtime/thirdparty/linux
bash ./ntl.get
cd ../..
cmake -S . -B out/build/linux
cmake --build out/build/linux

However, I received the following error message in Ubuntu 20.04:

root@fb2fd0240002:/data/Hu_workspace/c/Ivory-Runtime# cmake --build out/build/linux
[  6%] Building CXX object ivory/CMakeFiles/ivory.dir/Runtime/ShGc/ShGcInt.cpp.o
In file included from /data/Hu_workspace/c/Ivory-Runtime/ivory/Runtime/ShGc/ShGcInt.cpp:2:
/data/Hu_workspace/c/Ivory-Runtime/ivory/Runtime/ShGc/ShGcRuntime.h:44:19: error: 'Channel' has not been declared
   44 |         void init(Channel& chl, block seed, Role role, u64 partyIdx);
      |                   ^~~~~~~
compilation terminated due to -Wfatal-errors.
make[2]: *** [ivory/CMakeFiles/ivory.dir/build.make:118: ivory/CMakeFiles/ivory.dir/Runtime/ShGc/ShGcInt.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:145: ivory/CMakeFiles/ivory.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

Thanks!

A New Building Issue: Cloning https://github.com/martinmoene/span-lite.git failed (No such file or directory).

Hi, I encountered an error when building span-lite.

Here are the steps I followed:

git clone https://github.com/osu-crypto/libOTe.git --recursive
cd libOTe
git pull origin v1.6.0
git checkout v1.6.0
python3 build.py -DENABLE_CIRCUITS=true -DENABLE_ALL_OT=true

However, I received the following error message in Ubuntu 20.04:

...
============= Building span-lite =============
Cloning https://github.com/martinmoene/span-lite.git
'/usr/bin/git' 'clone' 'https://github.com/martinmoene/span-lite.git'
CMake Error at cryptoTools/thirdparty/fetch.cmake:21 (message):
  Cloning https://github.com/martinmoene/span-lite.git failed (No such file
  or directory).
Call Stack (most recent call first):
  cryptoTools/thirdparty/getSpanLite.cmake:24 (run)
  cryptoTools/cmake/cryptoToolsDepHelper.cmake:244 (include)
  cryptoTools/CMakeLists.txt:163 (include)


-- Configuring incomplete, errors occurred!
make: Makefile: No such file or directory
make: *** No rule to make target 'Makefile'.  Stop.

It seems that during the process of code update, the installation directory was either modified or deleted, but I couldn't find the specific reason for it.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.