snucrypto / HEAAN

Other
350 stars 95 forks source link

How to install HEAAN Library #50

Closed omeravci372742 closed 3 years ago

omeravci372742 commented 3 years ago

Hello, I am trying to work on Homomorphic Encryption so I try to install and use HEAAN Library. In their github page, they tell us to create static library libHEAAN.a with make all comment. When I try this I got errors saying M_PI is not defined in this scope. After I redifing pi number as desired then I get an error with sctruct definition timeval then I include <sys/time.h> in Timeutilites.h then I finally get libHEAAN.a but then I can not add library to any of my compilers or I can not compile from ubuntu command. I always get same respond, the file or directory can not found. What can I do? I am so desperate for help.

swanhong commented 3 years ago

Have you installed NTL library? It may be helpful if you show me the detail of the error log.

omeravci372742 commented 3 years ago

I installed the NTL yes, I will send the error log today.

3 Ara 2020 Per 09:41 tarihinde Seungwan Hong notifications@github.com şunu yazdı:

Have you installed NTL library? It may be helpful if you show me the detail of the error log.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snucrypto/HEAAN/issues/50#issuecomment-737701058, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR7ER2HVU4PSJBLOIDWZN3TSS4XIZANCNFSM4UKY3XUA .

omeravci372742 commented 3 years ago

But basically, I upload the library folder in MinGw but when I try to add header include and compile my code, it gives the error no directory or file found.

3 Ara 2020 Per 11:00 tarihinde Ömer Avci omeravci372742@gmail.com şunu yazdı:

I installed the NTL yes, I will send the error log today.

3 Ara 2020 Per 09:41 tarihinde Seungwan Hong notifications@github.com şunu yazdı:

Have you installed NTL library? It may be helpful if you show me the detail of the error log.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snucrypto/HEAAN/issues/50#issuecomment-737701058, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR7ER2HVU4PSJBLOIDWZN3TSS4XIZANCNFSM4UKY3XUA .

swanhong commented 3 years ago

HEAAN library doesn't support Windows OS, so if you are trying with Windows, I cannot help to fix the error. It would be better to build with Mac or Ubuntu.

omeravci372742 commented 3 years ago

Oh thank you so much, this will save a lot of time.

7 Ara 2020 Pzt 04:36 tarihinde Seungwan Hong notifications@github.com şunu yazdı:

HEAAN library doesn't support Windows OS, so if you are trying with Windows, I cannot help to fix the error. It would be better to build with Mac or Ubuntu.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/snucrypto/HEAAN/issues/50#issuecomment-739612879, or unsubscribe https://github.com/notifications/unsubscribe-auth/AR7ER2FOZ6SLLQVGRL52WATSTQWS5ANCNFSM4UKY3XUA .