{"action":"created","issue":{"url":"https://api.github.com/repos/aws/aws-iot-device-sdk-cpp/issues/119","repository_url":"https://api.github.com/repos/aws/aws-iot-device-sdk-cpp","labels_url":"https://api.github.com/repos/aws/aws-iot-device-sdk-cpp/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-iot-device-sdk-cpp/issues/119/comments","events_url":"https://api.github.com/repos/aws/aws-iot-device-sdk-cpp/issues/119/events","html_url":"https://github.com/aws/aws-iot-device-sdk-cpp/issues/119","id":359407684,"node_id":"MDU6SXNzdWUzNTk0MDc2ODQ=","number":119,"title":"pthread.h not found","user":{"login":"jbarrena","id":43204123,"node_id":"MDQ6VXNlcjQzMjA0MTIz","avatar_url":"https://avatars2.githubusercontent.com/u/43204123?v=4","gravatar_id":"","url":"https://api.github.com/users/jbarrena","html_url":"https://github.com/jbarrena","followers_url":"https://api.github.com/users/jbarrena/followers","following_url":"https://api.github.com/users/jbarrena/following{/other_user}","gists_url":"https://api.github.com/users/jbarrena/gists{/gist_id}","starred_url":"https://api.github.com/users/jbarrena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbarrena/subscriptions","organizations_url":"https://api.github.com/users/jbarrena/orgs","repos_url":"https://api.github.com/users/jbarrena/repos","events_url":"https://api.github.com/users/jbarrena/events{/privacy}","received_events_url":"https://api.github.com/users/jbarrena/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-09-12T10:06:54Z","updated_at":"2018-09-17T17:57:12Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nI am trying to compile the SDK for Windows 10 x64 using cmake & msbuild. I cloned the repository by master branch, and tryed cmake -G \"Visual Studio 14 2015 Win64\" ../.\r\n\r\nThe following error appeared on CMakeError.log:\r\nCheckIncludeFile.cxx(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory.\r\n\r\nDo we know why cmake is looking for pthread.h when I am compiling it for Windows??\r\n\r\nThanks for the help,\r\n\r\nJulen."},"comment":{"url":"https://api.github.com/repos/aws/aws-iot-device-sdk-cpp/issues/comments/422111432","html_url":"https://github.com/aws/aws-iot-device-sdk-cpp/issues/119#issuecomment-422111432","issue_url":"https://api.github.com/repos/aws/aws-iot-device-sdk-cpp/issues/119","id":422111432,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMjExMTQzMg==","user":{"login":"ColdenCullen","id":1354824,"node_id":"MDQ6VXNlcjEzNTQ4MjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1354824?v=4","gravatar_id":"","url":"https://api.github.com/users/ColdenCullen","html_url":"https://github.com/ColdenCullen","followers_url":"https://api.github.com/users/ColdenCullen/followers","following_url":"https://api.github.com/users/ColdenCullen/following{/other_user}","gists_url":"https://api.github.com/users/ColdenCullen/gists{/gist_id}","starred_url":"https://api.github.com/users/ColdenCullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ColdenCullen/subscriptions","organizations_url":"https://api.github.com/users/ColdenCullen/orgs","repos_url":"https://api.github.com/users/ColdenCullen/repos","events_url":"https://api.github.com/users/ColdenCullen/events{/privacy}","received_events_url":"https://api.github.com/users/ColdenCullen/received_events","type":"User","site_admin":false},"created_at":"2018-09-17T17:57:12Z","updated_at":"2018-09-17T17:57:12Z","author_association":"MEMBER","body":"```\r\nCMakeFiles/cmTC_2dca4.dir/CheckSymbolExists.cxx.o: In function 'main':\r\nCheckSymbolExists.cxx:(.text+0x16): undefined reference to 'pthread_create'\r\n```\r\nThis isn't a compile error, but a link error. Did you add -lpthread to your link flags somewhere? The most common way to do this is via [`target_link_libraries`](https://cmake.org/cmake/help/v3.0/command/target_link_libraries.html)."}}
{"actor":{"display_login":"ColdenCullen"}}