I recently was reading an article posted on the National Institute of Standards and Technology.
the article included a C++ project in a zip file. I obtained the entire project to do some science experiments, but since I am not a programmer, I really need help to get the project compiled.
Naturally, i tried in vain to figure it out myself, but I figure there might be a kind soul to help me.
below is an excerpt explaining programming matters beyond me. if you can help, please let me know.
i can also post the zip file, if i am allowed by cprogramming.com. please advise on how you or anyone can help.
thanks.
2 Sample code
The sample C++ code uses CoolProp(Bell et al., 2014) as the thermodynamic engine. In order to build the
examples, you will need a C++11 compatible compiler (on Windows, the Microsoft Visual Studio 2015 compiler
is used), git, python, and cmake installed. All of these pre-requisites can be freely obtained from the appropriate
developer, or from the platform-specific package manager (for non-Windows-based operating systems).
A distutils script setup.py is provided that can be used to install the psychrometry C++11-based python
extension by executing this command at a prompt in the code directory: python setup.py install.
The script build_psych.py can be used to build a monolithic testing program, and also a module for python
compiled using the pybind11 package. The script can be run at the command prompt. If a compiler other than
Microsoft Visual Studio 2015 is to be used (for instance on linux or OSX), the generator in the cmake command in
build_psych.py should be changed. See the cmake documentation for more information about generators.
Versions of code used (for replicability purposes):
CoolProp version: 6.1.1dev
CoolProp git revision: acf1f0549ab1b6cfec258f48fe2eff6b47b6fe5d