Could not find compiler set in environment variable CXX: x86_64-apple-darwin13.4.0-clang++ 에러 해결 방법

jjeaby(Lee yong jin)
May 15 · 2 min read

Could not find compiler set in environment variable CXX:
x86_64-apple-darwin13.4.0-clang++.

CMake Error at /usr/local/Cellar/cmake/3.14.3/share/cmake/Modules/CMakeDetermineCXXCompiler.cmake:48 (message):Could not find compiler set in environment variable CXX:
x86_64-apple-darwin13.4.0-clang++.
Call Stack (most recent call first):
CMakeLists.txt:135 (project)
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
export CXX=g++ CC=gcc

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade