Failed to Assemble Error

BlitzMax Forums/BlitzMax Programming/Failed to Assemble Error

bookworm99(Posted 2008) [#1]
Hi all,

I just installed BlitzMax for OS X (I'm using Leopard, v.10.5.1 - will update soon). I got an error when I tried to compile the first time, saying it couldn't find something along the lines of "blitz.brl", so I updated it to the latest version, and got an error which a search on here told me I needed to update to XCode 2.5 to fix.

I've done so, and am now recieving a completely different error. I've tried enabling and disabling Quick Build, Debug, and GUI in the build options to no avail - and my program is just this:
Print "Hello World!" 


Here's the exact error:
Building untitled2
Compiling:untitled2.bmx
sh: as: command not found
Build Error: Failed to assemble /Applications/BlitzMax/tmp/.bmx/untitled2.bmx.gui.debug.macos.x86.s
Process complete



grable(Posted 2008) [#2]
It seems its missing AS, which i assumed came with XCode.
Perhaps XCode is broken or not properly configured?

To test for this open a terminal window and try a few commands:
$ gcc --version
$ as --version

Other than that, i dont know. Maybe someone with a mac has any ideas?


bookworm99(Posted 2008) [#3]
I'm getting 'command not found' for both of those (I assume that you meant $ as the account name, like username$, not that I should actually type it).

I've fixed it! I installed Xcode from my Leopard disk and it's working like a charm now!


burpy(Posted 2008) [#4]
i get this message on 10.4.11, whats up with it?


ziggy(Posted 2008) [#5]
Be sure to have the Xcode installed on your mac. You can install the XCode tools from the OS installation dvd that came with your macintosh. It is part of the OS, but it is not installed by default, as it is only needed by developers.