{"action":"closed","issue":{"url":"https://api.github.com/repos/aws/aws-iot-device-sdk-cpp/issues/33","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/33/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-iot-device-sdk-cpp/issues/33/comments","events_url":"https://api.github.com/repos/aws/aws-iot-device-sdk-cpp/issues/33/events","html_url":"https://github.com/aws/aws-iot-device-sdk-cpp/issues/33","id":245684693,"number":33,"title":"Can not use class of library","user":{"login":"chaunnt","id":29053600,"avatar_url":"https://avatars0.githubusercontent.com/u/29053600?v=4","gravatar_id":"","url":"https://api.github.com/users/chaunnt","html_url":"https://github.com/chaunnt","followers_url":"https://api.github.com/users/chaunnt/followers","following_url":"https://api.github.com/users/chaunnt/following{/other_user}","gists_url":"https://api.github.com/users/chaunnt/gists{/gist_id}","starred_url":"https://api.github.com/users/chaunnt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chaunnt/subscriptions","organizations_url":"https://api.github.com/users/chaunnt/orgs","repos_url":"https://api.github.com/users/chaunnt/repos","events_url":"https://api.github.com/users/chaunnt/events{/privacy}","received_events_url":"https://api.github.com/users/chaunnt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-07-26T11:02:14Z","updated_at":"2017-07-27T04:10:28Z","closed_at":"2017-07-27T04:10:28Z","body":"Sorry for asking.\r\nI compiled library and installed to PC (Ubuntu 14.04)\r\nBut when I use this library to a fresh C++ program (Code by Qt)\r\nClasses can not be called.\r\nAfter I trace down to header file\r\nI got this in NetworkConnection.hpp\r\n`AWS_API_EXPORT class NetworkConnection {`\r\n\r\nBut when I looked into macro \"AWS_API_EXPORT\", \"__declspec(dllexport)\" is blocked by defined macro.\r\n```\r\n#pragma once\r\n#if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)\r\n#ifdef _MSC_VER\r\n#pragma warning(disable : 4251)\r\n#endif // _MSC_VER\r\n\r\n#ifdef USE_EXPORT\r\n#define  AWS_API_EXPORT __declspec(dllexport)\r\n#else // USE_EXPORT\r\n#define AWS_API_EXPORT\r\n#endif // USE_EXPORT\r\n#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)\r\n#define AWS_API_EXPORT\r\n#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)\r\n```\r\nWhat is this purpose ? \r\n\r\nNote: I'm just try to build & use this library for native ubuntu C++ program"}}
{"actor":{"display_login":"liuszeng"}}