Skip to content

Instantly share code, notes, and snippets.

@quintona
Created February 8, 2014 09:10
Show Gist options
  • Save quintona/8879309 to your computer and use it in GitHub Desktop.
Save quintona/8879309 to your computer and use it in GitHub Desktop.
The work around to get qibuild working on my Mac
There is a pathing issue with qiBuild. when I run qibuild configure I always get the following error:
Current build worktree: xxxx
Using toolchain: mytoolchain
Build type: Debug
[ERROR]: Could not find qibuild cmake framework path
Please file a bug report with the details of your installation
When I run the command in debug mode I see some paths that don't match my system:
Build type: Debug
[DEBUG]: looking for cmake code from /Library/Python/2.7/site-packages/qibuild
[DEBUG]: trying /Library/Python/2.7/cmake/qibuild/qibuild-config.cmake
[DEBUG]: trying /Library/share/cmake/qibuild/qibuild-config.cmake
[DEBUG]: trying /share/cmake/qibuild/qibuild-config.cmake
[DEBUG]: trying /Library/Python/share/cmake/qibuild/qibuild-config.cmake
[DEBUG]: trying /Library/Python/2.7/site-packages/share/cmake/qibuild/qibuild-config.cmake
So, in order to sort this I had to add a symbolic link as follows:
cd /Library/Python/2.7/site-packages/
sudo ln -s /System/Library/Frameworks/Python.framework/Versions/2.7/share
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment