My MaxGui app compiles and runs fine in debug mode with "Framework BRL.MaxGui"in the main.bmx file header.
If I delete .bmx folder turn off quick build and debug build to build in release mode the app compiles with no errors. Only it fails on init when trying to invoke:
LoadImage(s_filename)
Note the code hasn't changed at all from the debug version so the file paths etc should be fine. I tried Importing BRL.Max2d in the texture loader (where LoadImage) lives, but the error still occurs.
If I comment out Framework BRL.MaxGui in the main.bmx file and build in release mode the app compiles and runs correctly.
Which leaves me scratching my head and looking vacantly about for answers. Suggestions anyone?
Thanks!
David
Max 1.26, OS X 10.4.1 Intel.
If I delete .bmx folder turn off quick build and debug build to build in release mode the app compiles with no errors. Only it fails on init when trying to invoke:
LoadImage(s_filename)
Note the code hasn't changed at all from the debug version so the file paths etc should be fine. I tried Importing BRL.Max2d in the texture loader (where LoadImage) lives, but the error still occurs.
If I comment out Framework BRL.MaxGui in the main.bmx file and build in release mode the app compiles and runs correctly.
Which leaves me scratching my head and looking vacantly about for answers. Suggestions anyone?
Thanks!
David
Max 1.26, OS X 10.4.1 Intel.