Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I add the seal library into Clion project after using brew to install seal? #701

Closed
Archer-One opened this issue Aug 18, 2024 · 1 comment

Comments

@Archer-One
Copy link

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)
"

@kimlaine
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants