So it was during a package installation so try to redo this step where it happened.
If you don't remember exactly, you can redo a few steps.
I use MSYS2 MSYS when I want to manage the MSYS2 installation (mainly through use of pacman). be careful to choose the 32 bit or 64 bit package when you install a new package.
To build W64 RT package, use exclusively MINGW64,
To build W32 RT package, use exclusively MINGW32,
as they define build environment.
If you want to make a build, you have a few steps
- MAKE install : it installs RT in the choosen install directory
- copy of dependencies in the install directory
- then you have to copy lib/gtk2 in the install directory, and perhaps gdb for debug build
so $destination is the path to you install directory
You can do that for the existing (wrong) build.
If you reinstall allways in the same install directory you have to copy once the dependencies and the lib/gtk2.
If you erase the install dir or install in other install dir, sure you have to copy again dependencies and the lib/gtk2.