RoboStack / RoboStack/ros-galactic

Fix qt-gui-cpp cross-compile for osx-arm64

Open
#72 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug help wanted osx
Dominant language
Shell
Stars
23
Forks
12
PR merge metrics
No merged PRs in 30d

Description

mimick-vendor and qt-gui-cpp currently only compile natively - cross compile doesn't work.

For mimick-vendor, it is probably sufficient to simply forward the CMAKE_ARGS to the mimick build.

For qt-gui-cpp, we need to install sip-build and qt-main (also) in the build env, and point SIP_EXECUTABLE to $BUILD_PREFIX/bin/sip-build. Similarly we need to point QMAKE_EXECUTABLE to $BUILD_PREFIX/bin/qmake. Not sure what else needs doing beyond that.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the build definitions for mimick-vendor and qt-gui-cpp, then inspect how CMAKE_ARGS and the build environment are passed during osx-arm64 cross-compilation. Verify the required sip-build and qt-main tools, including SIP_EXECUTABLE and QMAKE_EXECUTABLE, and confirm both packages cross-compile successfully rather than only compiling natively.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, shell
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.