Mac OS Assembler errors

Mac OSX specific forum
cyberseth
New User
New User
Posts: 4
Joined: Sat Oct 11, 2003 8:30 am
Location: Doncaster, UK
Contact:

Mac OS Assembler errors

Post by cyberseth »

Hi there, I've written a little Windows Desktop game of Yahtzee. Nothing fancy, no special gadgets, just an ImageGadget on a Window with a menu-bar, redrawing the ImageGadget to update the game and register mouse-clicks for rolling the dice etc etc.

Anyway it works fine on Windows. But when I compiled it on my Mac (OS X, standard PowerPC), and after commenting out any API commands like EnableWindow_(hwnd) I just get an error message when compiling that says:

Error: Assembler
4:Parameter syntax error (parameter 1)
purebasic.asm:4218:Paramater syntax error (parameter 1)
purebasic.asm:4222:Paramater syntax error (parameter 1)
purebasic.asm:4226:Paramater syntax error (parameter 1)
purebasic.asm:4231:Paramater syntax error (parameter 1)
purebasic.asm:4246:Paramater syntax error (parameter 1)
purebasic.asm:4250:Paramater syntax error (parameter 1)
purebasic.asm:4294:Paramater syntax error (parameter 1)
purebasic.asm:4298:Paramater syntax error (parameter 1)
purebasic.asm:4302:Paramater syntax error (parameter 1)

The developer tools are installed, and the PureBasic examples work, but not this program I've written. Any thoughts?

By the way, does PureBasic have a built-in command that disables windows? I need it for when I am opening up a child window as a Dialog box, and I'd like it to be compatible on both Windows and Mac.
User avatar
LESTROSO
Enthusiast
Enthusiast
Posts: 124
Joined: Thu Nov 03, 2005 12:30 pm
Location: Italy
Contact:

Post by LESTROSO »

Try to re-install the Apple Developer-tools package........ :D Try.....and also try to reinstall a fresh copy of purebasic(not so stable)......
Post Reply