Open anujamodi0107 opened 12 months ago
So to resolve this error, I went to libOTe folder and ran the command 'cmake CMakeLists.txt'. After this, I ran the command 'make BOOST_ROOT=
[ 41%] Linking CXX static library ../../lib/libtests_cryptoTools.a [ 41%] Built target tests_cryptoTools cryptoTools/frontend_cryptoTools/CMakeFiles/frontend_cryptoTools.dir/build.make:130: *** target pattern contains no '%'. Stop. make[1]: *** [CMakeFiles/Makefile2:282: cryptoTools/frontend_cryptoTools/CMakeFiles/frontend_cryptoTools.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
Any idea of how to proceed?
Enable Boost to use dynamic libraries in libscapi/lib/libOTe/cryptoTools/cryptoTools/CMakeLists.txt.
# set(Boost_USE_STATIC_LIBS ON) # only find static libs
set(Boost_USE_MULTITHREADED ON)
# set(Boost_USE_STATIC_RUNTIME ON)
Change code in libscapi/makefile to
@cmake $(builddir)/libOTe/CMakeLists.txt -DCMAKE_BUILD_TYPE=Release -DLIBSCAPI_ROOT=$(PWD) -B $(builddir)/libOTe
Although I still can not pass the test part, I can target libscapi.a with cmake.
Hi, I am having trouble while making the libscapi. I am attaching the error herewith.
I have installed the packages and executed the same command while installing boost 1.71.0 and libscapi as suggested in this link. Can anyone please help me to resolve this issue?