To build a sample and run it,
I have to find the "missing" above-named DLL then bring it into the directory for the project or sample that I want to build
or else - even in the case of a sample - it will not run the 2nd time. The built sample does run the first time after the build.
If I re build it it will also run once.

I am using 32 bit HMG 3.4.3 on a 64 bit Windows 10 OS.

Is there a way to fix this so that HMG sees the DLL which is really not missing.

I am sorry to take your time but I cannot locate the place to change in my HMG.3.4.3 direectory Build.bat file . Here it is
Can you please point out where I must change the file to insert
-ldflag="-pthread -static-libgcc -static-libstdc++ -static -lpthread"

rem ******************************************************************************
rem SET HMGPATH
rem ******************************************************************************
rem
rem Using %~dp0 the HMGPATH is automatically set to current (HMG) folder making it
rem portable (zero config)

rem ******************************************************************************
rem ViewError - To work with it, must be found in your Operating environment
rem ******************************************************************************
if not [%ViewError%]==[] if not exist %ViewError%\ViewError.exe SET ViewError=

rem ******************************************************************************
rem Attempt to delete EXE and report if it been executed
rem ******************************************************************************

rem *******************************************************************************
rem SET PROJECT OUTPUT FILE NAME
rem *******************************************************************************
rem
rem The first parameter sent to hbmk2 is -o%~n1.exe. I've added to it create the
rem application with the project basename (<projectname.hbp> specified by the user.

rem *******************************************************************************
rem SET DEFAULT CONFIGURATION FILE
rem *******************************************************************************
rem
rem The second parameter sent to hbmk2 is the hmg.hbc script to set config required.