{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/cpprestsdk/issues/58","labels_url":"https://api.github.com/repos/Microsoft/cpprestsdk/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/cpprestsdk/issues/58/comments","events_url":"https://api.github.com/repos/Microsoft/cpprestsdk/issues/58/events","html_url":"https://github.com/Microsoft/cpprestsdk/issues/58","id":128361290,"number":58,"title":"Unable to use the SDK on MacOSX","user":{"login":"danielmapar","id":4336805,"avatar_url":"https://avatars.githubusercontent.com/u/4336805?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmapar","html_url":"https://github.com/danielmapar","followers_url":"https://api.github.com/users/danielmapar/followers","following_url":"https://api.github.com/users/danielmapar/following{/other_user}","gists_url":"https://api.github.com/users/danielmapar/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmapar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmapar/subscriptions","organizations_url":"https://api.github.com/users/danielmapar/orgs","repos_url":"https://api.github.com/users/danielmapar/repos","events_url":"https://api.github.com/users/danielmapar/events{/privacy}","received_events_url":"https://api.github.com/users/danielmapar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-23T23:55:10Z","updated_at":"2016-01-25T19:49:25Z","closed_at":null,"body":"Hello guys,\r\n\r\nI just did successful build of the SDK for Mac (https://github.com/Microsoft/cpprestsdk/wiki/How-to-build-for-Mac-OS-X). However, when I try to compile a simple program that imports it:\r\n\r\n```code\r\n#include <cpprest/http_client.h>\r\n#include <cpprest/filestream.h>\r\n\r\n\r\nint main(void) {\r\n\treturn 0;\r\n}\r\n```\r\n\r\nI get:\r\n\r\n```code\r\ng++ test.cpp -std=c++11 -I /Users/daniel/Desktop/workspace/casablanca/Release/include -L /Users/daniel/Desktop/workspace/casablanca/build.release/Binaries\r\nIn file included from test.cpp:1:\r\nIn file included from /Users/daniel/Desktop/workspace/casablanca/Release/include/cpprest/http_client.h:65:\r\nIn file included from /usr/local/include/boost/asio/ssl.hpp:19:\r\nIn file included from /usr/local/include/boost/asio/ssl/context.hpp:27:\r\nIn file included from /usr/local/include/boost/asio/ssl/context_base.hpp:19:\r\n/usr/local/include/boost/asio/ssl/detail/openssl_types.hpp:19:10: fatal error: 'openssl/conf.h' file not found\r\n#include <openssl/conf.h>\r\n         ^\r\n1 error generated.\r\n```\r\n\r\nAny ideas?\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/cpprestsdk/issues/comments/174638012","html_url":"https://github.com/Microsoft/cpprestsdk/issues/58#issuecomment-174638012","issue_url":"https://api.github.com/repos/Microsoft/cpprestsdk/issues/58","id":174638012,"user":{"login":"ras0219-msft","id":12301622,"avatar_url":"https://avatars.githubusercontent.com/u/12301622?v=3","gravatar_id":"","url":"https://api.github.com/users/ras0219-msft","html_url":"https://github.com/ras0219-msft","followers_url":"https://api.github.com/users/ras0219-msft/followers","following_url":"https://api.github.com/users/ras0219-msft/following{/other_user}","gists_url":"https://api.github.com/users/ras0219-msft/gists{/gist_id}","starred_url":"https://api.github.com/users/ras0219-msft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ras0219-msft/subscriptions","organizations_url":"https://api.github.com/users/ras0219-msft/orgs","repos_url":"https://api.github.com/users/ras0219-msft/repos","events_url":"https://api.github.com/users/ras0219-msft/events{/privacy}","received_events_url":"https://api.github.com/users/ras0219-msft/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T19:49:25Z","updated_at":"2016-01-25T19:49:25Z","body":"Hi Daniel,\r\n\r\nYou will need to additionally link the openssl libraries (libssl and libcrypto). These should probably be located at /usr/local/opt/lib.\r\n```\r\n-L /usr/local/opt/lib -lssl -lcrypto\r\n```"}}