Closed locomotive-crypto closed 3 years ago
when I go to SocketAdapter.h:166 I don't see the offending line of code. Is this code you wrote?
No, I don't do anything.
well not sure how to help you. That line of code is not in the repo https://github.com/ladnir/cryptoTools/search?q=error+%3D+%28ec+%21%3D+0%29%3B
Thanks, It may be the problem about other libraries. I use this library as the third-party library for compiling the secure-kmean-clustering
: https://github.com/osu-crypto/secure-kmean-clustering
locomotive@locomotive-VirtualBox:~/sknn/libOTe/cryptoTools$ make [ 2%] Built target sha_asm [ 5%] Building CXX object cryptoTools/CMakeFiles/cryptoTools.dir/Network/Channel.cpp.o In file included from /home/locomotive/sknn/libOTe/cryptoTools/cryptoTools/Network/Channel.h:5:0, from /home/locomotive/sknn/libOTe/cryptoTools/cryptoTools/Network/Channel.cpp:1: /home/locomotive/sknn/libOTe/cryptoTools/cryptoTools/Network/SocketAdapter.h: In member function ‘virtual void osuCrypto::BoostSocketInterface::send(osuCrypto::span, bool&, osuCrypto::u64&)’:
/home/locomotive/sknn/libOTe/cryptoTools/cryptoTools/Network/SocketAdapter.h:166:25: error: no match for ‘operator!=’ (operand types are ‘boost::system::error_code’ and ‘int’)
error = (ec != 0);