LoginSignup
11
2

More than 5 years have passed since last update.

MacでBoostをインストールして使えるようにする方法

Posted at

コマンドラインにてboostをインストール

brew install boost

.bashrcにてg++のオプションに-I/usr/local/includeを追記してboostへのパスを通す

alias gpp='g++ -Wall -O3 -std=c++17 -I/usr/local/include'

コマンドラインにて以下を実行してエイリアスを更新

. ~/.bashrc
11
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
2