microsoft / SEAL

Microsoft SEAL is an easy-to-use and powerful homomorphic encryption library.
https://www.microsoft.com/en-us/research/group/cryptography-research/
MIT License
3.55k stars 706 forks source link

error C2059: syntax error: ';' #682

Closed HeoSolji closed 6 months ago

HeoSolji commented 6 months ago

when i run build command in my project: cmake --build build it return error about syntax problems in the source code

MSBuild version 17.9.5+33de0b227 for .NET Framework

1>Checking Build System Building Custom Rule D:/vHHE_test/CMakeLists.txt main.cpp D:\SEAL\native\src\seal\version.h(30,22): error C2059: syntax error: ';' [D:\vHHE_test\build\hello.vcxproj] (compiling source file '../main.cpp')

D:\SEAL\native\src\seal\version.h(35,22): error C2059: syntax error: ';' [D:\vHHE_test\build\hello.vcxproj] (compiling source file '../main.cpp')

D:\SEAL\native\src\seal\version.h(40,22): error C2059: syntax error: ';' [D:\vHHE_test\build\hello.vcxproj] (compiling source file '../main.cpp')

D:\SEAL\native\src\seal\serialization.h(82,86): error C2059: syntax error: ')' [D:\vHHE_test\build\hello.vcxproj] (compiling source file '../main.cpp')

D:\SEAL\native\src\seal\serialization.h(82,86): error C2143: syntax error: missing '(' before ')' [D:\vHHE_test\build\hello.vcxproj] (compiling source file '../main.cpp')

D:\SEAL\native\src\seal\serialization.h(84,86): error C2059: syntax error: ')' [D:\vHHE_test\build\hello.vcxproj] (compiling source file '../main.cpp')

D:\SEAL\native\src\seal\serialization.h(84,86): error C2143: syntax error: missing '(' before ')' [D:\vHHE_test\build\hello.vcxproj] (compiling source file '../main.cpp')

D:\SEAL\native\src\seal\serialization.h(147,60): error C2059: syntax error: '&&' [D:\vHHE_test\build\hello.vcxproj] (compiling source file '../main.cpp')

D:\SEAL\native\src\seal\serialization.h(148,13): error C2143: syntax error: missing ';' before '{' [D:\vHHE_test\build\hello.vcxproj] (compiling source file '../main.cpp')

D:\SEAL\native\src\seal\serialization.h(153,60): error C2059: syntax error: '&&' [D:\vHHE_test\build\hello.vcxproj] (compiling source file '../main.cpp')

D:\SEAL\native\src\seal\serialization.h(154,13): error C2143: syntax error: missing ';' before '{' [D:\vHHE_test\build\hello.vcxproj] (compiling source file '../main.cpp')