14 lines
1.0 KiB
Plaintext
14 lines
1.0 KiB
Plaintext
- Building libliquid.dll and libliquid.a:
|
|
-----------------------------------------
|
|
- Install the Msys2 distribution as described on their site (https://msys2.github.io/)
|
|
- Add mingw32 and mingw64 compiler to the Msys2 installation.
|
|
- Copy config.h, makefile.mingw32, makefile.mingw64 in the liquid-dsp root directory.
|
|
- Run a Msys2 Win32 shell (mingw32.exe) and execute 'make -f makefile.mingw32 -j8' to compile a libliquid.dll 32bit Windows Dll.
|
|
- Run a Msys2 Win64 shell (mingw64.exe) and execute 'make -f makefile.mingw64 -j8' to compile a libliquid.dll 64bit Windows Dll.
|
|
|
|
Note that the Win32 dll needs libgcc_s_dw2-1.dll and libwinpthread-1.dll (as a libgcc_s_dw2-1.dll dependency) as dependencies.
|
|
On the other hand, Win64 dll has no external dependencies.
|
|
|
|
This process generates a .dll, .a together with libliquid.def the listing exported functions, and libliquid.lib the import lib matching the dll.
|
|
|
|
In order to develop with Visual Studio, you need both the include/liquid.h at source level, and the libliquid.lib import library referenced in your project. |