- Need LLVM to be installed (Tested with 9.0.0)
Note This is only if you want to rebuild the contentd of /pjlibs/windows/
pjproject Solution is of 2014
Requirements:
-
Used Visual studio code 2019
-
Need to get MSCV v140 - VS 2015 C++ build tools (v14.00)
- Open visual studio installer (comes bundled with Visual Studio 2019)
- Select "Modify" for the instance of Visual Studio 2017 you have installed.
- Under the "Summary" or "Installation details" pane of the workload selector, click the "Desktop development with C++" expander (if it is collapsed)
- Check the "VC++ 2015 v140 toolset (x86,x64)" optional feature.
-
Need the Windows SDK version 8.1 (does not look like it is included in Visual Studio 2019)
-
May need to export the libraries with function names, following links may be helpful
Build the "Solution pjproject-vs14" then copy pjproject/lib/libpjproject-x86_64-x64-vc14-Debug.lib
to the Rust project pjproject-sys/pjlibs/windows/
Also will need to copy Ole32.lib
-> pjproject-sys/pjlibs/windows/
if it is not already included.
Ole32.lib
can be located at C:\Program Files (x86)\Windows Kits\8.1\Lib\winv6.3\um\x64
and may require Visual Studio 2019 to be installed, with the Windows 8.1 SDK.