File format not recognized

BlitzMax Forums/BlitzMax Beginners Area/File format not recognized

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Using Blitzmax 1.10 on Win XP pro, modules synced.

Each time I save a .bmx file and try to compile it I get:

C:/Program Files/BlitzMax/tmp/ld.tmp: file not recognized: File format not recognized

If I create a new .bmx without saving it to disk first, it compiles fine. Save it to disk, that error occurs on each compile.

If I save the .bmx in
C:/Program Files/BlitzMax/tmp
it compiles fine, no error.

If I save it anywhere else, the error occurs. Why?