Install LibreOffice-SDK for cpp (OLD)

In august 2016, secondly and recently reinstalled the LibreOffice SDK with Visual C++ Build Tools 2015 on Windows instead of Visual Studio Express Edition 2008...

(It is a standalone compiler version without Visual graphical interface stuff not required here when only using Makefile project)

See LibreOffice informations (and links !) here : http://api.libreoffice.org/docs/install.html

Here what I have done :

- Downloaded and installed LibreOffice SDK (version 5.1 at this time)

- Downloaded and installed Visual-cpp-build-tools (version 2015 at this time)

- Downloaded and installed MinGW to have GNU make

- Downloaded and copied zip, cat and sed tools as asked (cat.exe and sed.exe binaries are located in usr\local\wbin\ of the UnxUtils.zip archive !!!)

And now I do this to be able to compile a cpp project from it's Makefile :

- Launch "Visual C++ 2015 x86 Native Build Tools Command Prompt" from the"C:\Program Files\Microsoft Visual C++ Build Tools"

- Launch the script "setsdkenv_windows.bat" from "xxx\LibreOffice_5.1_SDK\sdk" with :

    * "cd \"

    * "cd xxx\LibreOffice_5.1_SDK\sdk"

    * "setsdkenv_windows.bat"

    The first time you will have to set the correct path for each software, here for the cpp compiler I have OO_SDK_CPP_HOME=C:\Program Files\Microsoft Visual Studio 14.0\VC\bin

    (note at a moment, when "VCVARS32.bat" launched by the sdkenv bat, this error reported: "ERROR: Cannot determine the location of the VS Common Tools folder." that does not prevent to work after because environment variables for the compiler already defined...)

    The title of the shell window becomes "Shell prepared for SDK" !

- Compile the cpp project with :

    * "cd \"

    * "cd YourProjectDirectory"

    * "mingw32-make SHELL=cmd"

The important thing here, is the "SHELL=cmd" parameter added, else GNU make on Windows try to use "sh.exe" and crashed here for me...