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

Compilation error since latest Assimp release : AIMesh.swift : cannot assign value of type 'aiMorphingMethod' to type 'UInt32' #30

Open
3 tasks done
Winde4th opened this issue Oct 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@Winde4th
Copy link

Winde4th commented Oct 3, 2023

Bug Description

I just tried to compile SwiftAssimp (latest version 2.2.0) on a 5.9-jammy Swift server using latest Assimp release (5.3.1) and the compilation crash as below :

/SwiftAssimp/Sources/Assimp/AiMesh.swift:35:16: error: cannot assign value of type 'aiMorphingMethod' to type 'UInt32' method = mesh.mMethod ^ ( ).rawValue error: fatalError

Information

  • Package version: release 2.2.0
  • Platform version: 5.9-jammy swift dockerhub image

Checklist

  • If possible, I've reproduced the issue using the main/master branch of this package.
  • I've searched for existing issues under the issues tab.
  • The bug is reproducible

Steps to Reproduce

Steps to reproduce the behavior:

  1. Start a new project using SwiftAssimp 2.2.0 with a local Assimp 5.3.1 lib installed
  2. Run swift build -c release --static-swift-stdlib -Xlinker -u -Xlinker _swift_backtrace_isThunkFunction
@Winde4th Winde4th added the bug Something isn't working label Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant