You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Mac OS X (Big Sur 11.5.2) the homebrew (with the M1 chip) installed versions of llvm and qt are located at /opt/homebrew/opt/ instead of /usr/local/opt/, thus some lines are different from those in the documentation
# For compilers to find qt you may need to set:
export LDFLAGS="-L/opt/homebrew/opt/qt/lib"
export CPPFLAGS="-I/opt/homebrew/opt/qt/include"
# For pkg-config to find qt you may need to set:
export PKG_CONFIG_PATH="/opt/homebrew/opt/qt/lib/pkgconfig"
and
# in repo's root
cmake -DCMAKE_C_COMPILER="/opt/homebrew/opt/llvm/bin/clang" -DCMAKE_CXX_COMPILER="/opt/homebrew/opt/llvm/bin/clang++" .
The text was updated successfully, but these errors were encountered:
You are my hero. I was looking for this answer after following step by step the instruction and hitting my head with
"CMake Error at CMakeLists.txt:2 (project):
The CMAKE_CXX_COMPILER:
@Lemonadel
Because the part compiled on Mac was not written by me, I only referenced it from the contributors, and I cannot test it.
In addition, I am developing a new version that is almost completely rewritten. You can try compiling the v3-dev branch without any dependencies that require special configuration.
On Mac OS X (Big Sur 11.5.2) the homebrew (with the M1 chip) installed versions of llvm and qt are located at
/opt/homebrew/opt/
instead of/usr/local/opt/
, thus some lines are different from those in the documentationand
The text was updated successfully, but these errors were encountered: