__MingW errors on compile

BlitzMax Forums/BlitzMax Programming/__MingW errors on compile

*(Posted 2015) [#1]
Having gone through all the forum posts and installing the MingW path and setting up the environment variable like we used to I'm getting loads of __MingW errors when compiling now.

Anyone found a fix for these things?


Brucey(Posted 2015) [#2]
Can you list some specific error messages please? :-)


Henri(Posted 2015) [#3]
Hi,

if it helps any here is what I went through just recently.

MinGW setup procedure.

-Henri


*(Posted 2015) [#4]
heres what I get compiling everything:
Building Star_Rogue
Compiling:Framework.bmx
flat assembler  version 1.69.14  (1728947 kilobytes memory)
4 passes, 9931 bytes.
Compiling:Star_Rogue_Globals.bmx
flat assembler  version 1.69.14  (1728731 kilobytes memory)
3 passes, 2391 bytes.
Compiling:Star_Rogue.bmx
flat assembler  version 1.69.14  (1728981 kilobytes memory)
3 passes, 14120 bytes.
Linking:Star_Rogue.debug.exe
C:/BlitzMax/mod/pub.mod/stdc.mod/stdc.debug.win32.x86.a(stdc.c.debug.win32.x86.o):stdc.c:(.text+0x3a9): undefined reference to `__mingw__wopendir'
C:/BlitzMax/mod/pub.mod/stdc.mod/stdc.debug.win32.x86.a(stdc.c.debug.win32.x86.o):stdc.c:(.text+0x3c4): undefined reference to `__mingw_opendir'
C:/BlitzMax/mod/pub.mod/stdc.mod/stdc.debug.win32.x86.a(stdc.c.debug.win32.x86.o):stdc.c:(.text+0x3e6): undefined reference to `__mingw__wclosedir'
C:/BlitzMax/mod/pub.mod/stdc.mod/stdc.debug.win32.x86.a(stdc.c.debug.win32.x86.o):stdc.c:(.text+0x3f9): undefined reference to `__mingw_closedir'
C:/BlitzMax/mod/pub.mod/stdc.mod/stdc.debug.win32.x86.a(stdc.c.debug.win32.x86.o):stdc.c:(.text+0x41b): undefined reference to `__mingw__wreaddir'
C:/BlitzMax/mod/pub.mod/stdc.mod/stdc.debug.win32.x86.a(stdc.c.debug.win32.x86.o):stdc.c:(.text+0x44c): undefined reference to `__mingw_readdir'
Build Error: Failed to link C:/Users/EdzUp/Desktop/SRMax/Star_Rogue.debug.exe
Process complete



*(Posted 2015) [#5]
It seems Brucey's pub and brl mods fixed it, maybe mark should give ya BlitzMax after all its mostly your work now ;)