cx_Freeze icon indicating copy to clipboard operation
cx_Freeze copied to clipboard

Error while building Qt6 sample on MacOSX

Open tomneo2004 opened this issue 8 months ago • 13 comments

Describe the bug An error occur while building application bundle on MacOSX for sample. copying /Users/phil/bob/Qt-opensource/6.7.1/macos/lib/libc++.1.dylib -> /Users/Nelson/Desktop/SmartTrainer/qt_app/build/exe.macosx-10.9-universal2-3.9/lib/libc++.1.dylib

error: [Errno 2] No such file or directory: '/Users/phil/bob/Qt-opensource/6.7.1/macos/lib/libc++.1.dylib'

and sometime it throw a different error

copying /Users/phil/bob/Qt-opensource/6.7.1/macos/lib/libSystem.B.dylib -> /Users/Nelson/Desktop/SmartTrainer/qt_app/build/exe.macosx-10.9-universal2-3.9/lib/libSystem.B.dylib

error: [Errno 2] No such file or directory: '/Users/phil/bob/Qt-opensource/6.7.1/macos/lib/libSystem.B.dylib'

To Reproduce

  1. Create a virtual environment(I use virtualenv) and activate environment.
  2. pip install PyQt6 cx_Freeze
  3. sudo python setup.py bdist_mac

Expected behavior Should have built without any error.

Desktop (please complete the following information):

  • Platform information: MacOS Monterey 12.7.4
  • OS architecture: ARM64 Intel
  • cx_Freeze version: 7.1.0.post0
  • Python version: 3.9.13

How do I solve this issue?

tomneo2004 avatar Jun 09 '24 02:06 tomneo2004