Building SEAL on linux

Aug 31, 2017 at 2:54 PM
I am having difficulty building the c++ part of the library on Ubuntu. Could someone provide a guide for this?
Sep 3, 2017 at 12:49 AM
Make sure you have gcc 5 and make installed. Then in sealcrypto/SEAL do:

./configure CXXFLAGS="-O3 -march=native"

The library binary will be in sealcrypto/bin.

To install globally do:
sudo make install

I hope this helps.
Sep 4, 2017 at 3:56 PM
Thank you for your feedback. I have tried but I keep getting this error -- bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory.
DO you know what I might be doing wrong?
Sep 7, 2017 at 6:38 AM
It's not you doing anything wrong---it's me:
Apparently I have accidentally committed the file with Windows style line endings. Just create a new configure script by running autoconf in the sealcrypto/SEAL directory. It should work then, or alternatively convert it with dos2unix.
Sep 9, 2017 at 2:46 PM
Yes. It works. Thank you.
Nov 16, 2017 at 8:13 AM
I have built the SEAL library in ubuntu using the above command but I am unable to run SEALExamples.KIndly respond.
main.cpp:5:18: fatal error: seal.h: No such file or directory
#include "seal.h"
compilation terminated.