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

conda: Set QT_HOST_PATH in conda's build.sh CMake template for osx-arm64 compat #1729

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

traversaro
Copy link
Member

@traversaro traversaro commented Oct 3, 2024

Currently conda packages build on osx-arm64 fail with error:

2024-10-03T20:47:09.6134360Z CMake Error at /Users/runner/miniconda3/envs/test/conda-bld/walking-controllers_1727988336360/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/cmake/Qt6/QtPublicDependencyHelpers.cmake:258 (message):
2024-10-03T20:47:09.6136720Z   To use a cross-compiled Qt, please set the QT_HOST_PATH cache variable to
2024-10-03T20:47:09.6137370Z   the location of your host Qt installation.
2024-10-03T20:47:09.6137790Z Call Stack (most recent call first):

This is due to conda-forge/qt-main-feedstock#273 . As a workaround, we add -DQT_HOST_PATH=$PREFIX in the build.sh template for CMake projects.

@traversaro traversaro merged commit 8e1aaa5 into master Oct 3, 2024
2 of 33 checks passed
@traversaro traversaro deleted the fixapplesiliconconda2 branch October 3, 2024 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant