Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 695 Bytes

installing-matplot-from-source.md

File metadata and controls

29 lines (22 loc) · 695 Bytes
layout title nav_order has_children parent grand_parent has_toc
default
Installing Matplot++ from Source
3
false
Build from Source
Integration
false

Installing Matplot++ from Source

This will install Matplot++ on your system:

mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O2" -DBUILD_EXAMPLES=OFF -DBUILD_TESTS=OFF 
cmake --build . --parallel 2 --config Release
cmake --install .
  • Replace --parallel 2 with --parallel <number of cores in your machine>
  • On Windows, replace -O2 with /O2
  • On Linux, you might need sudo for this last command