osu-crypto / libPSI

A repository for private set intersection.
Other
172 stars 48 forks source link

problem when building libPSI #9

Closed freelyyu closed 4 years ago

freelyyu commented 4 years ago

I run cmake with cmake . -DENABLE_MIRACL=ON -DENABLE_SIMPLESTOT=ON, then I run make, but it occurs the error as is shown in the following picture. ![Uploading 18KK`)}Z97R]_1]HN8HEQKJ.png…]()

freelyyu commented 4 years ago

After building relic with old version, I run cmake and make, there occurs another problem 63}`C}LAM$1YEFOKC4 YGJG

freelyyu commented 4 years ago

I address the second problem by adding the header file RandomOracle.h, but it failed again when I cmake only with miracl on, Here is part of the error. ERROR.txt

ladnir commented 4 years ago

Pushed the RandomOracle.h fix.

FYI, you probably never need to have both MIRACL and Relic turned on.

This looks like you computed libOTe with different flags. Both libraries need to have the same flags for ENABLE_MIRACL,ENABLE_RELIC,ENABLE_SIMPLESTOT.

I just compiled libOTe and libPSI with ENABLE_RELIC=ON and the others set to off.