fatal error: seal/seal.h: No such file or directory

61 Views Asked by At

i am a newbie to cmake and microsoft seals, when i am trying to add seal library to my project using cmake i get error as follows:

PS D:\vHHE_test> cmake --build build MSBuild version 17.9.5+33de0b227 for .NET Framework

1>Checking Build System Building Custom Rule D:/vHHE_test/CMakeLists.txt main.cpp D:\vHHE_test\main.cpp(2,9): error C1083: Cannot open include file: 'seal/seal.h': No such file or > > directory [D:\vHHE_test\build\hello.vcxproj]

I followed Microsoft seal's instructions:

cmake -S . -B build -DSEAL_ROOT=D:\\SEAL\\native\\src\\seal
cmake --build build

Below is my CMakeLists.txt file:

cmake_minimum_required(VERSION 3.13)
project(hello)
set(SEAL_ROOT ${SEAL_ROOT}) 
include_directories(${SEAL_ROOT})
add_executable(hello main.cpp)

I look forward to receiving help from everyone

I would like to find a solution that will help me declare the seal library and run my project without errors

0

There are 0 best solutions below