# Check out the sources for CoolProp git clone https://github.com/CoolProp/CoolProp --recursive # Move into the folder you just created cd CoolProp # Make a build folder mkdir -p build && cd build # Build the makefile using CMake cmake .. -DCOOLPROP_MY_MAIN=/path/to/example.cpp # Make the static library cmake --build .
Hi,
you could go for a shared or a static library:
http://www.coolprop.org/coolprop/wrappers/SharedLibrary/index.html#shared-library
http://www.coolprop.org/coolprop/wrappers/StaticLibrary/index.html#static-library
Is that what you were looking for?
Regards,
Jorrit
On 18/01/15 20:40, Renaud Kern wrote:
Hello,
Thank you for works on CoolProp, it looks awesome.
I wanted to get your advice as how to include CoolProp as library in a
C++ project. Do you have some compilation instructions for the C++
sample code
<http://www.coolprop.org/coolprop/HighLevelAPI.html#c-sample-code>? It
doesn't look trivial for me.
Thank you for help.
Best,
Renaud
--
You received this message because you are subscribed to the Google
Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to coolprop-users+unsubscribe@googlegroups.com
<mailto:coolprop-users+unsub...@googlegroups.com>.
To post to this group, send email to coolprop-users@googlegroups.com
<mailto:coolprop-users@googlegroups.com>.
Visit this group at http://groups.google.com/group/coolprop-users.
For more options, visit https://groups.google.com/d/optout.
--
Jorrit Wronski
DTU Mechanical Engineering
Technical University of Denmark
Department of Mechanical Engineering
Nils Koppels Allé
Building 403 Room 111
2800 Kgs. Lyngby
phone: +45 45 25 41 83
email: jo...@mek.dtu.dk
http://www.mek.dtu.dk/english/Sections/TES
--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolprop-users@googlegroups.com.
cmake .. -DCOOLPROP_MY_MAIN=/path/to/example.cpp
an email to coolprop-user...@googlegroups.com
<mailto:coolprop-users+unsubscri...@googlegroups.com>.
To post to this group, send email to coolpro...@googlegroups.com
<mailto:coolpro...@googlegroups.com>.
Visit this group at http://groups.google.com/group/coolprop-users.
For more options, visit https://groups.google.com/d/optout.
--
Jorrit Wronski
DTU Mechanical Engineering
Technical University of Denmark
Department of Mechanical Engineering
Nils Koppels Allé
Building 403 Room 111
2800 Kgs. Lyngby
phone: +45 45 25 41 83
email: jo...@mek.dtu.dk
http://www.mek.dtu.dk/english/Sections/TES
--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-user...@googlegroups.com.
To post to this group, send email to coolpro...@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "coolprop-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/coolprop-users/NDEfm9AhZVM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to coolprop-users+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/coolprop-users.
Visit this group at https://groups.google.com/group/coolprop-users.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "coolprop-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to coolprop-users+unsubscribe@googlegroups.com.
To post to this group, send email to coolprop-users@googlegroups.com.
To post to this group, send email to coolprop-users@googlegroups.com.