-
Notifications
You must be signed in to change notification settings - Fork 64
Description
I am getting the error shown below when I run make from libscapi directory:
Compiling libOTe library...
-- Option: CMAKE_BUILD_TYPE = Release
Release
Debug
RelWithDebInfo
-- Option: ENABLE_SIMPLESTOT = OFF
-- Option: ENABLE_KYBEROT = OFF
-- Option: KOS hashing (current = OTE_DAVIE_MEYER_AES):
-- OTE_KOS_HASH=OTE_RANDOM_ORACLE use the random oracle (slower)
-- OTE_KOS_HASH=OTE_DAVIE_MEYER_AES use AES in the Davie Meyer compression function
-- Option: OTE_KOS_FIAT_SHAMIR = OFF
-- Option: ENABLE_SILENTOT = OFF
-- Option: ENABLE_MIRACL = OFF
-- Option: ENABLE_RELIC = OFF
-- Option: ENABLE_CIRCUITS = OFF
-- Option: ENABLE_CPP_14 = ON
-- Option: ENABLE_NASM = OFF
-- Option: ENABLE_NET_LOG = OFF
-- Could NOT find Boost: missing: system thread (found /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0"))
-- Boost_include /usr/include
-- Option: ENABLE_SIMPLESTOT = OFF
-- Option: ENABLE_KYBEROT = OFF
-- Option: KOS hashing (current = OTE_DAVIE_MEYER_AES):
-- OTE_KOS_HASH=OTE_RANDOM_ORACLE use the random oracle (slower)
-- OTE_KOS_HASH=OTE_DAVIE_MEYER_AES use AES in the Davie Meyer compression function
-- Option: OTE_KOS_FIAT_SHAMIR = OFF
-- Option: ENABLE_SILENTOT = OFF
-- Option: ENABLE_MIRACL = OFF
-- Option: ENABLE_RELIC = OFF
-- Option: ENABLE_CIRCUITS = OFF
-- Option: ENABLE_CPP_14 = ON
-- Option: ENABLE_NASM = OFF
-- Option: ENABLE_NET_LOG = OFF
CMake Error at libOTe/cryptoTools/cryptoTools/CMakeLists.txt:37 (add_custom_target):
add_custom_target cannot create target "sha_asm" because another target
with the same name already exists. The existing target is a custom target
created in source directory
"/home/girisha/libscapi/build/libOTe/cryptoTools/cryptoTools". See
documentation for policy CMP0002 for more details.
CMake Error at libOTe/cryptoTools/cryptoTools/CMakeLists.txt:44 (add_library):
add_library cannot create target "cryptoTools" because another target with
the same name already exists. The existing target is a static library
created in source directory
"/home/girisha/libscapi/build/libOTe/cryptoTools/cryptoTools". See
documentation for policy CMP0002 for more details.
-- Could NOT find Boost: missing: system thread (found /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake (found version "1.71.0"))
-- Boost_include /usr/include
CMake Error at libOTe/cryptoTools/tests_cryptoTools/CMakeLists.txt:5 (add_library):
add_library cannot create target "tests_cryptoTools" because another target
with the same name already exists. The existing target is a static library
created in source directory
"/home/girisha/libscapi/build/libOTe/cryptoTools/tests_cryptoTools". See
documentation for policy CMP0002 for more details.
CMake Error at libOTe/cryptoTools/tests_cryptoTools/CMakeLists.txt:8 (target_link_libraries):
Attempt to add link library "cryptoTools" to target "tests_cryptoTools"
which is not built in this directory.
This is allowed only when policy CMP0079 is set to NEW.
CMake Error at libOTe/cryptoTools/frontend_cryptoTools/CMakeLists.txt:7 (add_executable):
add_executable cannot create target "frontend_cryptoTools" because another
target with the same name already exists. The existing target is an
executable created in source directory
"/home/girisha/libscapi/build/libOTe/cryptoTools/frontend_cryptoTools".
See documentation for policy CMP0002 for more details.
CMake Error at libOTe/cryptoTools/frontend_cryptoTools/CMakeLists.txt:11 (target_link_libraries):
Attempt to add link library "cryptoTools" to target "frontend_cryptoTools"
which is not built in this directory.
This is allowed only when policy CMP0079 is set to NEW.
CMake Error at libOTe_Tests/CMakeLists.txt:5 (add_library):
add_library cannot create target "libOTe_Tests" because another target with
the same name already exists. The existing target is a static library
created in source directory
"/home/girisha/libscapi/build/libOTe/libOTe/libOTe_Tests". See
documentation for policy CMP0002 for more details.
CMake Error at libOTe_Tests/CMakeLists.txt:8 (target_link_libraries):
Attempt to add link library "libOTe" to target "libOTe_Tests" which is not
built in this directory.
This is allowed only when policy CMP0079 is set to NEW.
CMake Error at frontend/CMakeLists.txt:9 (add_executable):
add_executable cannot create target "frontend_libOTe" because another
target with the same name already exists. The existing target is an
executable created in source directory
"/home/girisha/libscapi/build/libOTe/libOTe/frontend". See documentation
for policy CMP0002 for more details.
CMake Error at frontend/CMakeLists.txt:14 (target_link_libraries):
Attempt to add link library "libOTe_Tests" to target "frontend_libOTe"
which is not built in this directory.
This is allowed only when policy CMP0079 is set to NEW.
-- Configuring incomplete, errors occurred!
System details:
Ubuntu 20.04
Boost 1.71