hoene / libmysofa

Reader for AES SOFA files to get better HRTFs
Other
131 stars 70 forks source link

fix big endian convertion of double value #198

Closed hoene closed 1 year ago

Biswa96 commented 1 year ago

This causes build failure in Microsoft Windows operating system. The mingw-w64 gcc toolchain shows the following compiler error.

ld.exe: reader.c:(.text+0x58d): undefined reference to 'le64toh'
hoene commented 1 year ago

https://github.com/vysheng/tl-parser/blob/master/portable_endian.h

⁣BlueMail for Android herunterladen ​

Am 20. Mai 2023, 06:47, um 06:47, Biswapriyo Nath @.***> schrieb:

This causes build failure in Microsoft Windows operating system. The mingw-w64 gcc toolchain shows the following compiler error.

ld.exe: reader.c:(.text+0x58d): undefined reference to 'le64toh'

-- Reply to this email directly or view it on GitHub: https://github.com/hoene/libmysofa/pull/198#issuecomment-1555529191 You are receiving this because you modified the open/close state.

Message ID: @.***>

Biswa96 commented 1 year ago

My apology. I did not understand your previous comment. Could you please explain it please?

hoene commented 1 year ago

Please check the commit de6e88aa71d44e407b2331059158ed372931aa22

Biswa96 commented 1 year ago

It fixes building with mingw-w64 gcc toolchain. Thank you.