-
Notifications
You must be signed in to change notification settings - Fork 110
Closed
Description
Sorry for asking.
I compiled library and installed to PC (Ubuntu 14.04)
But when I use this library to a fresh C++ program (Code by Qt)
Classes can not be called.
After I trace down to header file
I got this in NetworkConnection.hpp
AWS_API_EXPORT class NetworkConnection {
But when I looked into macro "AWS_API_EXPORT", "__declspec(dllexport)" is blocked by defined macro.
#pragma once
#if defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
#ifdef _MSC_VER
#pragma warning(disable : 4251)
#endif // _MSC_VER
#ifdef USE_EXPORT
#define AWS_API_EXPORT __declspec(dllexport)
#else // USE_EXPORT
#define AWS_API_EXPORT
#endif // USE_EXPORT
#else // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
#define AWS_API_EXPORT
#endif // defined (USE_WINDOWS_DLL_SEMANTICS) || defined (WIN32)
What is this purpose ?
Note: I'm just try to build & use this library for native ubuntu C++ program
Metadata
Metadata
Assignees
Labels
No labels