I'm using MinGW on Windows and getting 'linker link.exe not found'. What's wrong?

Question

Grade: Education Subject: Support
I'm using MinGW on Windows and getting 'linker link.exe not found'. What's wrong?
Asked by:
81 Viewed 81 Answers

Answer (81)

Best Answer
(459)
If you are using MinGW, the linker is typically named 'ld.exe' (GNU linker) or 'gcc.exe' (which invokes the linker). The error message 'linker link.exe not found' suggests you might be using a build system or command that's expecting the Microsoft linker. Ensure your build environment is configured for MinGW. If you're explicitly trying to use 'link.exe' with MinGW, you'll need to install MSVC or adjust your build commands to use the correct MinGW linker.