Both of these problems are easily handled by updating the README.
1) Problem: There are cmake error messages when installing using cmake 1.10. Error message below.
Solution: Upgrade to cmake >= 1.12
2) Problem: Numpy dependency required but not checked during -make install- process.
Solution: Install numpy. Install works with at least numpy>= 1.17. I didn't experiment with previous versions.
ERROR MESSAGE FOR CMAKE:
-- PYTHON_VERSION_STRING 3.6.8
-- PYTHON_VENV_VERSION python3.6
-- OS version: ubuntu
-- SEAL_USE_CXX17 ON
-- SEAL_CXX_FLAGS -std=c++1z -std=gnu++1z -Wall -march=native -Wno-deprecated-declarations -O2 -fPIC -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fopenmp -fvisibility=hidden -fvisibility-inlines-hidden
-- BOOST_HEADERS_PATH /home/ubuntu/he-transformer/build/boost/src/ext_boost
-- Installing protobuf to /home/ubuntu/he-transformer/build/external
-- protoc SOURCE_DIR /home/ubuntu/he-transformer/build/protobuf/src/ext_protobuf```
-- protoc BINARY_DIR /home/ubuntu/he-transformer/build/protobuf/src/ext_protobuf-build
CMake Error at cmake/protobuf.cmake:50 (target_include_directories):
Cannot specify include directories for imported target "libprotobuf_orig".
Call Stack (most recent call first):
CMakeLists.txt:132 (include)
HE_TRANSFORMER_SOURCE_DIR /home/ubuntu/he-transformer/src
EXTERNAL_INSTALL_INCLUDE_DIR /home/ubuntu/he-transformer/build/external/include
NGRAPH_TF_VENV_LIB_DIR /home/ubuntu/he-transformer/build/ext_ngraph_tf/src/ext_ngraph_tf/build_cmake/venv-tf-py3/lib/python3.6/site-packages/ngraph_bridge
NGRAPH_TF_LIB_DIR /home/ubuntu/he-transformer/build/ext_ngraph_tf/src/ext_ngraph_tf/build_cmake/artifacts/lib
Copying CMAKE_CURRENT_SOURCE_DIR /home/ubuntu/he-transformer/src to /home/ubuntu/he-transformer/build/external/include
PROJECT_ROOT_DIR /home/ubuntu/he-transformer
-- CMAKE_CURRENT_BINARY_DIR /home/ubuntu/he-transformer/build/src
-- CMAKE_BINARY_DIR /home/ubuntu/he-transformer/build
-- Adding unit test for backend HE_SEAL
-- python CMAKE_SOURCE_DIR /home/ubuntu/he-transformer
-- python CMAKE_BINARY_DIR /home/ubuntu/he-transformer/build
-- python CMAKE_CURRENT_BINARY_DIR /home/ubuntu/he-transformer/build/python
-- EXTERNAL_INSTALL_LIB_DIR /home/ubuntu/he-transformer/build/external/lib
-- PYTHON_ARTIFACTS_DIR /home/ubuntu/he-transformer/build/python/_install
-- Configuring incomplete, errors occurred!
See also "/home/ubuntu/he-transformer/build/CMakeFiles/CMakeOutput.log".
See also "/home/ubuntu/he-transformer/build/CMakeFiles/CMakeError.log".
---------------------------------------------------------------------------------------------
Both of these problems are easily handled by updating the README.
1) Problem: There are cmake error messages when installing using cmake 1.10. Error message below. Solution: Upgrade to cmake >= 1.12
2) Problem: Numpy dependency required but not checked during -make install- process. Solution: Install numpy. Install works with at least numpy>= 1.17. I didn't experiment with previous versions.
ERROR MESSAGE FOR CMAKE: