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
I am able to compile and run in with --release. I am using CLion, but the error also occurs when I try and build directly with Cargo. Steps I've taken to try and fix it:
Switching to the GNU toolchain, but it looks like the issue is in linking bimg and not in the Rust part of the program.
Updating my VC 2019 toolchain (MSVC 14.29.30133).
Updating to the VC 2022 toolchain (MSVC 14.24.31933).
The text was updated successfully, but these errors were encountered:
I am getting this error compiling on Windows in debug:
libbgfx_sys-3a085ea111dd24ba.rlib(image.o) : error LNK2019: unresolved external symbol "bool __cdecl astc_codec::ASTCDecompressToRGBA(unsigned char const *,unsigned __int64,unsigned __int64,unsigned __int64,enum astc_codec::FootprintType,unsigned char *,unsigned __int64,unsigned __int64)" (?ASTCDecompressToRGBA@astc_codec@@YA_NPEBE_K11W4FootprintType@1@PEAE11@Z) referenced in function "void __cdecl bimg::imageDecodeToRgba8(struct bx::AllocatorI *,void *,void const *,unsigned int,unsigned int,unsigned int,enum bimg::TextureFormat::Enum)" (?imageDecodeToRgba8@bimg@@YAXPEAUAllocatorI@bx@@PEAXPEBXIIIW4Enum@TextureFormat@1@@Z)
I am able to compile and run in with
--release
. I am using CLion, but the error also occurs when I try and build directly with Cargo. Steps I've taken to try and fix it:The text was updated successfully, but these errors were encountered: