The FC++ API installation for Windows requires files from both OpenSSL and Boost. The necessary files are installed as part of the FC++ API. The default installation directories are "C:\Program Files\FCpp\bin"
and "C:\Program Files\FCpp\lib"
. Projects that use FC++ will need to link against these library files:
filename | description |
---|---|
"C:\Program Files\FCpp\lib\fcpp.lib" | FileCatalyst C++ library (upload, download, UDP, TCP, etc.) |
"C:\Program Files\FCpp\lib\boost_regex-vc140-mt-1_58.lib" | support for regular expressions |
"C:\Program Files\FCpp\lib\boost_system-vc140-mt-1_58.lib" | support for error status (used by ASIO and fc::Exception) |
"C:\Program Files\FCpp\lib\libeay32.lib" | OpenSSL |
"C:\Program Files\FCpp\lib\ssleay32.lib" | OpenSSL |
"C:\Program Files\FCpp\bin\boost_regex-vc140-mt-1_58.dll" | regular expressions |
"C:\Program Files\FCpp\bin\boost_system-vc140-mt-1_58.dll" | error status |
"C:\Program Files\FCpp\bin\libeay32.dll" | OpenSSL |
"C:\Program Files\FCpp\bin\ssleay32.dll" | OpenSSL |
If using a build system such as CMake
, then the usual calls to FIND_PACKAGE
will help find the right libraries. For example:
If creating Visual Studio C++ project manually, make the following modifications to "Project Properties"
:
"Project Properties"
"Configuration Properties -> VC++ Directories -> Include Directories"
"C:\Program Files\FCpp\include"
"C:\local\boost_1_58_0"
"Configuration Properties -> VC++ Directories -> Library Directories"
"C:\Program Files\FCpp\lib"
"Configuration Properties -> Linker -> Input"
libeay32.lib
ssleay32.lib
boost_regex-vc140-mt-1_58.lib
boost_system-vc140-mt-1_58.lib