bmx-ng dependancy error 64 bit standalone

BlitzMax Forums/Brucey's Modules/bmx-ng dependancy error 64 bit standalone

braxton(Posted 2016) [#1]
Hi Brucey,

Using Windows 10 and the latest bmx-ng from git, the following small sample is runnable within the ide and also standalone in 32 bit.

However in 64 bit it is only runnable from within the ide, and when run standalone throws a dependency error: 'The program can't start because libstdc++_64-6.dll is missing from your computer.'

I also noticed that it happens when I try to build and then run maxide, the strange thing is it used to work standalone, and all modules have been compiled/compiling successfully without error from source, and I am using the latest git updates.

The 0.71 version from bmx-ng.com works so I am trying to figure out what could possibly be different and causing the dependency in 64 bit standalone, as they are both using the same MinGW from c:\TDM-GCC-64_5.1.0-2.

Thanks in advance

SuperStrict

Framework maxgui.drivers
Import brl.system

Notify "The End."


Brucey(Posted 2016) [#2]
A quick fix for this is to remove all files ending with ".dll.a" in your MinGW32 folder, and then rebuild your application. It will then link to the correct .a files without dependencies on those DLLs.