Releases: JamesParrott/sdna_plus
Call .close to fix shapefile shape type bug in Iron Python
v6.2.0 Bump to v6.2.1 in CI script
v6.1.1 Monkey patch time.clock into time.process_time (and v-v) to support both Python 2 and 3.
v6.1.0. Support Python 2 and Python 3.
Releases can be built in CI using VS 2022
Possibly required: (only tested on dev machine, which had it installed automatically) https://visualstudio.microsoft.com/downloads/#microsoft-visual-c-redistributable-for-visual-studio-2022
sDNA lite 6.0.1 pre alpha, x64, VS 2015, osgeo geos 3.12, Boost 1.72, RTTI on
Probably also required: https://visualstudio.microsoft.com/vs/older-downloads/#microsoft-visual-c-2015-redistributable-update-3
Minor source code change to remove containers of constant elements, to be C++14 compliant.
sdna_integral has been briefly tested, and worked.
As before, geos_c.dll from: https://download.osgeo.org/osgeo4w/v2/x86_64/release/geos/geos-3.12.0-1.tar.bz2 (source code: https://download.osgeo.org/geos/geos-3.12.0.tar.bz2)
Boost: boost_1.72_lib64-msvc-14.0_chrono_date_time_math_random_system_thread_only.zip extracted from https://sourceforge.net/projects/boost/files/boost-binaries/1.72.0/boost_1_72_0-msvc-14.0-64.exe/download (source code: https://sourceforge.net/projects/boost/files/boost/1.72.0/)
sDNA lite 6.0.0, x64, osgeo geos, VS 2012
A release without sdna_learn or sdna_predict, allowing the zip file to be 0.61% the size of the previous one.
Without these two tools, Numpy isn't required by the user, shipping R portable is unneccessary (the removed files are in https://github.com/JamesParrott/sdna_plus/tree/sdna_plus_plus_extras_(R_portable) for now).
sdna_integral has been briefly tested, and worked.
Also required: https://visualstudio.microsoft.com/vs/older-downloads/#visual-studio-2012-vc-redistributable
The geos_c.dll is from: https://download.osgeo.org/osgeo4w/v2/x86_64/release/geos/geos-3.12.0-1.tar.bz2 (source code: https://download.osgeo.org/geos/geos-3.12.1.tar.bz2)
sDNA compiled under VS 2012. Shapely used to provide geos_c.dll
Download sDNA_5.0.1_VS_2012_VC_11_Geos_from_shapely_x64_release_experimental_unstable.zip and unzip it in the chosen installation dir. Run using Python 3.
A simple run of sDNA_integral was successful. No other testing has been done.
Also required: https://visualstudio.microsoft.com/vs/older-downloads/#visual-studio-2012-vc-redistributable
Notes:
Source code changes
Various references to shared_ptr changed to boost::shared_ptr, as VS2012 is more like C++11 now (which has std::shared_ptr) than C++03/98 (which does not).
Check the commits or do a diff, but I don't recall any other changes to the source, just to the VS_2012 config files (which have a different extension to the VS_2008 config files anyway)
Compiler / linker Deps:
Geos was not compiled. geos_c.dll was just copied from shapely-2.0.2-cp312-cp312-win_amd64.whl ("\shapely.libs\geos_c-69e7a24742c4fc930f28f9e1af49d3da.dll") and renamed. (source code: https://github.com/shapely/shapely)
Boost is still 1.55.0, but the version compiled under VC 11 (VS 2012). The required files and binaries are in boost_1_55_0_lib64-msvc-11.0.zip. The installer they came from, requires an extra 2.5GB to store binaries that sDNA probably doesn't need: https://sourceforge.net/projects/boost/files/boost-binaries/1.55.0/boost_1_55_0-msvc-11.0-64.exe/download (source code: https://sourceforge.net/projects/boost/files/boost/1.55.0/)
v5.0.1. Geos from osgeo.org. x64 Release config.
Download and unzip sDNA_5.0.1_VS_2012_VC_11_Geos_from_osgeo.org_x64_release_experimental_unstable.zip where you want to install it.
Also required: https://visualstudio.microsoft.com/vs/older-downloads/#visual-studio-2012-vc-redistributable
The geos_c.dll in this one, was from the OSGEO4W installer: http://osgeo4w.osgeo.org/, selecting an advanced install, and then the download only option. This just downloaded: https://download.osgeo.org/osgeo4w/v2/x86_64/release/geos/geos-3.11.2-1.tar.bz2 (source code: https://download.osgeo.org/geos/geos-3.11.2.tar.bz2)
Compilation repeated from a clean clone of this branch.
The VS_2008_x64_release_config_only branch
To install, download and unzip the archive whereever you want to install it.
Also required:
https://www.microsoft.com/en-us/download/details.aspx?id=26368
https://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x64.exe
Restore compilation process. No AutoCad support (no COM wrapper etc.)
To install, download sdna_x64_release_5.0.0-rc-first_attempt.zip, and unzip it where you want to install sDNA.
x64 only
Also required:
https://www.microsoft.com/en-us/download/details.aspx?id=26368
https://download.microsoft.com/download/5/D/8/5D8C65CB-C849-4025-8E95-C3966CAFD8AE/vcredist_x64.exe
Required for compilation only - boost_1_55_0lib64-msvc-9.0.zip
While working on sDNA, I currently have two versions of Visual Studio installed, two versions of Boost, several sDNA repos, as well as Windows 11, and Docker. Despite uninstalling Windows Subsystem For Linux (Ubuntu 22.04), I have nearly filled my 100GB SSD!
To save hard disk space for future rebuilds, boost_1_55_0lib64-msvc-9.0.zip contains a stripped down installation of the boost 1.55.0 libraries neeed to compile sDNA under Visual Studio 2008. It contains exactly the same files that the installer https://sourceforge.net/projects/boost/files/boost-binaries/1.55.0/boost_1_55_0-msvc-9.0-64.exe/download (SHA1: 97f559917917adc2b992bac57b1e12940656a459) produces, without the 2.5GB-3GB of binaries sDNA doesn't seem to use (I deleted them). Only the binaries for the boost libraries: chrono, date_time, math, system, threading and random are included.