Closed L-coder148 closed 3 years ago
hello,I have installed the microsoft/GSL into the default path:/usr/local
, and add the #include <gsl/gsl>
into IOBuffer.h
, but I do not link the library gsl
. then I run make seccessfully.
I run the ./frontend_cryptoTools -u
with the following result.
I run the ./frontend_cryptoTools -tut
with the following two results(sometimes hangs,sometimes No buffer ). I do not know whether the two results are all right. but I see the Network.cpp
points that By default, ios will print when things so wrong such as a bad buffer size
Yes, I recently removed the gsl. Gsl shouldnt be required and if it is, then that's a bug on my end. I'll investigate.
I haven't run the tutorial is awhile, I'll check it.
The compile error should be fixed in master.
ok, the tutorial should also work now. There was some bug with the "BasicSocket" example. I just removed it from the tutorial ha. As far as I know, no one uses it anyways.
Thanks for your reply and patience. I found another strange problem.
I install cryptotools successfully, in cryptoTools\Common\Defines.h
, it includes the header file "cryptoTools/Common/config.h"
,but there is no config.h
but config.h.in
, but it can be compiled successfully.
But when I compile my project(demo) with library cryptotools
,I put the library under the project demo
, it occurs the following error:
Hmm, yeah, likely another bug on my end. I haven't tested install with just cryptoTools. Usually I install via libOTe. As a temporary fix, the config.h file will be written to the binary directory, likely out/build/linux/cryptoTools/config.h
You can copy this to the install dir. I'll debug the install tomorrow.
ok,thank you
im not getting this error. Seems the config file is installed correctly.
Thanks. I will reinstall it later.
By the way, is there a interface to get the high_u64
or low_u64
from a block
. For example,I want to get the high_u64
of m
,that is 5
.
block m=toBlock(5,0);
block::as<u64>()[0]
for low and block::as<u64>()[1]
for high.