Hi everyone,
I am trying to use CoolProp in a C++ project but I am having difficulty even running the C++ example from the documentation. I downloaded the repository from sourceforge and unpacked it in a folder in my "Program Files". Then I added this folder to the "Additional include directories" as shown in the attached picture. Then I copied and pasted the C++ example and tried to compile it. First of all, "CPState.h" does not exist in the folder that I have downloaded. It seems this file only exist in the CoolProp-museum ( so I commented it out). Now, when I want to build the project, another problem shows up:
Error LNK2019 unresolved external symbol "class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl CoolProp::get_global_param_string(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?get_global_param_string@CoolProp@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@ABV23@@Z) referenced in function _main
Is there a way to use CoolProp as a C++ library? (without compiling it first)

If not, is there a simpler instruction (for a mechanical engineer :) ) to use this library?
Bests,
Ari