encryptogroup / ABY

ABY - A Framework for Efficient Mixed-protocol Secure Two-party Computation
GNU Lesser General Public License v3.0
463 stars 132 forks source link

cmake didn't find miracl #151

Closed ZZIQIN closed 5 years ago

ZZIQIN commented 5 years ago

I build the aby according the readme . But when i try to build own ABY Application ,cmake report the this error use find_package(ABY) Snipaste_2019-10-11_21-38-21

lenerd commented 5 years ago

Hi, some time ago we replaced MIRACL as dependency with the RELIC library. I suggest you get the latest changes from the master branch and run CMake again in a clean build directory.

ZZIQIN commented 5 years ago

Hi, some time ago we replaced MIRACL as dependency with the RELIC library. I suggest you get the latest changes from the master branch and run CMake again in a clean build directory.

But I've compiled it with the latest version. 1570806190(1)

lenerd commented 5 years ago

I just noticed that MIRACL is still referenced in some files. Could you remove the following line and check again? https://github.com/encryptogroup/ABY/blob/6300c7975ea44e3bbb8644268c29b3e03c0a1f89/cmake/ABYConfig.cmake.in#L9

ZZIQIN commented 5 years ago

I just noticed that MIRACL is still referenced in some files. Could you remove the following line and check again? https://github.com/encryptogroup/ABY/blob/6300c7975ea44e3bbb8644268c29b3e03c0a1f89/cmake/ABYConfig.cmake.in#L9

After the change, it becomes Can't find RELIC::relic. 1570810699(1)

ZZIQIN commented 5 years ago

i change the relic_config.cmake,it work. 1570811694(1)

lenerd commented 5 years ago

Maybe open an issue at https://github.com/relic-toolkit/relic. I cannot reproduce the issue on my system