Assembler Error

Mac OSX specific forum
J-The-Grey
User
User
Posts: 21
Joined: Fri Apr 25, 2003 6:16 pm
Location: Germany

Assembler Error

Post by J-The-Grey »

After all I tried to compile some example stuff on my Mac but got an error message:
PureBasic - Assembler error
sh: nasm: command not found
Of course I installed xcode. And of course I used the x86 version of PB (4.3b5). What more do I need?
iMac CoreDuo, MacBook C2D, OSX 10.5.5
PureBasic owner since V1.0 for Amiga
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

nasm should be with the XCode package. If you open a terminal and type 'nasm' in it, does it work ? try 'gcc' as well.
J-The-Grey
User
User
Posts: 21
Joined: Fri Apr 25, 2003 6:16 pm
Location: Germany

Post by J-The-Grey »

I just installed xcode again just to be sure. After a reboot I get the same error-message when trying to compile ANY PB-code.

I am able to compile with xcode the example-projects that came with xcode.

Do I just need to type "nasm" or "gcc" in a terminal in order to test if it works?


Last login: Tue Dec 2 22:04:31 on console
MacBook:~ andreas$ gcc
-bash: gcc: command not found
MacBook:~ andreas$ nasm
-bash: nasm: command not found
MacBook:~ andreas$
iMac CoreDuo, MacBook C2D, OSX 10.5.5
PureBasic owner since V1.0 for Amiga
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

then you have problem with your XCode installation, as it should be available from commandline. IIRC, you have to check 'commandline tools' when installing XCode.
J-The-Grey
User
User
Posts: 21
Joined: Fri Apr 25, 2003 6:16 pm
Location: Germany

Post by J-The-Grey »

aaaaaaaaaaaarrrrrrrrrrrrrrrggggggggghhhhhhhhh...... :!: :!: :!:

I can't believe that, but in fact I didn't install the command-line tools because I thaught I don't need "unix-tools".... :oops:

Thank you! Everything works fine now!!!!
iMac CoreDuo, MacBook C2D, OSX 10.5.5
PureBasic owner since V1.0 for Amiga
Post Reply