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

Builtins.h:33:26: error when build on windows #203

Open foroughmajidi opened 4 years ago

foroughmajidi commented 4 years ago

I Generated makefiles of wdt using CMake from the command line on windows as following :

cmake F:\wdt -G "MinGW Makefiles" -DFOLLY_SOURCE_DIR=F:/folly -DOPENSSL_INCLUDE_DIR=C:/Users/Forough/Downloads/openssl-1.1.1g-win64-mingw/include/openssl -DOPENSSL_SSL_LIBRARY=C:/Users/Forough/Downloads/openssl-1.1.1g-win64-mingw/lib -DOPENSSL_CRYPTO_LIBRARY=C:/Users/Forough/Downloads/openssl-1.1.1g-win64-mingw/lib -DGFLAGS_INCLUDE_DIR=F:\gflags\gflags\include -DGFLAGS_LIBRARY=F:\gflags\gflags\bin -DGLOG_LIBRARY=F:\glog\b_g\Debug -DGLOG_INCLUDE_DIR=F:\glog\b_g -DDOUBLECONV_INCLUDE_DIR=F:\double-conversion\double-conversion -DDOUBLECONV_LIBRARY=F:\double-conversion -DBoost_INCLUDE_DIR=G:/boost_1_59_0/boost1/include -DBOOST_ROOT=G:/boost_1_59_0 -DBUILD_TESTING=on

That was ok. But when I wanted to Build makefiles with "mingw32-make" , I got this error:

Capture25

foroughmajidi commented 4 years ago

I try built wdt with cygwin as following cmake -DBOOST_ROOT=G:\cygwin64\usr\include\boost -DOPENSSL_CRYPTO_LIBRARY=G:/cygwin64/opt/openssl-1.1.1g-win64-mingw/lib -DGFLAGS_INCLUDE_DIR=F:\gflags\gflags\include -DGFLAGS_LIBRARY=F:\gflags\gflags\bin -DGLOG_LIBRARY=F:\glog\b_g\Debug -DGLOG_INCLUDE_DIR=F:\glog\b_g -DDOUBLECONV_INCLUDE_DIR=G:/cygwin64/home/forough/double-conversion -DDOUBLECONV_LIBRARY=G:/cygwin64/home/forough/double-conversion -DFOLLY_SOURCE_DIR=G:/cygwin64/home/Forough/w_f That was ok . But when I run "make -j" I got this error: Capture26

Whould you please tell me how to solve it?