facebook / wdt

Warp speed Data Transfer (WDT) is an embeddedable library (and command line tool) aiming to transfer data between 2 systems as fast as possible over multiple TCP paths.
https://www.facebook.com/WdtOpenSource
Other
2.86k stars 392 forks source link

build failed, help me, please #222

Closed foreverneverer closed 2 years ago

foreverneverer commented 3 years ago

gcc version

gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

cmake version

cmake version 3.10.2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

error message

选区_999(153)

foreverneverer commented 3 years ago

@ldemailly Could you help me resolve the problem? I have test it multi-time, it still failed

ldemailly commented 3 years ago

Sorry, I have not built wdt in years. Maybe put the full text out rather than a screenshot? and google the error?

I would guess though that your gcc/g++ is too old

foreverneverer commented 3 years ago

Sorry, I have not built wdt in years. Maybe put the full text out rather than a screenshot? and google the error?

I would guess though that your gcc/g++ is too old

The gcc/g++ has been 7.5. I guess it is compatibility for master branch of wdt and folly, which the wdt only update in 2016, but the folly has been 2021, I try use the 2017 year's version of them, the error is disappeared,but appear other error.

I can't find the match version for them, so I want to know which version is matched

SiminBadri commented 3 years ago

I tried to build WDT but it failed with the error @Shuo-Jia mentioned. I solved it temporarily until it's fixed by contributors.

In line 206 from file wdt/Receiver.h, change std::atomic<std::chrono::time_point<Clock>> startTime_; to std::atomic<std::chrono::time_point<Clock>> startTime_{Clock::now()}; .

I hope it helps you resolve your problem.

foreverneverer commented 3 years ago

@SiminBadri Thanks a lot! and I found a rep which offer a script to resolve the verson match problem: https://github.com/JustinTimperio/warp-cli, maybe you can follow it

foreverneverer commented 2 years ago

@SiminBadri Thanks a lot! and I found a rep which offer a script to resolve the verson match problem: https://github.com/JustinTimperio/warp-cli, maybe you can follow it

resolved