egui_file icon indicating copy to clipboard operation
egui_file copied to clipboard

Failed to build with nightly-i686-pc-windows-msvc toolchain

Open zeozeozeo opened this issue 1 year ago • 2 comments

When trying to build egui_file with the nightly-i686-pc-windows-msvc toolchain (MSVC 2019), the following error occurs:

libegui_file-ccc8a9d6339a0995.rlib(egui_file-ccc8a9d6339a0995.egui_file.f61f70b0cdbcdb8f-cgu.01.rcgu.o) : error LNK2019: unresolved external symbol _GetLogicalDrives referenced in function __ZN9egui_file10FileDialog7refresh17h1b308e2cd1518bc2E

Could this be an issue on all MSVC toolchains?

zeozeozeo avatar Oct 12 '23 17:10 zeozeozeo

Hmm... you might need to explicitly link to Kernel32.lib. Have you tried a toolchain other than nightly?

Barugon avatar Oct 13 '23 06:10 Barugon

The only Windows toolchain that I have used is x86_64-pc-windows-gnu.

Barugon avatar Oct 13 '23 06:10 Barugon