Build error on Mac
hariperla opened this issue · 3 comments
hariperla commented
hariperla commented
ameyk1 commented
The error is related to Qt5;
First check if qt@5 is installed with pcl:
brew info pcl
Following command worked for me:
QT5_DIR=$(brew info qt5 | grep "^$(brew --cellar qt5)" | cut -d' ' -f1)
cmake .. ... -DCMAKE_PREFIX_PATH=$QT5_DIR/
Check here for more comments: Cockatrice/Cockatrice#205 (comment)
elros88 commented
I got the same error. I installed Qt5.15 using the online installer and have Python3.9 and Anaconda installed. I had to set the path for Qt5 and Python in bash_profile to solve the error. This is how my bash_profile file looks:
PATH=dir_where_qt_is_installed/5.15.2/clang_64/bin:$PATH export PATH PYTHONPATH="/usr/local/bin/python3" export PYTHONPATH
hope this helps