Can't run or compile Code :-(

Mac OSX specific forum
Daniel P.
New User
New User
Posts: 2
Joined: Fri Jan 19, 2007 10:58 am

Can't run or compile Code :-(

Post by Daniel P. »

Hello,
if I liked to run or compile code with PB (3.94d), then I receive the error message “Error: Assembler command not found”. The code is a simple “MessageRequester (“test”, “Hello world! ”, 0) “ - more not. Does somebody know, why i get this error? I using Mac OS X 10.4.8 ... sorry for my bad english :lol:

THX
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

--Kale

Image
Daniel P.
New User
New User
Posts: 2
Joined: Fri Jan 19, 2007 10:58 am

Post by Daniel P. »

Hi Kale,
thanks for your answer! I have XCode installed and now PureBasic works fine. But if I build a executable file, then pure basic always makes a console program from it - whatever i try to do (see HERE). Do you know, what I make wrong?
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 450
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Post by Didelphodon »

I'm having that console-problem, too. Can anyone help?

Greetz Didel.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Can't run or compile Code :-(

Post by PB »

You should be using the latest version of PureBasic for MacOS, not v3.94d.
I don't know if that'll fix your problem, but v3.94d is not supported anymore.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

You have to put a ".app" after the name of your executable (when creating it from the IDE).
User avatar
Didelphodon
PureBasic Expert
PureBasic Expert
Posts: 450
Joined: Sat Dec 18, 2004 11:56 am
Location: Vienna - Austria
Contact:

Post by Didelphodon »

:D Thx Fred! The additional tip "when creating" was the missing one, cause I already tried to rename my executables to .app and that just didn't work, but when I added the .app during the compilation to the executable format (as you mentioned) it really worked!!!

Greetz, Didel.
Post Reply