lasa01 / Plumber

A Blender addon for importing Source 1 engine maps, models, materials and textures. This addon makes it possible to import full CS:GO, TF2, CS:S or other Source 1 game maps into Blender.
MIT License
389 stars 30 forks source link

Doesn't work on M1/M2 Macs #172

Closed temir-erd closed 1 month ago

temir-erd commented 9 months ago

Describe the bug Adon does not activate, it gives errors

To Reproduce Steps to reproduce the behavior:

  1. Install plumber-v1.0.0-macOS.zip
  2. Click the checkbox to activate the plugin

Logs

Traceback (most recent call last):
  File "/Applications/Blender.app/Contents/Resources/3.6/scripts/modules/addon_utils.py", line 369, in enable
    mod.register()
  File "/Users/temir/Library/Application Support/Blender/3.6/scripts/addons/plumber/__init__.py", line 50, in register
    from . import addon
  File "/Users/temir/Library/Application Support/Blender/3.6/scripts/addons/plumber/addon.py", line 4, in <module>
    from . import preferences, importer, tools, benchmark, version_str
  File "/Users/temir/Library/Application Support/Blender/3.6/scripts/addons/plumber/preferences.py", line 1, in <module>
    from .plumber import discover_filesystems, FileSystem, filesystem_from_gameinfo
ImportError: dlopen(/Users/temir/Library/Application Support/Blender/3.6/scripts/addons/plumber/plumber.abi3.so, 0x0002): tried: '/Users/temir/Library/Application Support/Blender/3.6/scripts/addons/plumber/plumber.abi3.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/temir/Library/Application Support/Blender/3.6/scripts/addons/plumber/plumber.abi3.so' (no such file), '/Users/temir/Library/Application Support/Blender/3.6/scripts/addons/plumber/plumber.abi3.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64'))

Screenshots

Снимок экрана 2023-10-25 в 19 05 14

Details (please complete the following information):

lasa01 commented 9 months ago

Unfortunately Macs with Apple M1 or M2 chips are not supported. The Mac version works for Intel Macs only.

It is possible that the compilation of the addon works on those Macs too, but I can't test it or publish a release since I don't have access to any Macs. There are instructions for manually building the addon, so if you have enough technical knowledge you can try that and see if it compiles.

lasa01 commented 1 month ago

The latest release now contains ARM64 mac builds for M1/M2/M3/M4 etc., would appreciate if someone could test it!