Page 1 of 1
Assembler Error
Posted: Tue Dec 02, 2008 12:57 am
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?
Posted: Tue Dec 02, 2008 1:59 am
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.
Posted: Tue Dec 02, 2008 10:23 pm
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$
Posted: Tue Dec 02, 2008 10:28 pm
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.
Posted: Tue Dec 02, 2008 11:54 pm
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"....
Thank you! Everything works fine now!!!!