SwiftAssimp
SwiftAssimp copied to clipboard
Compilation error since latest Assimp release : AIMesh.swift : cannot assign value of type 'aiMorphingMethod' to type 'UInt32'
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
- [x] If possible, I've reproduced the issue using the
main/masterbranch of this package. - [x] I've searched for existing issues under the issues tab.
- [x] The bug is reproducible
Steps to Reproduce
Steps to reproduce the behavior:
- Start a new project using SwiftAssimp 2.2.0 with a local Assimp 5.3.1 lib installed
- Run
swift build -c release --static-swift-stdlib -Xlinker -u -Xlinker _swift_backtrace_isThunkFunction
"Hi @Winde4th, @ctreffs, I'm encountering an issue while integrating SPM into my code. The error I'm facing is: 'Cannot assign value of type 'aiMorphingMethod' to type 'UInt32'.' How can I resolve this?"