SEAL
SEAL copied to clipboard
Building and Installing on Windows failed
Building on windows using Visual Studio Developer Command Prompt failed. I used following command, cmake -S . -B build -G "Visual Studio 17 2022" -A x64
This gave me following error,
CMake Error at CMakeLists.txt:68 (include): include could not find requested file:
EnableCXX17
CMake Error at CMakeLists.txt:150 (seal_fetch_thirdparty_content): Unknown CMake command "seal_fetch_thirdparty_content".
-- Configuring incomplete, errors occurred! See also "C:/SEAL/build/build/CMakeFiles/CMakeOutput.log".
I'm wondering why you have two directories called build
within each other? Could you try taking a fresh clone of the repo and try again with cmake -S . -B build -G "Visual Studio 17 2022" -A x64
in the top-level directory.
Thanks for your response
I have followed all the steps to build. And when I used this in my new project it is giving me the error shown in above fig. I have added the seal as additional include directories, additional library directories, and additional dependencies but still giving error.
Your project is not finding the GSL headers. I would recommend using CMake to build your project in which case it should automatically work. Otherwise you’ll need to manually add these to your header files location. Or if you don’t want to use GSL just configure SEAL without it.