Rust-SDL2 / rust-sdl2

SDL2 bindings for Rust
MIT License
2.71k stars 466 forks source link

Can't static link sdl2_mixer (msvc 2017) #981

Open daemonjax opened 4 years ago

daemonjax commented 4 years ago

For the life of me, I cannot static link sdl2_mixer (EDIT: using msvc 2017 to build the static libs, and my rust toolchain is msvc x64 stable).

No matter what I try, I get the following error on cargo build:

  = note:    Creating library z:/rust_target\debug\deps\sdl2_test.lib and object z:/rust_target\debug\deps\sdl2_test.exp
          libsdl2-887194ced6e370f6.rlib(sdl2-887194ced6e370f6.sdl2.5pw5u3s6-cgu.13.rcgu.o) : error LNK2019: unresolved external symbol Mix_LoadWAV_RW referenced in function _ZN63_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..mixer..LoaderRWops$GT$8load_wav17h181765d36d
82335dE
          libsdl2-887194ced6e370f6.rlib(sdl2-887194ced6e370f6.sdl2.5pw5u3s6-cgu.13.rcgu.o) : error LNK2019: unresolved external symbol Mix_LoadMUS_RW referenced in function _ZN63_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..mixer..LoaderRWops$GT$10load_music17hb0f27b7
4c4157990E
          z:/rust_target\debug\deps\sdl2_test.exe : fatal error LNK1120: 2 unresolved externals

I can't just comment out those two functions and carry on, because they do the real work.

I checked the SDL2_mixer.lib file using a hexeditor for Mix_LoadMUS_RW and Mix_LoadWAV_RW, and those symbols do seem to exist inside the lib, so I dunno what gives. I'm definitely compiling everything using x64/release.

I can static link SDL2.lib with no problem (without using the mixer). The mixer is driving me crazy, though. If anyone has any advice, that'd be great.

Everything works great using dlls, so that's a plus. SDL2 has a lot of dlls, so I want to bring that number down.

TheRadioGuy commented 4 years ago

Hi there, I also have this issue!

