Skip to content

Conversation

@fernandotonon
Copy link
Owner

Summary

  • Fix macOS app crashing with "Library not loaded: Codec_Assimp.14.4.dylib"
  • The Codec_Assimp library was not being bundled with the app and had hardcoded build paths

Changes

  • Uncomment Codec_Assimp in OGRELIBLIST so it gets installed to the app bundle
  • Add install_name_tool fixes to change hardcoded build machine paths to @rpath
  • Fix all dylibs in MacOS directory to use relative paths for their dependencies

Test plan

  • Build macOS release via GitHub Actions
  • Download and install the DMG on macOS
  • Verify app launches without "Library not loaded" errors
  • Test loading 3D models that use Assimp codec

🤖 Generated with Claude Code

The app was crashing because Codec_Assimp.dylib was not included in the
bundle and had hardcoded build paths.

Changes:
- Uncomment Codec_Assimp in OGRELIBLIST so it gets installed to app bundle
- Add install_name_tool fixes to change hardcoded build paths to @rpath
- Fix all dylibs in MacOS directory to use relative paths

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@fernandotonon fernandotonon merged commit 427fdc3 into master Jan 26, 2026
10 checks passed
@fernandotonon fernandotonon deleted the fix/macos-codec-assimp-dylib branch January 26, 2026 16:26
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.

2 participants