Sunny267
Sunny267

Reputation: 27

Clion GCC complier Mac

I'm trying to change my Clion(ver 2020.3) complier from the default clang to g++. I have already installed g++9 with homebrew but I'm having trouble to change it in Clion. Most of the respond I found is for windows not Mac. So can anyone teach me how to do it? Thanks in advance.

Upvotes: 1

Views: 303

Answers (1)

Sunny267
Sunny267

Reputation: 27

I found out that I accidentally set the directory to gcc instead of g++, because after I corrected it, the compiler works.

Upvotes: 1

Related Questions