@@ -40,29 +40,14 @@ in C++ library.
4040
4141## Installation
4242
43- ### Binary releases
4443
45- NOTE: The Binary releases are not being maintained. Suggest building from Sources instead.
46-
47- If you want to use ` htm.core ` from Python, the easiest method is to install from [ PyPI] ( https://test.pypi.org/project/htm.core/ )
48- - Note: to install from ` pip ` you'll need Python 3.7 only(does not work with older or newer versions)
49-
50- ```
51- python -m pip install -i https://test.pypi.org/simple/ htm.core
52- ```
53- Note: to run all examples with visualizations, install including extra requirements:
54- ` pip install -i https://test.pypi.org/simple/ htm.core[examples] `
55-
56- If you intend to use ` htm.core ` as a library that provides you Python \& C++ HTM,
57- you can use our [ binary releases] ( https://github.com/htm-community/htm.core/releases ) .
58-
59- #### Prerequisites
44+ ### Prerequisites
6045
6146For running C++ apps/examples/tests from binary release: none.
6247If you want to use python, then obviously:
6348
6449- [ Python] ( https://python.org/downloads/ )
65- - Standard Python 3.7+ (Recommended)
50+ - Standard Python 3.7+ (Recommend using the latest) [ Tested with 3.8, 3.11.1 ]
6651 - Standard Python 2.7
6752 + We recommend the latest version of 2.7 where possible, but the system version should be fine.
6853 + Python 2 is Not Supported on Windows, use Python 3 instead.
@@ -78,6 +63,13 @@ If you want to use python, then obviously:
7863 - Other implementations of Python may not work.
7964 - Only the standard python from python.org have been tested.
8065
66+ - ** C\+\+ compiler** : c\+\+ 11/17 compatible (ie. g++, clang\+\+ ).
67+ - boost library (if not a C\+\+ 17 or greater compiler that supports filesystem.)
68+ If the build needs boost, it will automatically download and install boost with the options it needs.
69+ - CMake 3.7+ (MSVC 2019 needs CMake 3.14+, MSVC 2022 needs CMake 3.21+).
70+ Install the latest using [ https://cmake.org/download/ ] ( https://cmake.org/download/ )
71+
72+ Note: Windows MSVC 2019 runs as C\+\+ 17 by default so boost is not needed. On linux use -std=c++17 compile option to avoid needing boost.
8173
8274### Building from Source
8375
@@ -91,21 +83,12 @@ To fork the repo with `git`:
9183git clone https://github.com/htm-community/htm.core
9284```
9385
94- #### Prerequisites
95-
96- - same as for Binary releases, plus:
97- - ** C\+\+ compiler** : c\+\+ 11/17 compatible (ie. g++, clang\+\+ ).
98- - boost library (if not a C\+\+ 17 or greater compiler that supports filesystem.)
99- If the build needs boost, it will automatically download and install boost with the options it needs.
100- - CMake 3.7+ (MSVC 2019 needs CMake 3.14+, MSVC 2022 needs CMake 3.21+).
101- Install the latest using [ https://cmake.org/download/ ] ( https://cmake.org/download/ )
102-
103- Note: Windows MSVC 2019 runs as C\+\+ 17 by default so boost is not needed. On linux use -std=c++17 compile option to avoid needing boost.
104-
10586
10687#### Simple Python build (any platform)
10788
108- 1 ) Prerequisites: install the following python packages: ` pip install setuptools packaging `
89+ 1 ) Prerequisites: install the following python packages:
90+ `python -m ensurepip --upgrade`
91+ `python -m pip install setuptools packaging`
10992
110932 ) At a command prompt, ` cd ` to the root directory of this repository.
11194
@@ -305,10 +288,11 @@ Generate IDE solution & build.
305288 * Specify the build system folder (` $HTM_CORE/build/scripts ` ), i.e. where IDE solution will be created.
306289 * Click ` Generate ` .
307290
308- #### For MS Visual Studio 2017 or 2019 as the IDE
291+ #### For MS Visual Studio 2017, 2019 or 2022 as the IDE
309292
310293After downloading the repository, do the following:
311294 * NOTE: Visual Studio 2019 requires CMake version 3.14 or higher.
295+ * Visual Studio 2022 requires CMake version 3.21 or higher.
312296 * CD to the top of repository.
313297 * Double click on ` startupMSVC.bat `
314298 - This will setup the build, create the solution file (build/scripts/htm.cpp.sln), and start MS Visual Studio.
@@ -404,7 +388,7 @@ Note2: It is obvious, but anyway - do not use `--user` option while using python
404388The installation scripts will automatically download and build the dependencies it needs.
405389
406390 * [ Boost] ( https://www.boost.org/ ) (Not needed by C++17 compilers that support the filesystem module)
407- * [ LibYaml] ( https://pyyaml.org/wiki/LibYAML ) or [ Yaml-cpp ] ( https://github.com/jbeder/yaml-cpp )
391+ * [ LibYaml] ( https://pyyaml.org/wiki/LibYAML )
408392 * [ Eigen] ( https://eigen.tuxfamily.org/index.php?title=Main_Page )
409393 * [ PyBind11] ( https://github.com/pybind/pybind11 )
410394 * [ gtest] ( https://github.com/google/googletest )
@@ -427,10 +411,10 @@ distribution packages as listed and rename them as indicated. Copy these to
427411| :--------------------- | :----------------- |
428412| libyaml.zip (* note1) | https://github.com/yaml/libyaml/archive/refs/tags/0.2.5.tar.gz |
429413| boost.tar.gz (* note3) | https://dl.bintray.com/boostorg/release/1.72.0/source/boost_1_72_0.tar.gz |
430- | googletest.tar.gz | https://github.com/google/googletest/archive/refs/tags/release-1.11.0 .tar.gz |
414+ | googletest.tar.gz | https://github.com/google/googletest/archive/refs/tags/release-1.12.1 .tar.gz |
431415| eigen.tar.bz2 | https://gitlab.com/libeigen/eigen/-/archive/3.4.0/eigen-3.4.0.tar.gz |
432416| mnist.zip (* note4) | https://github.com/wichtounet/mnist/archive/3b65c35ede53b687376c4302eeb44fdf76e0129b.zip |
433- | pybind11.tar.gz | https://github.com/pybind/pybind11/archive/refs/tags/v2.6.2 .tar.gz |
417+ | pybind11.tar.gz | https://github.com/pybind/pybind11/archive/refs/tags/v2.10.1 .tar.gz |
434418| cereal.tar.gz | https://github.com/USCiLab/cereal/archive/refs/tags/v1.3.2.tar.gz |
435419| sqlite3.tar.gz | https://www.sqlite.org/2022/sqlite-autoconf-3380200.tar.gz |
436420| digestpp.zip | https://github.com/kerukuro/digestpp/archive/34ff2eeae397ed744d972d86b5a20f603b029fbd.zip |
0 commit comments