ElementsProject / ElementsProject/elements

Compilation failed

オープン
#1,027 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
1.2k
フォーク
416
平均マージ
1日 23時間
マージ済み PR(30日)
15

説明

I'm currently trying to compile the latest release of the Elements Project for Windows on Linux.

When compiling (make), however, the following error occurs:

util/time.cpp: In function ‘std::string FormatISO8601DateTime(int64_t)’:
util/time.cpp:85:5: error: ‘gmtime_r’ was not declared in this scope; did you mean ‘gmtime_s’?
85 | gmtime_r(&time_val, &ts);
| ^~~~~~~~
| gmtime_s
util/time.cpp: In function ‘std::string FormatISO8601Date(int64_t)’:
util/time.cpp:96:5: error: ‘gmtime_r’ was not declared in this scope; did you mean ‘gmtime_s’?
96 | gmtime_r(&time_val, &ts);
| ^~~~~~~~
| gmtime_s
util/time.cpp: In function ‘std::string FormatISO8601Time(int64_t)’:
util/time.cpp:107:5: error: ‘gmtime_r’ was not declared in this scope; did you mean ‘gmtime_s’?
107 | gmtime_r(&time_val, &ts);
| ^~~~~~~~
| gmtime_s
CXX test/test_bitcoin-arith_uint256_tests.o
make[2]: *** [Makefile:9193: util/libbitcoin_util_a-time.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/gabriel/elements-elements-0.18.1.12/src'
make[1]: *** [Makefile:13626: all-recursive] Error 1
make[1]: Leaving directory '/home/gabriel/elements-elements-0.18.1.12/src'
make: *** [Makefile:783: all-recursive] Error 1

why this ?

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。