Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zeozeozeo opened this issue Oct 12, 2023 · 2 comments
Open

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

zeozeozeo opened this issue Oct 12, 2023 · 2 comments

Comments

@zeozeozeo
Copy link

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?

@Barugon
Copy link
Owner

Barugon commented Oct 13, 2023

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

@Barugon
Copy link
Owner

Barugon commented Oct 13, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants