Page 1 of 1

Linker Error

Posted: Sun Feb 10, 2008 5:27 pm
by doctorssh
Machine: iBook G4 (Mac OS X, Version 10.4.11)
Software: PureBasic 4.10 (Mac OS X-Power PC)

After downloading a new purchase of PureBasic, I loaded the Xcode Tools from the iBook disks as told in the ReadMe instructions. Then I entered, compiled/ran this program:

If OpenConsole()
PrintN("Hello World!")
Delay(2000)
CloseConsole()
EndIf
End

The error message "PureBasic - Linker error" appeared on the screen. In fact, not a single example from Gary Willoughby's book (PureBasic: A Beginner's Guide) will run on my computer.

Could it be that the Compiler can't be found? And is there a way to "define" it's location. Thanks for the help.

Stephen

Posted: Wed Feb 13, 2008 1:05 am
by adamredwoods
I am very new to PureBasic, but am willing to help with whatever I can.

I installed XTools v2.5 after downloading off Apple's website (registering is free). I installed it to the root level/developers folder. Worked right away.

I am using the PureBasic demo version on a G4 PowerBook.

Posted: Wed Feb 13, 2008 5:47 pm
by Trond
And what exactly is the linker error?