You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM alpine:latest
RUN apk update
RUN apk add --no-cache git gcc g++ make cmake libuv-dev openssl-dev gmp-dev libsodium-dev autoconf
RUN git clone https://github.com/hot-stuff/libhotstuff.git && cd libhotstuff/ && git submodule update --init --recursive
RUN cd libhotstuff && cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED=ON -DHOTSTUFF_PROTO_LOG=ON && make
When running it in docker like this, I get:
In file included from /libhotstuff/include/hotstuff/util.h:21,
from /libhotstuff/src/util.cpp:17:
/libhotstuff/salticidae/include/salticidae/util.h:244:20: error: field 't0' has incomplete type 'salticidae::timeval'
244 | struct timeval t0;
| ^~
/libhotstuff/salticidae/include/salticidae/util.h:71:30: note: forward declaration of 'struct salticidae::timeval'
71 | void sec2tv(double t, struct timeval &tv);
| ^~~~~~~
make[2]: *** [CMakeFiles/hotstuff.dir/build.make:82: CMakeFiles/hotstuff.dir/src/util.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:289: CMakeFiles/hotstuff.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
The text was updated successfully, but these errors were encountered:
When running it in docker like this, I get:
The text was updated successfully, but these errors were encountered: