Giter Site home page Giter Site logo

Comments (2)

lzjluzijie avatar lzjluzijie commented on August 20, 2024

I also tried to use add_subdirectory(ABY) in a fresh environment without calling cmake or make in ABY, and I can successfully cmake in my repo, but got this error when make:

@lzjluzijie ➜ /workspaces/gshade1 (main) $ make
[  1%] Building CXX object CMakeFiles/gshade.dir/main.cpp.o
In file included from /workspaces/gshade1/main.cpp:1:
/workspaces/gshade1/ABY/src/abycore/sharing/sharing.h:24:10: fatal error: ENCRYPTO_utils/cbitvector.h: No such file or directory
   24 | #include <ENCRYPTO_utils/cbitvector.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/gshade.dir/build.make:76: CMakeFiles/gshade.dir/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:200: CMakeFiles/gshade.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

from aby.

lzjluzijie avatar lzjluzijie commented on August 20, 2024

My friend helped me solve this issue, here is the correct way:

  1. Clone ABY in a fresh environment.
  2. Add add_subdirectory(ABY) and target_link_libraries(gshade ABY::aby ENCRYPTO_utils::encrypto_utils)

from aby.

Related Issues (20)

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.