Hi Ben, On 12/04/2020 21:54, Ben Clapp wrote: > Hi all, I have a 3D program using SDL2 and Vulkan that I've developed > on Linux, but also cross-compile for Windows. I have cross-compiled > the application and run the application on Windows in the past > without issue.> > Recently, however, I get the following error when running the > application on Windows: > "The procedure entry point CloseHandle could not be located in the > dynamic link library [name_of_program].exe" That's weird. As you've correctly indicated later, CloseHandle() should be resolved to a KERNEL32.DLL reference, and not to your executable. > [...snip...] > > Can someone give some insight as to what exactly is going on here, and > what steps can be taken to troubleshoot and resolve the issue? You don't really provide enough detail, for anyone to do that. You have indicated that you are using Debian's pre-packaged cross-compiler tools, which we do not formally support. I too cross-compile all of my MinGW code, in my case on Arch-based Manjaro Linux, but using my own build of mingw32-gcc, rather than the Arch-packaged offering. I suspect, as you have indicated that you do, that Debian may have messed up their latest cross-compiler package, but right now, that's pure speculation. If you reduce your issue to a SSCCE, I would be willing to check if it can be successfully built with my mingw32-gcc tools. -- Regards, Keith. Public key available from keys.gnupg.net Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: OpenPGP digital signature URL: <https://lists.osdn.me/mailman/archives/mingw-users/attachments/20200413/a6685416/attachment-0001.sig>