MaxIDE stopped working

BlitzMax Forums/BlitzMax Beginners Area/MaxIDE stopped working

tobykurk(Posted 2015) [#1]
Suddenly MaxIDE crashes on loading... Windows 8.1

A window appears saying "MaxIDE.exe has stopped working."

Is it just me?
Don't know what to try.
Any suggestions?


tobykurk(Posted 2015) [#2]
New install has same problem.


Hotshot2005(Posted 2015) [#3]
BlitzMax work fine on Win 8.1 64bit :)

have you installed it properly?


Xerra(Posted 2015) [#4]
Uninstall and delete the original folder before attempting to reinstall may help with this. Something is obviously causing a conflict.


Floyd(Posted 2015) [#5]
Any suggestions?

Reboot. You never know, it might help.


Matty(Posted 2015) [#6]
@Floyd - your comment reminded me instantly of "have you tried turning it off and on again" ;-)


skidracer(Posted 2015) [#7]
This has happened to me in the past. Try and delete or rename the BlitzMax/cfg/ide.ini file.


tobykurk(Posted 2015) [#8]
Thanks for the suggestions.

I resorted to fresh OS install, and MaxIDE works fine now...

except, after installing MinGW and doing
"Rebuild All Modules" now no programs will run (compile) at all!
Same issue with any program.

Help please!

>

Building applyforce
Compiling:render.bmx
flat assembler version 1.69.14 (1048575 kilobytes memory)
3 passes, 5474 bytes.
Compiling:test.bmx
flat assembler version 1.69.14 (1048575 kilobytes memory)
3 passes, 17851 bytes.
Compiling:applyforce.bmx
flat assembler version 1.69.14 (1048575 kilobytes memory)
3 passes, 5033 bytes.
Linking:applyforce.exe
C:/BlitzMax/mod/pub.mod/stdc.mod/stdc.release.win32.x86.a(stdc.c.release.win32.x86.o):stdc.c:(.text+0x485): undefined reference to `__mingw__wreaddir'
C:/BlitzMax/mod/pub.mod/stdc.mod/stdc.release.win32.x86.a(stdc.c.release.win32.x86.o):stdc.c:(.text+0x4a1): undefined reference to `__mingw_readdir'
C:/BlitzMax/mod/pub.mod/stdc.mod/stdc.release.win32.x86.a(stdc.c.release.win32.x86.o):stdc.c:(.text+0x431): undefined reference to `__mingw_opendir'
C:/BlitzMax/mod/pub.mod/stdc.mod/stdc.release.win32.x86.a(stdc.c.release.win32.x86.o):stdc.c:(.text+0x442): undefined reference to `__mingw__wopendir'
C:/BlitzMax/mod/pub.mod/stdc.mod/stdc.release.win32.x86.a(stdc.c.release.win32.x86.o):stdc.c:(.text+0x463): undefined reference to `__mingw_closedir'
C:/BlitzMax/mod/pub.mod/stdc.mod/stdc.release.win32.x86.a(stdc.c.release.win32.x86.o):stdc.c:(.text+0x468): undefined reference to `__mingw__wclosedir'
Build Error: Failed to link C:/Users/ciranjiiva/Documents/BlitzMAX civE/b2d/examples/applyforce.exe
Process complete


Brucey(Posted 2015) [#9]
You probably want to install an older version of MinGW. What did you use?


AdamStrange(Posted 2015) [#10]
I have exactly the same problem.
what version do we need and where to download it?


tobykurk(Posted 2015) [#11]
Thank you for your swift reply.
:D

MinGW version 4.8.1 (latest)


Brucey(Posted 2015) [#12]
what version do we need and where to download it?

Probably GCC 4.5 ?
There a link to tdm-gcc-4.5.2.exe here : http://sourceforge.net/projects/tdm-gcc/files/TDM-GCC%20Installer/Previous/1.1006.0/


The later versions of MinGW require a different order of linkage, something that the official bmk does not fix.


Derron(Posted 2015) [#13]
Alternatively you might try bruceys adjusted bmk ... Should be available somewhere in the forums. Maybe Brucey can clarify things.


bye
Ron


tobykurk(Posted 2015) [#14]
Daiseikou! :D

All good now.
Brucey's suggestion to use tdm-gcc-4.5.2
Thanks.


grable(Posted 2015) [#15]
If your going to use an updated MinGW you allso need to copy over various library files and some binutils executables into blitzmax (the same ones that are already present).

Otherwise you will have version mismatches.. Oh, and if your using tdm-gcc 4.8.1 or above, you allso need to add -lpthread to the gcc commandline used in bmk.
(in file bmk_util.bmx in function LinkApp() around line 337)