Changes between Version 18 and Version 19 of BuildingWindowsDependencies


Ignore:
Timestamp:
Jan 25, 2023, 11:08:00 AM (16 months ago)
Author:
Itms
Comment:

Upgrade gloox to the dev version (#4705 fix)

Legend:

Unmodified
Added
Removed
Modified
  • BuildingWindowsDependencies

    v18 v19  
    8989
    9090== gloox ==
    91 * Download the latest 1.0.x source code from https://camaya.net/gloox/download/.
    92 * Decompress and open `gloox.vcproj` in VS. Let it upgrade the project.
     91
     92On Windows, we need to use the unreleased version of gloox (future 1.0.25 if it ever gets released) to support TLS (#4705).
     93
     94* Checkout the latest SVN revision at `svn://svn.camaya.net/gloox/trunk`.
     95* Open `gloox.vcproj` in VS. Let it upgrade the project.
    9396* Fix the Debug configuration:
    9497  * Right-click the `gloox-1.0` project and click Properties
    9598  * Copy-paste the `Output directory` value from the Release project (it should be `$(SolutionDir)$(Configuration)\` instead of some hardcoded thing)
    9699  * Add the `d` suffix to the `Target name` so it becomes `$(ProjectName)d`
    97 * Fix the compilation failure by adding `iodata.h` and `iodata.cpp` to the project (see http://stackoverflow.com/questions/28319149/)
     100* Use the correct compiler `v140_xp` by changing it in "All Configurations"
     101* Add all recent files to the solution by directly right-clicking the `gloox-1.0` project and clicking "Add > Add Existing Element" then adding all source files directly under `src/` (not `examples` nor `tests`).
     102* In the 8.1 Windows Kit, SChannel does not support DTLS, so remove the cases related to it in the switches lines 324 and 327, and 742 and 747 of `tlsschannel.cpp`.
    98103* Build the Release and Debug configurations
    99104* Copy `Debug/gloox-1.0d.lib` and `Release/gloox-1.0.lib` to `libraries/win32/gloox/lib/`