Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
foroughmajidi opened this issue Apr 26, 2020 · 1 comment
Open

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

foroughmajidi opened this issue Apr 26, 2020 · 1 comment

Comments

@foroughmajidi
Copy link

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
Copy link
Author

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?

facebook-github-bot pushed a commit to facebook/folly that referenced this issue Nov 17, 2020
Summary: Fix for: facebook/wdt#203

Reviewed By: vitaut

Differential Revision: D24954835

fbshipit-source-id: 92f29f71cd6eef9bdcbe92ed1ecb8f1f5d24326e
dotconnor pushed a commit to 5448C8/folly that referenced this issue Mar 19, 2021
Summary: Fix for: facebook/wdt#203

Reviewed By: vitaut

Differential Revision: D24954835

fbshipit-source-id: 92f29f71cd6eef9bdcbe92ed1ecb8f1f5d24326e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant