Skip to content

CoolProp/simple_sharedlibrary_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation


Simple example of calling shared library


Guilty parties

Ian Bell, 2016

To build

First:

git clone --recursive https://github.com/CoolProp/CoolProp
cd CoolProp
mkdir build
cd build
cmake .. -DCOOLPROP_SHARED_LIBRARY=ON
cmake --build . --config Release

Then in that directory with libCoolProp.dylib (or libCoolProp.so on unix):

g++ main.cpp -I../../include -L. -lCoolProp && ./a.out

About

A simple demonstration of how to call the shared library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages