Link - GameAnalytics/GA-SDK-CPP GitHub Wiki
After building the SDK from source, link to the resulting static library GameAnalytics.lib (Windows) or GameAnalytics.a (Mac) inside your own project where you want to use SDK.
For Mac OS X and Windows 32-bit and 64-bit you also need to link to the following dependencies:
Windows 32-bit:
- VC120:
- source/dependencies/curl/lib/win32/vc120_x86_release/libcurl.lib
- source/dependencies/openssl/1.0.2h/libs/win32/vc120_x86_release/libeay32.lib
- source/dependencies/openssl/1.0.2h/libs/win32/vc120_x86_release/ssleay32.lib
- VC140:
- source/dependencies/curl/lib/win32/vc140_x86_release/libcurl.lib
- source/dependencies/openssl/1.0.2h/libs/win32/vc140_x86_release/libeay32.lib
- source/dependencies/openssl/1.0.2h/libs/win32/vc140_x86_release/ssleay32.lib
Windows 64-bit:
- VC120:
- source/dependencies/curl/lib/win64/vc120_x64_release/libcurl.lib
- source/dependencies/openssl/1.0.2h/libs/win64/vc120_x64_release/libeay32.lib
- source/dependencies/openssl/1.0.2h/libs/win64/vc120_x64_release/ssleay32.lib
- VC140:
- source/dependencies/curl/lib/win64/vc140_x64_release/libcurl.lib
- source/dependencies/openssl/1.0.2h/libs/win64/vc140_x64_release/libeay32.lib
- source/dependencies/openssl/1.0.2h/libs/win64/vc140_x64_release/ssleay32.lib
OSX:
- source/dependencies/curl/lib/osx/libcurl.a
- source/dependencies/openssl/1.0.2h/libs/osx/libcrypto.a
- source/dependencies/openssl/1.0.2h/libs/osx/libssl.a
- framework CoreFoundation
- framework Foundation
- framework CoreServices
Linux:
- source/dependencies/curl/lib/<linux_x64|linux_x86>/libcurl.a
- source/dependencies/openssl/1.0.2h/libs/<linux_x64|linux_x86>/libcrypto.a
- source/dependencies/openssl/1.0.2h/libs/<linux_x64|linux_x86>/libssl.a