Closed Archer-One closed 3 months ago
I use the command "brew install seal" to install SEAL, but when I tried to use the SEAL library in the Clion project, it went wrong.
The following is some document contents. terminal output " atal error: 'seal/seal.h' file not found
^~~~~~~~~~~~~
1 error generated. ninja: build stopped: subcommand failed. "
main.cpp "
int main() { std::cout << "Hello, World!" << std::endl; return 0; } "
CMakeLists.txt " cmake_minimum_required(VERSION 3.23) project(untitled)
set(CMAKE_CXX_STANDARD 17)
add_executable(untitled main.cpp)
set(INC_DIR /opt/homebrew/Cellar/seal/4.1.2/include) set(LINK_DIR /opt/homebrew/Cellar/seal/4.1.2/lib)
link_libraries(seal)
target_link_libraries(untitled seal) "
We don't maintain the Homebrew package for this. I would recommend following the (pretty detailed) README.md we wrote for installation and use instructions.
I use the command "brew install seal" to install SEAL, but when I tried to use the SEAL library in the Clion project, it went wrong.
The following is some document contents. terminal output " atal error: 'seal/seal.h' file not found
include <seal/seal.h>
1 error generated. ninja: build stopped: subcommand failed. "
main.cpp "
include
include <seal/seal.h>
int main() { std::cout << "Hello, World!" << std::endl; return 0; } "
CMakeLists.txt " cmake_minimum_required(VERSION 3.23) project(untitled)
set(CMAKE_CXX_STANDARD 17)
add_executable(untitled main.cpp)
set(INC_DIR /opt/homebrew/Cellar/seal/4.1.2/include) set(LINK_DIR /opt/homebrew/Cellar/seal/4.1.2/lib)
link_libraries(seal)
target_link_libraries(untitled seal) "