Installing on Windows
Download git-scm You can also use either the git command line or GUI client.
CMake generates the LibSourcey project files so you can build on most platforms and compilers. Here we use CMake to generate project for Visual Studio.
Download and install the Windows OpenSSL binaries. Don't forget to set system path if you download
zip file version, or if the OpenSSL Installer failed to set the properly:
Download and install FFmpeg for Windows. Notice that you need to download both
Dev version. Extract zip files and set them to head of your system's
PATH (you can just add new item in Windows 10):
Clone the repository:
git clone https://github.com/sourcey/libsourcey.git. If you haven't got Git for some reason you can download and extract the package archive from GitHub.
Generate Project Files
Open the CMake GUI and set the project directory to point to the LibSourcey root directory. Execute "Configure" to do the initial configuration, then adjust any options, then press "Configure" again and then press "Generate".
See here for a complete list of build options.
Compile with Visual Studio
- Generate solutions using CMake, as described above. Make sure, you chose the proper generator (32-bit or 64-bit)
- Launch Visual Studio, locate and open the
libsourcey.slnsolution file in your generated build folder (eg:
C:\LibSourcey\build\libsourcey.sln). Select "Debug" configuration, build the solution (Ctrl-Shift-B), and/or select "Release" and build it.
libscy*d.dll, respectively) to the system path (My Computer--[Right button click]->Properties->Advanced->Environment Variables->Path)