facebook / facebook/folly

folly errors when wdt is being built with cygwin64 on windows

Open
#1,358 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
30.5k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Description

I generated makefiles of wdt as following:
cmake -DGFLAGS_INCLUDE_DIR=G:/cygwin64/usr/local/include/gflags
-DGLOG_INCLUDE_DIR=G:/cygwin64/usr/local/include/glog
-DDOUBLECONV_INCLUDE_DIR=G:/cygwin64/usr/local/include/double-conversion
-DFOLLY_SOURCE_DIR=G:/cygwin64/home/Forough/w_f

The generating concluded to this result:

![Capture29](https://user-images.githubusercontent.com/51900859/80391949-4f316b00-8863-11ea-956b-a117cfb2cc2e.PNG)

When I run :make -j I got this result:

![Capture30](https://user-images.githubusercontent.com/51900859/80391986-62443b00-8863-11ea-8347-b0d0a70037ba.PNG)

Although I added these code to folly/system/ThreadId.h , I receive the mentioned error.
#if __linux
#include */
#elif defined(_WIN32) || defined(_WIN64)
#include

Please help me with the problem

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.