{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/wdt/issues/169","repository_url":"https://api.github.com/repos/facebook/wdt","labels_url":"https://api.github.com/repos/facebook/wdt/issues/169/labels{/name}","comments_url":"https://api.github.com/repos/facebook/wdt/issues/169/comments","events_url":"https://api.github.com/repos/facebook/wdt/issues/169/events","html_url":"https://github.com/facebook/wdt/issues/169","id":258766240,"number":169,"title":"error: ‘to’ is not a member of ‘folly’","user":{"login":"renyuntao","id":11660067,"avatar_url":"https://avatars3.githubusercontent.com/u/11660067?v=4","gravatar_id":"","url":"https://api.github.com/users/renyuntao","html_url":"https://github.com/renyuntao","followers_url":"https://api.github.com/users/renyuntao/followers","following_url":"https://api.github.com/users/renyuntao/following{/other_user}","gists_url":"https://api.github.com/users/renyuntao/gists{/gist_id}","starred_url":"https://api.github.com/users/renyuntao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renyuntao/subscriptions","organizations_url":"https://api.github.com/users/renyuntao/orgs","repos_url":"https://api.github.com/users/renyuntao/repos","events_url":"https://api.github.com/users/renyuntao/events{/privacy}","received_events_url":"https://api.github.com/users/renyuntao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-09-19T10:08:00Z","updated_at":"2017-09-21T13:26:11Z","closed_at":"2017-09-21T13:26:11Z","author_association":"NONE","body":"```bash\r\n$ cat buildWdt.sh\r\nmkdir -p ~/build && cd ~/build && \\\r\n\r\nwget https://github.com/facebook/wdt/archive/v1.27.1612021.tar.gz && \\\r\ntar -xvf v1.27.1612021.tar.gz && mv wdt-1.27.1612021 wdt  && \\\r\nrm -rf v1.27.1612021.tar.gz && \\\r\n\r\ngit clone https://github.com/facebook/folly.git && \\\r\n\r\ncmake ./wdt && \\\r\nmake\r\n```\r\nWhen I run `buildWdt.sh`, I got the following error:\r\n\r\n```\r\nIn file included from /home/i-renyuntao/build/wdt/SenderThread.cpp:9:0:\r\n/home/i-renyuntao/build/wdt/SenderThread.h: In constructor ‘facebook::wdt::SenderThread::SenderThread(facebook::wdt::Sender*, int, int32_t, facebook::wdt::ThreadsController*\r\n)’:\r\n/home/i-renyuntao/build/wdt/SenderThread.h:86:24: error: ‘to’ is not a member of ‘folly’\r\n     threadStats_.setId(folly::to<std::string>(threadIndex_));\r\n                        ^\r\n/home/i-renyuntao/build/wdt/SenderThread.h:86:45: error: expected primary-expression before ‘>’ token\r\n     threadStats_.setId(folly::to<std::string>(threadIndex_));\r\n                                             ^\r\nCMakeFiles/wdt_min.dir/build.make:422: recipe for target 'CMakeFiles/wdt_min.dir/SenderThread.cpp.o' failed\r\nmake[2]: *** [CMakeFiles/wdt_min.dir/SenderThread.cpp.o] Error 1\r\nCMakeFiles/Makefile2:105: recipe for target 'CMakeFiles/wdt_min.dir/all' failed\r\nmake[1]: *** [CMakeFiles/wdt_min.dir/all] Error 2\r\nMakefile:127: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n```\r\nThe output of `buildWdt.sh`: [https://gist.github.com/renyuntao/285acf26610aeb8f415e36aaa894253d](https://gist.github.com/renyuntao/285acf26610aeb8f415e36aaa894253d)\r\n\r\nCan anyone help me?     \r\n(Sorry for my bad English)\r\n\r\n"}}
{"actor":{"display_login":"renyuntao"}}