What Just happened?
BlitzMax Forums/BlitzMax Beginners Area/What Just happened?
| ||
Working away, then it was working i made a spelling change and now i cannot compile! and now "Build Error: failed to compile D:/Work/Games/bomb-job.bbmax/Bomb_Job.bmx" is all i get, rebooted, reinstalled blitzmax, and NOTHING! even tried doing a simple "hello world" and boom, nothing |
| ||
Funny, precisely the same thing happened to me only a few days ago. What I did, was accidentally hit Compile in BLIde with one of the Max2D modules open, and it compiled that instead. After that, it just wouldn't play ball any more. Sorted by uninstalling BlitzMax, manually deleting the Blitzmax folder residue, then reinstalling. |
| ||
thats what i just did, im even planning on reinstalling windows! even checkedout my path evniroment... :( |
| ||
i am a BLIDE user and never had a problem... |
| ||
did you update Blide by any chance? |
| ||
Hiya, Building a module may or may not successfully build an exe. If it does succeed then the intermediate files will be incorrect and any code that wants to use that module wont compile again. You can either pointlessly edit ( put a space and delete it again ) the module file that fails, so that a change is registered when you save it, which will force a rebuild of that module when you 'Build Modules'. Alternatively you can go into the offending .mod folder and delete all .a .i intermediate files and also delete the .bmx folder, then Build Modules to rebuild it. Failing that, delete the BlitzMax folder as GfK suggests. If that fails then its in your source. EDIT:- Just noticed youre using BLide, it has just had updates. Last edited 2012 |
| ||
is all i get, rebooted, reinstalled blitzmax, and NOTHING! even tried doing a simple "hello world" and boom, nothing sadly i've already done it, im going Linux at this rate! or maybe, higher power prevernting me coding this game, since coding this game everything seems to have gotten in the way a series of pretty bad luck |
| ||
Reinstalling without manually deleting the actual folder does leave files behind that could cause problems. If you've deleted it completely then thats obviously not the problem. Have you tried a simple HelloWorld using the standard IDE to rule out the any thing to do with BLide? |
| ||
@Neochrome Try using the Edit button on the top right side of your posts. ;) reinstalling windows! dont do that. just delete the entire BlitzMax folder under 'C:\Program Files\BlitzMax' and reinstall. Last edited 2012 |
| ||
Actually Im sorry Gentlemen/Ladies... I've been feeling a little sorry for my self and got VERY frustrated... the way i had to do it was "uninstalled blide" "uninstall blide update sp1" "uninstall blitzmax" and then reinstalled these on another drive all together my drive D: seems ok now. but before, even the simple "Hello World" didn't work. in blide OR in BlitzMax IDE... it was TOOO wierd! (noted for EDIT function... forgot it was there) |
| ||
I've had something like this when playing around with dx modules in the past, I fixed by rebuilding all the modules. |
| ||
just remove the .bmx-directories (marked as hidden in windows, hidden by "."-naming in linux/mac). They contain the compiled .a/... files - like mentioned before they could be differing if a module is build as .exe. It is nearly impossible that a wrong compilation of a file makes compiling itself impossible: exception is a file which replaces the compiler files after compilation/linking (bmk, or the gcc/mingw/flat assembler...). bye Ron |
| ||
I *think^* this can happen when you have some modules built with some MinGW distributions and some other with another non compatible version. If that ever happens again, try rebuilding all modules both in threaded an unthreaded mode, and see if it changes anything |
| ||
This happens to me a lot, especially when I'm hasty and try to compile a second time when it's not finished the first. I open the task manager, find the process for the compiled program, and end it. It compiles fine after that. Last edited 2012 |
| ||
it was odd tho as i even rebooted the machien and still id didn't do anything. |