[SOLVED]Can't Build Release on Imported BB Project

BlitzMax Forums/BlitzMax Programming/[SOLVED]Can't Build Release on Imported BB Project

RustyKristi(Posted 2016) [#1]
Hi, I'm trying to convert a bb to max project using MaxIDE's built in Import BB tool. I have been able to build it and run in debug mode but not in release mode.

After importing, it created these 2 include files

bbtypes.bmx
bbvkey.bmx

and it's throwing these errors:

myapp.bmx.gui.release.win32.x86.o:(code+0x6d): undefined reference to `__bb_myapp_bbtype'

myapp.bmx.gui.release.win32.x86.o:(code+0x72): undefined reference to `__bb_myapp_bbvkey'


I tried both Console and GUI build if it makes any difference. Any ideas?

EDIT: Forgot to delete old files in .bmx folder.. works ok now