You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like the source of this issue is the in-line use of the AI_BE(t) macro, which on big-endian architectures expands to ByteSwap::Swapped(t). Trying to pass a reference to the expanded statement to memcpy fails with the above error.
I was able to work around the issue by modifying the Copy function in Bitmap.cpp to create a temporary variable that holds the result of AI_BE, and then passing the temporary variable to memcpy.
The text was updated successfully, but these errors were encountered:
I'm trying to build assimp-3.1.1 on the redhat 7 ppc64 architecture. I'm getting the following error:
Full build log is here.
It looks like the source of this issue is the in-line use of the AI_BE(t) macro, which on big-endian architectures expands to ByteSwap::Swapped(t). Trying to pass a reference to the expanded statement to memcpy fails with the above error.
I was able to work around the issue by modifying the Copy function in Bitmap.cpp to create a temporary variable that holds the result of AI_BE, and then passing the temporary variable to memcpy.
The text was updated successfully, but these errors were encountered: