Open Nestor18 opened 1 year ago
Hi! Can you provide a more detailed stack trace or line number in which this code occurs? I’m pretty sure your issue is with one of the dependencies included. I’d suggest following up with the appropriate project on GitHub.
Thank you, I tried to download a stack trace with no success, but the line number is 99 if that is helpful. It belongs in the assimp 1 library with a call to hash.h. I've copied where it lives in a switch structure. / Handle end cases / switch (rem) { case 3: hash += get16bits (data); hash ^= hash << 16; hash ^= abs(data[sizeof(uint16_t)]) << 18; hash += hash >> 11; break; case 2: hash += get16bits (data); hash ^= hash << 11; hash += hash >> 17; break; case 1: hash += *data; hash ^= hash << 10; hash += hash >> 1; } I will try to follow the project as suggested. Regards
On Fri, Jan 27, 2023 at 3:59 AM Polytonic @.***> wrote:
Hi! Can you provide a more detailed stack trace or line number in which this code occurs? I’m pretty sure your issue is with one of the dependencies included. I’d suggest following up with the appropriate project on GitHub.
— Reply to this email directly, view it on GitHub https://github.com/Polytonic/Glitter/issues/79#issuecomment-1405311006, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFUX5G7FSTZU5SZDYIJYN5DWUKUNXANCNFSM6AAAAAAUGDI4NU . You are receiving this because you authored the thread.Message ID: @.***>
Thank you, I tried to download a stack trace with no success, but the line number is 99 if that is helpful. It belongs in the assimp 1 library with a call to hash.h. I've copied where it lives in a switch structure. / Handle end cases / switch (rem) { case 3: hash += get16bits (data); hash ^= hash << 16; hash ^= abs(data[sizeof(uint16_t)]) << 18; hash += hash >> 11; break; case 2: hash += get16bits (data); hash ^= hash << 11; hash += hash >> 17; break; case 1: hash += *data; hash ^= hash << 10; hash += hash >> 1; }
I think you’ll want to take this up with the assimp maintainers then.
Thanks, will do
On Sat, 28 Jan 2023, 4:18 am Polytonic, @.***> wrote:
I think you’ll want to take this up with the assimp maintainers then.
— Reply to this email directly, view it on GitHub https://github.com/Polytonic/Glitter/issues/79#issuecomment-1406809111, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFUX5GZAMSZXA7IWF462O2LWUP7O3ANCNFSM6AAAAAAUGDI4NU . You are receiving this because you authored the thread.Message ID: @.***>
I have downloaded your Glitter program to run openGL on my macOS 10.13.6 using Xcode version 10.1 but I get the above error message in this line of code:
hash ^= abs(data[sizeof(uint16_t)]) << 18;
I would appreciate any suggestions for a fix.
Regards.