error: linking with `link.exe` failed: exit code: 1120
  |
  = note: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.25.28610\\bin\\HostX64\\x64\\link.exe" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.13xuifkeh8xz6oze.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.147s7u7qpo5hq6yi.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.1wnpfzhjl185qhlz.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.20m678vqbn2q3tdn.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.216y0wzr78vpqpql.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.23lrnf1sdrfzf475.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.24rts90pby4dqp4d.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.29qbvct2mnhb6hbj.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.2bgrmcql2c641ucj.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.2cfe3k6dy4busnhk.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.2jidql9f1twhj0p5.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.2wmwcziyb0wrwolf.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.2xudw7bfi5jv5q2s.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.35cjt2qg7goglobw.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.35zk2p7nkuu9aalo.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.38fzh9yk3uc2augn.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.3lj6lpk734h8d0h0.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.3mvdpnfnqxszh3jw.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.3pkavj10p6uzxo1x.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.3t2nde7rnm8d9o5w.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.3zz29vqlwv4ibzji.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.4el0dqcgvzlp2icu.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.4mdeupjyhebfb9z6.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.4qm0ee74zuiv4jfq.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.4th979l46z9azdjs.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.5c316xpdy2ytm2he.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.blzt2im2sm7m0j1.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.mx94id45lct9sz7.rcgu.o" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.qn014syh7honvgt.rcgu.o" "/OUT:C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.exe" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\xout.4wrh2c7re3k5duhr.rcgu.o" "/OPT:REF,NOICF" "/DEBUG" "/NATVIS:C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis" "/NATVIS:C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis" "/LIBPATH:C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps" "/LIBPATH:C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\build\\sdl2-sys-2878a9950a806a10\\out\\lib" "/LIBPATH:libs" "/LIBPATH:C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\libsdl2-aeae7773eaa0c08b.rlib" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\libc_vec-ed44ea02b2c35eb6.rlib" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\libsdl2_sys-467e9832d3b0d069.rlib" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\libbitflags-63e431f540d116bf.rlib" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\liblazy_static-899a77e497189a7b.rlib" "C:\\Users\\DuckerMan\\Desktop\\RUST\\xout\\target\\debug\\deps\\liblibc-5d518acf24800d39.rlib" "C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd-bc2b04b7c9a44f97.rlib" "C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libpanic_unwind-73c12b6959d9c5fd.rlib" "C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libhashbrown-c41a2b552e68f0cc.rlib" "C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_alloc-e79a4701ffa7cbcc.rlib" "C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libbacktrace-9f3b0426ee0f39d1.rlib" "C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_demangle-31bd0c60452501f1.rlib" "C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libunwind-a9c788e4be0605b0.rlib" "C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcfg_if-1999078cd5ceb0ce.rlib" "C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liblibc-5dd545b022f6be58.rlib" "C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc-acd4590212ce9dae.rlib" "C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_core-87cb4dffff33f37a.rlib" "C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcore-81caf0281e0b427b.rlib" "C:\\Users\\DuckerMan\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-bb027328a052d4db.rlib" "shell32.lib" "user32.lib" "gdi32.lib" "winmm.lib" "imm32.lib" "ole32.lib" "oleaut32.lib" "version.lib" "uuid.lib" "dinput8.lib" "dxguid.lib" "setupapi.lib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "msvcrt.lib"
  = note:    Creating library C:\Users\DuckerMan\Desktop\RUST\xout\target\debug\deps\xout.lib and object C:\Users\DuckerMan\Desktop\RUST\xout\target\debug\deps\xout.exp
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_Load_RW 
referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$4load17h149fde74572d7c3eE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_LoadTyped_RW referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$10load_typed17hb8e8816adfb8c324E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_LoadCUR_RW referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$8load_cur17he0283ce9dfe80023E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_LoadICO_RW referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$8load_ico17hd9f34cd5fa01b8a9E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_LoadBMP_RW referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$8load_bmp17h91723104a0129d4fE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_LoadPNM_RW referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$8load_pnm17hf7575acdc376d271E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_LoadXPM_RW referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$8load_xpm17hc27b9d17bf77289dE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_LoadXCF_RW referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$8load_xcf17h7fd3fd63b3751454E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_LoadPCX_RW referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$8load_pcx17h7a797c268cc2dc85E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_LoadGIF_RW referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$8load_gif17h220a4fce99711ca8E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_LoadJPG_RW referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$8load_jpg17hee593ba777472633E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_LoadTIF_RW referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$8load_tif17h07be9bc3dfddf104E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_LoadPNG_RW referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$8load_png17he52b2eacace0eec2E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_LoadTGA_RW referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$8load_tga17ha54fc8314bfcff8aE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_LoadLBM_RW referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$8load_lbm17hc97eedb4f6c6e84eE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_LoadXV_RW referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$7load_xv17hf6f6792fb2d7ed3eE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_LoadWEBP_RW referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$9load_webp17h194a4dd34995e940E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_isCUR referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$6is_cur17he3739f6df0583335E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_isICO referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$6is_ico17h17d1faae0c7e877cE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_isBMP referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$6is_bmp17he4b960ccfc0ab9abE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_isPNM referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$6is_pnm17hb766397ad678d243E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_isXPM referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$6is_xpm17h8677187a6d715b0dE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_isXCF referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$6is_xcf17hb3fff10c943e7ac7E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_isPCX referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$6is_pcx17h72b3ccad766a4d21E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_isGIF referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$6is_gif17h1bb0674529f55ee0E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_isJPG referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$6is_jpg17h669854998d4fcf32E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_isTIF referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$6is_tif17h84cf87c71ee54382E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_isPNG referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$6is_png17h0ecacdb514f92197E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_isLBM referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$6is_lbm17h9dd654c002c51bcfE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_isXV referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$5is_xv17h6b46fe7362aac905E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol IMG_isWEBP referenced in function _ZN62_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..image..ImageRWops$GT$7is_webp17he1802c9b8e962ae7E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol Mix_LoadWAV_RW referenced in function _ZN63_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..mixer..LoaderRWops$GT$8load_wav17h5bc85dec6b1b39b5E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol Mix_LoadMUS_RW referenced in function _ZN63_$LT$sdl2..rwops..RWops$u20$as$u20$sdl2..mixer..LoaderRWops$GT$10load_music17h2bd7b496e2fed982E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2001: unresolved external symbol Mix_LoadMUS_RW
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterMMXdetect referenced in function _ZN4sdl23gfx11imagefilter10mmx_detect17he9b34804d7af2f71E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterMMXoff referenced in function _ZN4sdl23gfx11imagefilter7mmx_off17h509524db0b439f47E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterMMXon referenced in function _ZN4sdl23gfx11imagefilter6mmx_on17hd02425d39ae5fb01E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterAdd referenced in function _ZN4sdl23gfx11imagefilter3add17h49f8489212c081c5E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterMean referenced in function _ZN4sdl23gfx11imagefilter4mean17h79e74c32079b1b0cE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterSub referenced in function _ZN4sdl23gfx11imagefilter3sub17he49790d92a60c281E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterAbsDiff referenced in function _ZN4sdl23gfx11imagefilter8abs_diff17hc51cda901a689b73E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterMult referenced in function _ZN4sdl23gfx11imagefilter4mult17h5c1cef23aed71d25E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterMultNor referenced in function _ZN4sdl23gfx11imagefilter8mult_nor17ha6ede03208e90d09E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterMultDivby2 referenced in function _ZN4sdl23gfx11imagefilter12mult_div_by217h0b8212259c6665d7E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterMultDivby4 referenced in function _ZN4sdl23gfx11imagefilter12mult_div_by417h2f51816831e5841cE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterBitAnd referenced in function _ZN4sdl23gfx11imagefilter7bit_and17h05523e31ca70a241E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterBitOr referenced in function _ZN4sdl23gfx11imagefilter6bit_or17hf4f04d725be32551E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterDiv referenced in function _ZN4sdl23gfx11imagefilter3div17hdf388ac376ab76f0E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterBitNegation referenced in function _ZN4sdl23gfx11imagefilter12bit_negation17h5c87ea2c7fb61cc9E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterAddByte referenced in function _ZN4sdl23gfx11imagefilter8add_byte17h14daf5e5a04e02b6E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterAddUint referenced in function _ZN4sdl23gfx11imagefilter8add_uint17hc9f18b4812f6b27cE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterAddByteToHalf referenced in function _ZN4sdl23gfx11imagefilter16add_byte_to_half17he424a06a4eaaae0aE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterSubByte referenced in function _ZN4sdl23gfx11imagefilter8sub_byte17haa6459c043d1756cE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterSubUint referenced in function _ZN4sdl23gfx11imagefilter8sub_uint17hb972f58b5283f8acE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterShiftRight referenced in function _ZN4sdl23gfx11imagefilter11shift_right17h64818143dcc0cc85E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterShiftRightUint referenced in function _ZN4sdl23gfx11imagefilter16shift_right_uint17h172c317f28fb3fe0E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterMultByByte referenced in function _ZN4sdl23gfx11imagefilter12mult_by_byte17he7074682f6c51e21E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterShiftRightAndMultByByte referenced in function _ZN4sdl23gfx11imagefilter28shift_right_and_mult_by_byte17he3d25e11bd338796E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterShiftLeftByte referenced in function _ZN4sdl23gfx11imagefilter15shift_left_byte17h144198b795955456E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterShiftLeftUint referenced in function _ZN4sdl23gfx11imagefilter15shift_left_uint17h2ba0295e9ae9fef0E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterShiftLeft referenced in function _ZN4sdl23gfx11imagefilter10shift_left17h69c11340312de3b2E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterBinarizeUsingThreshold referenced in function _ZN4sdl23gfx11imagefilter24binarize_using_threshold17he1627e878ae1ef91E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterClipToRange referenced in function _ZN4sdl23gfx11imagefilter13clip_to_range17hef18751baf091e55E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.1.rcgu.o) : error LNK2019: unresolved external symbol SDL_imageFilterNormalizeLinear referenced in function _ZN4sdl23gfx11imagefilter16normalize_linear17h8266610fd72e09d0E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_Linked_Version referenced in function _ZN4sdl25mixer18get_linked_version17h636f0dc3c0704120E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_Quit referenced in function _ZN71_$LT$sdl2..mixer..Sdl2MixerContext$u20$as$u20$core..ops..drop..Drop$GT$4drop17h227eef52f762cdd4E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_Init referenced in function _ZN4sdl25mixer4init17h146ce2d8dfa28b0eE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_OpenAudio referenced in function _ZN4sdl25mixer10open_audio17h4f6b2b9b2a25917cE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_CloseAudio referenced in function _ZN4sdl25mixer11close_audio17h0a3d679367957711E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_QuerySpec referenced in function _ZN4sdl25mixer10query_spec17h4533faa45b59626aE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_GetNumChunkDecoders referenced in function _ZN4sdl25mixer25get_chunk_decoders_number17h367fea0918d64420E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_GetChunkDecoder referenced in function _ZN4sdl25mixer17get_chunk_decoder17h1407bf66c781231fE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_FreeChunk referenced in function _ZN60_$LT$sdl2..mixer..Chunk$u20$as$u20$core..ops..drop..Drop$GT$4drop17h16fac992594907eeE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_VolumeChunk referenced in function _ZN4sdl25mixer5Chunk10set_volume17h1f86dc27c156655eE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_AllocateChannels referenced in function _ZN4sdl25mixer17allocate_channels17hf7e6cc5ac1413682E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_ChannelFinished referenced in function _ZN4sdl25mixer20set_channel_finished17h2d8697cfb1ece3ecE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_Volume referenced in function _ZN4sdl25mixer7Channel10set_volume17h6e0d29676665b0c9E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_PlayChannelTimed referenced in function _ZN4sdl25mixer7Channel10play_timed17h96dd6916592384b9E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_FadeInChannelTimed referenced in function _ZN4sdl25mixer7Channel13fade_in_timed17h175b9c40e44acd05E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_Pause referenced in function _ZN4sdl25mixer7Channel5pause17h6f79621a5e9494bdE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_Resume referenced in function _ZN4sdl25mixer7Channel6resume17h5bef5a7bcef736a0E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_HaltChannel referenced in function _ZN4sdl25mixer7Channel4halt17h602636ae2054eb62E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_ExpireChannel referenced in function _ZN4sdl25mixer7Channel6expire17h069ecb6e0ee30040E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_FadeOutChannel referenced in function _ZN4sdl25mixer7Channel8fade_out17hc0d68ea08aa593b4E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_Playing 
referenced in function _ZN4sdl25mixer7Channel10is_playing17h5cd3d6976cbe073cE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_Paused referenced in function _ZN4sdl25mixer7Channel9is_paused17hc8a9c8a5acf0117fE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_FadingChannel referenced in function _ZN4sdl25mixer7Channel10get_fading17h0d594ea8d3c88902E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_GetChunk referenced in function _ZN4sdl25mixer7Channel9get_chunk17h2ec2fff33dd0435cE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_UnregisterAllEffects referenced in function _ZN4sdl25mixer7Channel22unregister_all_effects17hf21e643f39abedfaE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_SetPanning referenced in function _ZN4sdl25mixer7Channel11set_panning17h30f25271620f7ba8E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_SetDistance referenced in function _ZN4sdl25mixer7Channel12set_distance17hcc19a43e88f14672E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_SetPosition referenced in function _ZN4sdl25mixer7Channel12set_position17h272fd75a8e243392E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_SetReverseStereo referenced in function _ZN4sdl25mixer7Channel18set_reverse_stereo17he8267bb349543dceE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_ReserveChannels referenced in function _ZN4sdl25mixer16reserve_channels17hb23d771244cc3c4dE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_GroupChannels referenced in function _ZN4sdl25mixer5Group18add_channels_range17h4b6eed7f46773875E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_GroupChannel referenced in function _ZN4sdl25mixer5Group11add_channel17h2b58dfef42399c73E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_GroupCount referenced in function _ZN4sdl25mixer5Group5count17hb91622eb05dcd967E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_GroupAvailable referenced in function _ZN4sdl25mixer5Group14find_available17hf58009b706eb54e0E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_GroupOldest referenced in function _ZN4sdl25mixer5Group11find_oldest17h5dd12268ba0203a2E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_GroupNewer referenced in function _ZN4sdl25mixer5Group11find_newest17h495c57f0a66d1763E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_FadeOutGroup referenced in function _ZN4sdl25mixer5Group8fade_out17h95e910b077a751f7E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_HaltGroup referenced in function _ZN4sdl25mixer5Group4halt17h013227ef3ff33686E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_GetNumMusicDecoders referenced in function _ZN4sdl25mixer25get_music_decoders_number17h0515818e1f840f09E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_GetMusicDecoder referenced in function _ZN4sdl25mixer17get_music_decoder17hbec468b4e3cd3a09E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_FreeMusic referenced in function _ZN60_$LT$sdl2..mixer..Music$u20$as$u20$core..ops..drop..Drop$GT$4drop17h7276f03fa3bdc994E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_GetMusicType referenced in function _ZN4sdl25mixer5Music8get_type17h8dc4f1f92642e33cE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_PlayMusic referenced in function _ZN4sdl25mixer5Music4play17h4781411c0b889d43E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_FadeInMusic referenced in function _ZN4sdl25mixer5Music7fade_in17h9cbf83e51a5f41ceE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_FadeInMusicPos referenced in function _ZN4sdl25mixer5Music16fade_in_from_pos17ha853faedc4732e62E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_VolumeMusic referenced in function _ZN4sdl25mixer5Music10get_volume17h9186a4b6449adf8dE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_PauseMusic referenced in function _ZN4sdl25mixer5Music5pause17h7ef400b9d24c9346E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_ResumeMusic referenced in function _ZN4sdl25mixer5Music6resume17h457a7e96e097d72fE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_RewindMusic referenced in function _ZN4sdl25mixer5Music6rewind17hb85ecd87b1c4e60fE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_SetMusicPosition referenced in function _ZN4sdl25mixer5Music7set_pos17h98197b52954d675eE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_SetMusicCMD referenced in function _ZN4sdl25mixer5Music11set_command17hfc0c2f21fc050815E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_HaltMusic referenced in function _ZN4sdl25mixer5Music4halt17hfa34da3a709fe468E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_FadeOutMusic referenced in function _ZN4sdl25mixer5Music8fade_out17h7eb71a2676589d0dE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_HookMusicFinished referenced in function _ZN4sdl25mixer5Music13hook_finished17h0e3a289124f4d6b1E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_PlayingMusic referenced in function _ZN4sdl25mixer5Music10is_playing17hfb2b5e59735d867dE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_PausedMusic referenced in function _ZN4sdl25mixer5Music9is_paused17hb05c0145d0962887E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.2.rcgu.o) : error LNK2019: unresolved external symbol Mix_FadingMusic referenced in function _ZN4sdl25mixer5Music10get_fading17h0e7ed43321851ea1E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.10.rcgu.o) : error LNK2019: unresolved external symbol TTF_Quit referenced in function _ZN76_$LT$sdl2..ttf..context..Sdl2TtfContext$u20$as$u20$core..ops..drop..Drop$GT$4drop17h3653869d0de9d817E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.10.rcgu.o) : error LNK2019: unresolved external symbol TTF_OpenFontRW referenced in function _ZN4sdl23ttf7context14Sdl2TtfContext20load_font_from_rwops17h58c689d6533fc6c0E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.10.rcgu.o) : error LNK2019: unresolved external symbol TTF_OpenFontIndexRW referenced in function _ZN4sdl23ttf7context14Sdl2TtfContext29load_font_at_index_from_rwops17hd7e20779ae080debE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.10.rcgu.o) : error LNK2019: unresolved external symbol TTF_Linked_Version referenced in function _ZN4sdl23ttf7context18get_linked_version17h990a4309e8144682E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.10.rcgu.o) : error LNK2019: unresolved external symbol TTF_WasInit referenced in function _ZN4sdl23ttf7context4init17h853cb66514bd3c2dE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2001: unresolved external symbol TTF_WasInit 
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.10.rcgu.o) : error LNK2019: unresolved external symbol TTF_Init referenced in function _ZN4sdl23ttf7context4init17h853cb66514bd3c2dE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.5.rcgu.o) : error LNK2019: unresolved external symbol zoomSurfaceSize referenced in function _ZN4sdl23gfx8rotozoom13get_zoom_size17heaf6b4892d70a3c0E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.5.rcgu.o) : error LNK2019: unresolved external symbol rotozoomSurfaceSize referenced in function _ZN4sdl23gfx8rotozoom17get_rotozoom_size17h1cacd2c16d9b65eeE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.5.rcgu.o) : error LNK2019: unresolved external symbol rotozoomSurfaceSizeXY referenced in function _ZN4sdl23gfx8rotozoom20get_rotozoom_xy_size17h0b9946a3b9fe320fE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.12.rcgu.o) : error LNK2019: unresolved external symbol gfxPrimitivesSetFontRotation referenced in function _ZN4sdl23gfx10primitives17set_font_rotation17he2eb2bd889956bf4E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.12.rcgu.o) : error LNK2019: unresolved external symbol SDL_initFramerate referenced in function _ZN4sdl23gfx9framerate10FPSManager3new17h7a2337c76132a855E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.12.rcgu.o) : error LNK2019: unresolved external symbol SDL_setFramerate referenced in function _ZN4sdl23gfx9framerate10FPSManager13set_framerate17h6a2e5ec8aa91c400E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.12.rcgu.o) : error LNK2019: unresolved external symbol SDL_getFramerate referenced in function _ZN4sdl23gfx9framerate10FPSManager13get_framerate17h437ff4dc08b66a01E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.12.rcgu.o) : error LNK2019: unresolved external symbol SDL_getFramecount referenced in function _ZN4sdl23gfx9framerate10FPSManager15get_frame_count17h0bbb3f9d6f147d9dE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.12.rcgu.o) : error LNK2019: unresolved external symbol SDL_framerateDelay referenced in function _ZN4sdl23gfx9framerate10FPSManager5delay17h8e99c2c3ed569a84E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.11.rcgu.o) : error LNK2019: unresolved external symbol IMG_Quit referenced in function _ZN71_$LT$sdl2..image..Sdl2ImageContext$u20$as$u20$core..ops..drop..Drop$GT$4drop17h89d9e027c5cb1281E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.11.rcgu.o) : error LNK2019: unresolved external symbol IMG_Init referenced in function _ZN4sdl25image4init17h6ebda71c6bcf0933E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.11.rcgu.o) : error LNK2019: unresolved external symbol IMG_Linked_Version referenced in function _ZN4sdl25image18get_linked_version17h15efb49b357e8c4bE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.15.rcgu.o) : error LNK2019: unresolved external symbol IMG_ReadXPMFromArray referenced in function _ZN67_$LT$sdl2..surface..Surface$u20$as$u20$sdl2..image..LoadSurface$GT$14from_xpm_array17h1b5f239fe4fc00e9E     
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.15.rcgu.o) : error LNK2019: unresolved external symbol IMG_SavePNG_RW referenced in function _ZN67_$LT$sdl2..surface..Surface$u20$as$u20$sdl2..image..SaveSurface$GT$7save_rw17hf135fe98ffacd1b6E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.15.rcgu.o) : error LNK2019: unresolved external symbol rotozoomSurface referenced in function _ZN79_$LT$sdl2..surface..Surface$u20$as$u20$sdl2..gfx..rotozoom..RotozoomSurface$GT$8rotozoom17h85269a5049eb6edcE     
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.15.rcgu.o) : error LNK2019: unresolved external symbol rotozoomSurfaceXY referenced in function _ZN79_$LT$sdl2..surface..Surface$u20$as$u20$sdl2..gfx..rotozoom..RotozoomSurface$GT$11rotozoom_xy17hed46c8d7b2e94935E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.15.rcgu.o) : error LNK2019: unresolved external symbol zoomSurface referenced in function _ZN79_$LT$sdl2..surface..Surface$u20$as$u20$sdl2..gfx..rotozoom..RotozoomSurface$GT$4zoom17h43cc3542243e456bE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.15.rcgu.o) : error LNK2019: unresolved external symbol shrinkSurface referenced in function _ZN79_$LT$sdl2..surface..Surface$u20$as$u20$sdl2..gfx..rotozoom..RotozoomSurface$GT$6shrink17h420375cb5ccb1897E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.15.rcgu.o) : error LNK2019: unresolved external symbol rotateSurface90Degrees referenced in function _ZN79_$LT$sdl2..surface..Surface$u20$as$u20$sdl2..gfx..rotozoom..RotozoomSurface$GT$12rotate_90deg17hdc4aa90b4097cb11E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_CloseFont referenced in function _ZN63_$LT$sdl2..ttf..font..Font$u20$as$u20$core..ops..drop..Drop$GT$4drop17h9e1e422c408e5606E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_SizeUTF8 referenced in function _ZN4sdl23ttf4font4Font7size_of17h36760f50f6830afeE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_SizeText referenced in function _ZN4sdl23ttf4font4Font14size_of_latin117hfffdbbf2ce8f8899E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_GetFontStyle referenced in function _ZN4sdl23ttf4font4Font9get_style17h4c5c7f3d01d621a5E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_SetFontStyle referenced in function _ZN4sdl23ttf4font4Font9set_style17hf12d39f0256bdb48E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_GetFontOutline referenced in function _ZN4sdl23ttf4font4Font17get_outline_width17h2ab93c99e3e71454E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_SetFontOutline referenced in function _ZN4sdl23ttf4font4Font17set_outline_width17h71e4f50ce6303438E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_GetFontHinting referenced in function _ZN4sdl23ttf4font4Font11get_hinting17h3e5d79cd822281e0E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_SetFontHinting referenced in function _ZN4sdl23ttf4font4Font11set_hinting17h75c5e05757947c81E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_GetFontKerning referenced in function _ZN4sdl23ttf4font4Font11get_kerning17hce501edf9cdd974aE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_SetFontKerning referenced in function _ZN4sdl23ttf4font4Font11set_kerning17h2aad4d5eac254624E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_FontHeight referenced in function _ZN4sdl23ttf4font4Font6height17h93d885fbf10dc136E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_FontAscent referenced in function _ZN4sdl23ttf4font4Font6ascent17hbcea08fcda1a3510E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_FontDescent referenced in function _ZN4sdl23ttf4font4Font7descent17h82e06c9755188e8dE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_FontLineSkip referenced in function _ZN4sdl23ttf4font4Font24recommended_line_spacing17hab371ef3ff462c9cE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_FontFaces referenced in function _ZN4sdl23ttf4font4Font10face_count17h4c1480beda3824e0E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_FontFaceIsFixedWidth referenced in function _ZN4sdl23ttf4font4Font19face_is_fixed_width17he88dec533dc7f1beE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_FontFaceFamilyName referenced in function _ZN4sdl23ttf4font4Font16face_family_name17haf3f0ce864c4dbe4E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_FontFaceStyleName referenced in function _ZN4sdl23ttf4font4Font15face_style_name17h79171f41bddcd704E
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_GlyphIsProvided referenced in function _ZN4sdl23ttf4font4Font10find_glyph17ha3fad166d52fbd2cE
          libsdl2-aeae7773eaa0c08b.rlib(sdl2-aeae7773eaa0c08b.sdl2.axn0yhs1-cgu.8.rcgu.o) : error LNK2019: unresolved external symbol TTF_GlyphMetrics referenced in function _ZN4sdl23ttf4font4Font18find_glyph_metrics17h7a033ecc28ddbc05E
          C:\Users\DuckerMan\Desktop\RUST\xout\target\debug\deps\xout.exe : fatal error LNK1120: 166 unresolved externals
DavidMazarro commented 3 years ago

Having exactly the same issue as @daemonjax, with the same exact unresolved external symbols: Mix_LoadWAV_RW and Mix_LoadMUS_RW, tested both with MinGW and MSVC.

austinclem1 commented 3 years ago

Having the same issue, but it seems to affect every mixer function as well as ttf. This stackoverflow post (not using rust) says they had some issue that was related to the order in which libraries were linked, maybe that's related. I'm gonna see if I can manually specify the order.

austinclem1 commented 3 years ago

Well I'm in way over my head really, but for what it's worth I actually had luck statically linking SDL2 and mixer and ttf by using the vcpkg instructions in the readme labeled "Windows, Linux and macOS with vcpkg". So side-note: I'm happy as a clam now, especially being able to embed my simple little graphics, fonts, and audio clips straight into the exe with include_bytes! macro and using the related rwops functions in this crate to load them.