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

Make errors in Windows #188

Open yuquan1210 opened 2 years ago

yuquan1210 commented 2 years ago

OS: Windows 10 x64 Not sure whether I am missing any dependencies. I have installed GMP, OpenSSL, Boost, and the outputs after running CMake does not give explicit errors, but do not seem right. I have attached CMake output messages in a separate file. Any help is greatly appreiciated! Below is the make command I ran and the error message:

cmake -G "MinGW Makefiles" ..
mingw32-make
C:\Users\86138\Documents\GitHub\ABY\extern\ENCRYPTO_utils\src\ENCRYPTO_utils\cbitvector.cpp: In member function 'void CBitVector::EklundhBitTranspose(std::size_t, std::size_t)':
C:\Users\86138\Documents\GitHub\ABY\extern\ENCRYPTO_utils\src\ENCRYPTO_utils\cbitvector.cpp:769:24: error: 'TRANSPOSITION_MASKS' 
[CMake_output.txt](https://github.com/encryptogroup/ABY/files/8149305/CMake_output.txt)
was not declared in this scope
  769 |                 mask = TRANSPOSITION_MASKS[i];
      |                        ^~~~~~~~~~~~~~~~~~~
mingw32-make[2]: *** [extern\ENCRYPTO_utils\src\CMakeFiles\encrypto_utils.dir\build.make:76: extern/ENCRYPTO_utils/src/CMakeFiles/encrypto_utils.dir/ENCRYPTO_utils/cbitvector.cpp.obj] Error 1
mingw32-make[1]: *** [CMakeFiles\Makefile2:261: extern/ENCRYPTO_utils/src/CMakeFiles/encrypto_utils.dir/all] Error 2
mingw32-make: *** [Makefile:135: all] Error 2

CMake_output.txt