Closed L-coder148 closed 3 years ago
Sorry to bother you,I have another question.
I took the test_aby_relu
circuit out of this repo, and put them into the repo ABY ABY/src/examples/relu
as the following.
I install the ngraph
and gtest
into /usr/local/
as libngraph.so
and libgtest.a
.
I added comments,such that aby_util.hpp
and relu_aby.hp
do not include hear file seal/he_seal_backend.hpp
mydefine.h
is for ngraph/log, the code is as following
#define PROJECT_ROOT_DIR "${CMAKE_SOURCE_DIR}"
the CMakeList.txt in the above picture is as following
SET(NGRAPH_PATH "${PROJECT_SOURCE_DIR}/../../Github/ngraph")
include_directories(${NGRAPH_PATH}/src)
Link_DIRECTORIES("/usr/local/lib")
add_executable(test_aby_relu test_aby_relu.cpp kernel/relu_aby.hpp kernel/aby_util.hpp kernel/logging/ngraph_he_log.cpp kernel/logging/ngraph_he_log.hpp )
target_link_libraries(test_aby_relu ABY::aby ENCRYPTO_utils::encrypto_utils libngraph.so gtest)
But when it links to the executable file,it occurs the undefined references to
error.
Hope for your guidance!
Hi, I install the library on ubuntu20.04. I run
cmake .. -DCMAKE_CXX_COMPILER=clang++-6.0 -DNGRAPH_HE_ABY_ENABLE=ON
, then runmake install
,when it comes to buildext_seal
, it occurs the following error, I have installed GSL into the default location(/usr/local/
) . The details are as followsHope for your guidance!