You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
-
105
89
106
90
#### Simple Python build (any platform)
107
91
108
-
1) Prerequisites: install the following python packages: `pip install setuptools packaging`
92
+
1) Prerequisites: install the following python packages:
93
+
`python -m ensurepip --upgrade`
94
+
`python -m pip install setuptools packaging`
95
+
`pip -r install requirements.txt`
109
96
110
97
2) At a command prompt, `cd` to the root directory of this repository.
111
98
112
99
3) Run: `python setup.py install --user --force`
113
100
114
101
This will build and install a release version of htm.core. The `--user` option prevents the system installed site-packages folder from being changed and avoids the need for admin privileges. The `--force` option forces the package to be replaced if it already exists from a previous build. Alternatively you can type `pip uninstall htm.core` to remove a previous package before performing a build.
115
102
116
-
* If you are using `virtualenv` you do not need the --user or --force options.
103
+
* If you are using `virtualenv` you may not need the --user or --force options.
117
104
* If you are using Anaconda Python you must run within the `Anaconda Prompt` on Windows. Do not use --user or --force options.
118
105
119
106
* If you run into problems due to caching of arguments in CMake, delete the
@@ -305,10 +292,11 @@ Generate IDE solution & build.
305
292
* Specify the build system folder (`$HTM_CORE/build/scripts`), i.e. where IDE solution will be created.
306
293
* Click `Generate`.
307
294
308
-
#### For MS Visual Studio 2017or 2019 as the IDE
295
+
#### For MS Visual Studio 2017, 2019 or 2022 as the IDE
309
296
310
297
After downloading the repository, do the following:
311
298
* NOTE: Visual Studio 2019 requires CMake version 3.14 or higher.
299
+
* Visual Studio 2022 requires CMake version 3.21 or higher.
312
300
* CD to the top of repository.
313
301
* Double click on `startupMSVC.bat`
314
302
- This will setup the build, create the solution file (build/scripts/htm.cpp.sln), and start MS Visual Studio.
@@ -404,7 +392,7 @@ Note2: It is obvious, but anyway - do not use `--user` option while using python
404
392
The installation scripts will automatically download and build the dependencies it needs.
405
393
406
394
*[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)
0 commit comments