Compiler Error in Debug mode!
BlitzMax Forums/BlitzMax Programming/Compiler Error in Debug mode!
| ||
Help! This morning I got this error when compiling in Debug mode:Building X Compiling:X.bmx flat assembler version 1.66 4 passes, 0.5 seconds, 1340733 bytes. Linking:X.debug.exe C:/BlitzMax/mod/pub.mod/win32.mod/win32.debug.win32.x86.a(kernel32.bmx.debug.win32.x86.o)(code+0x3c): undefined reference to `bbOnDebuoLeaveScope' Build Error: Failed to link C:/BlitzMax/Jake/X/X.debug.exe Process complete The only odd thing I can see is "bbOnDebuoLeaveScope" looks like it should say Debug not Debuo, but I haven' really got a clue about this. I'm using 1.22 (but haven't done a sync mods since). The weird thing is it just broke and I hadn't even made any changes! I was actually creating and testing levels and I just hit F5 like normal and this came up. I'd compiled normally a few minnutes before. It works with debug mode turned off btw. Any ideas? Thanks in advance. |
| ||
Turn off Quick build? |
| ||
thanks but it is off. |
| ||
Why don't you rebuild all your modules? (Just to ensure it is not being caused by a corrupted object file) |
| ||
try deleting the "BMX" folder from your source folder, that caused me problems before even with quick build off I think! X.. hmm.. are you 8.33% of your way through "Xmas Bonus 2"? |
| ||
I would bet that the function it wanted to call is OnDebugLeaveScope Try to resync. One potential problem that can come up is just fragmentation ... which either can be solved by syncing or if that does not help, use defrag (and scandisc eventually) |
| ||
Thanks I'll try a rebuit and failing that, a resync. Cyg. Haha well spotted, actually I hid my current game's name. XB2 is still at the planning stage but with 2 artists and a musician on board. |
| ||
Today it compiles in debug mode and I didn't resync or rebuild, weird. |