I'm trying to make use of liboqs-cpp on my c++ project, but I'm seeing the following errors when trying to build it:
10>common.hpp(40): Error C2065 : 'LIBOQS_CPP_VERSION_NUM': undeclared identifier
10>oqs_cpp.hpp(110): Error C4800 : Implicit conversion from 'int' to bool. Possible information loss
10>oqs_cpp.hpp(110): Reference C4800 : consider using explicit cast or comparison to 0 to avoid this warning
10>oqs_cpp.hpp(427): Error C4800 : Implicit conversion from 'int' to bool. Possible information loss
10>oqs_cpp.hpp(427): Reference C4800 : consider using explicit cast or comparison to 0 to avoid this warning
10>oqs_cpp.hpp(655): Error C4002 : too many arguments for function-like macro invocation 'verify'
10>oqs_cpp.hpp(655): Error C2062 : type 'bool' unexpected
10>oqs_cpp.hpp(656): Error C2334 : unexpected token(s) preceding '{'; skipping apparent function body
10>oqs_cpp.hpp(656): Error C4430 : missing type specifier - int assumed. Note: C++ does not support default-int
10>oqs_cpp.hpp(656): Error C2059 : syntax error: '{'
10>oqs_cpp.hpp(717): Error C2039 : 'cerr': is not a member of 'std'
10>chrono(50): Reference C2039 : see declaration of 'std'
10>oqs_cpp.hpp(717): Error C2065 : 'cerr': undeclared identifier
For reference, the project itself just imports liboqs-cpp for now, it doesn't call any functions.
I'm trying to make use of liboqs-cpp on my c++ project, but I'm seeing the following errors when trying to build it:
For reference, the project itself just imports liboqs-cpp for now, it doesn't call any functions.