Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error on Mac #45

Closed
hariperla opened this issue Feb 16, 2022 · 3 comments
Closed

Build error on Mac #45

hariperla opened this issue Feb 16, 2022 · 3 comments

Comments

@hariperla
Copy link

Followed the steps to setup the required packages and cloned the repo. When I tried to build, I get the following dependency error and I am not sure what's the cause.

Screen Shot 2022-02-16 at 8 34 23 AM

@hariperla
Copy link
Author

Screen Shot 2022-02-16 at 8 35 11 AM

@ameyk1
Copy link

ameyk1 commented Feb 25, 2022

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
Copy link

elros88 commented Apr 16, 2022

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

@udacity udacity locked as resolved and limited conversation to collaborators Apr 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants