Oh yeah, now THAT would be interestingPB wrote:> PureBasic now support 4 plateforms (AmigaOS/Windows/Linux/MacOS X) and 3 processors (680x0, x86, PowerPC)
That leaves just one more: Pocket PC!
PureBasic for MacOS X beta 1 unleashed !
Re: PureBasic for MacOS X beta 1 unleashed !
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Re: PureBasic for MacOS X beta 1 unleashed !
I see, you want see me dead !GeoTrail wrote:Oh yeah, now THAT would be interestingPB wrote:> PureBasic now support 4 plateforms (AmigaOS/Windows/Linux/MacOS X) and 3 processors (680x0, x86, PowerPC)
That leaves just one more: Pocket PC!
-
Doobrey
- Enthusiast

- Posts: 218
- Joined: Sat Apr 26, 2003 4:47 am
- Location: Dullsville..population: me
- Contact:
Re: PureBasic for MacOS X beta 1 unleashed !
Woohooo....
Nice one Fred.
Nice one Fred.
Cool, I'll give it a go over the next few days... despite my loyalties lying with That Other Basic, it's definitely nice to have both available! 
(EDIT: For anyone who isn't aware, you can probably try this out with PearPC (http://www.pearpc.net/) although you'll have to dig up a copy of OS X from Ebay or some place. Even though it's slow and won't run hardware-accelerated OpenGL yet, it'll probably be fine for developing apps on.)
(EDIT: For anyone who isn't aware, you can probably try this out with PearPC (http://www.pearpc.net/) although you'll have to dig up a copy of OS X from Ebay or some place. Even though it's slow and won't run hardware-accelerated OpenGL yet, it'll probably be fine for developing apps on.)
Ok got this installed and running under OS X.
Just a few tips.
The Install.txt file says to
fink install gcc2
that won't work, as fink doesn't maintain gcc for OS X.
What you need to do is get the developer tools and install
GCC version 3.1
That will get you working and operational.
The rest of the install instructions generally are pretty much ok.
Oh, if you are using X11 and bash as a shell, put the various path commands etc into .bashrc
The apps that build ok but don't link correctly are the ones using SDL.
So that means no sprites or sound.
Just to clarify the SDL apps seem to have linking problems. Duplicate libraries being pulled from libz.1.dylib as well as from the SDL libraries.
So a remake of the pbcompiler may be required.
The applications that use GTK for windows are working nicely and as expected.
Just a few tips.
The Install.txt file says to
fink install gcc2
that won't work, as fink doesn't maintain gcc for OS X.
What you need to do is get the developer tools and install
GCC version 3.1
That will get you working and operational.
The rest of the install instructions generally are pretty much ok.
Oh, if you are using X11 and bash as a shell, put the various path commands etc into .bashrc
The apps that build ok but don't link correctly are the ones using SDL.
So that means no sprites or sound.
Just to clarify the SDL apps seem to have linking problems. Duplicate libraries being pulled from libz.1.dylib as well as from the SDL libraries.
So a remake of the pbcompiler may be required.
The applications that use GTK for windows are working nicely and as expected.
-
Num3
- PureBasic Expert

- Posts: 2812
- Joined: Fri Apr 25, 2003 4:51 pm
- Location: Portugal, Lisbon
- Contact:
Interesting I have this problem with linux...JokerZ wrote:Ok got this installed and running under OS X.
Just a few tips.
The Install.txt file says to
fink install gcc2
that won't work, as fink doesn't maintain gcc for OS X.
What you need to do is get the developer tools and install
GCC version 3.1
That will get you working and operational.
The rest of the install instructions generally are pretty much ok.
Oh, if you are using X11 and bash as a shell, put the various path commands etc into .bashrc
The apps that build ok but don't link correctly are the ones using SDL.
So that means no sprites or sound.
Just to clarify the SDL apps seem to have linking problems. Duplicate libraries being pulled from libz.1.dylib as well as from the SDL libraries.
So a remake of the pbcompiler may be required.
The applications that use GTK for windows are working nicely and as expected.
My game compiles ok, but no graphics...
In regard to the linking, I think it's an issue with cmake and the SDL build itself.
There may be a flag somewhere in the SDL cmake file that says something like
#SDL_USE_SYSTEM_ZLIB ON
this should be uncommented.
I am only guessing here as I have not seen the SDL cmake files.
But something like that might exist and if it does, it should solve the problem once it's uncommented.
There may be a flag somewhere in the SDL cmake file that says something like
#SDL_USE_SYSTEM_ZLIB ON
this should be uncommented.
I am only guessing here as I have not seen the SDL cmake files.
But something like that might exist and if it does, it should solve the problem once it's uncommented.
Hi. I`m new here. I got the OS X Compiler from my personal account and like to use it on my G4 Mac. But I`m also new to X11, SDL, Terminals, fink and so on (I used to use MacOS 9.x). So I got some problems:
The install.txt says following:
how do I do this?
doesn`t work... "command not found" even if I change the purebasic/compilers-directory to the actual one.
I hope someone with more unix-knowhow can help me as I´m pretty much satisfied with PureBasic on Windows and like to use it on my Mac, too.
The install.txt says following:
- I think I got it. 44MB. Installed just fine.1) You will need to install the X11 layer for your macos (see www.apple.com)
- is it "su -"? After I type "su -" the terminal asks for my password. After that it just says "sorry". Why? I surely know my root-password as I need it for Apple-Software-Updates and so on.2) login as root to do the following operations:
# su -
gcc couldn´t be installed via fink, but that has been discussed before. gtk+ and sdl installed fine - at least I think so.3) Use 'fink' to get the following package (install fink if not already done) :
# fink install gtk+
# fink install gcc2
# fink install sdl
when I type in "PUREBASIC_HOME="purebasicdir"" (I think I need to tell it the whole path which is "/purebasic" on my computer) it just says "tcsh: PUREBASIC_HOME=purebasicdir: Command not found." Also with the next line ("export: Command not found.").4) Open a terminal and setup the PUREBASIC_HOME environment variable
# PUREBASIC_HOME="purebasicdir"
# export PUREBASIC_HOME
This seems to work if I put in the whole path "ranlib /purebasic/compilers/systembase.a". At least there is no error message.5) execute the following command:
# ranlib $PUREBASIC_HOME/compilers/systembase.a
This quits with "permission denied".6) the X11 term doesn't always take in count your profile. Enter the following line to enable it (and have the right path for gtk, sdl etc..). If you use another terminal, you may not have to do that.
# . ~/.profile
7) Add the $PUREBASIC_HOME/compiler path to the PATH variable
how do I do this?
Enter:
# pbcompiler
doesn`t work... "command not found" even if I change the purebasic/compilers-directory to the actual one.
I hope someone with more unix-knowhow can help me as I´m pretty much satisfied with PureBasic on Windows and like to use it on my Mac, too.
Danjersey,
let's see if I can help you out a bit here.
for changing to a root login, just try sudo su
from memory macs do something a bit weird when trying to change to
superuser. I know I had to tweak mine ages ago, but have forgotten precisely where.. may have been the sudoers file in /etc
if you are using tcsh as your shell, the export command won't work.
try setenv instead so something like
setenv PUREBASIC_HOME $PATH:$HOME/purebasic_osx_beta1
(or use the /purebasic path if thats where you installed your files)
you may as well also add
setenv PATH $PATH:$HOME/purebasic_osx_beta1/compiler
for doing this each time you start your terminal, you'll most likely want to put the files in .cshrc
if you continue to have ongoing probs, please feel free to email me at
g5developer at gmail.com
Rob
let's see if I can help you out a bit here.
for changing to a root login, just try sudo su
from memory macs do something a bit weird when trying to change to
superuser. I know I had to tweak mine ages ago, but have forgotten precisely where.. may have been the sudoers file in /etc
if you are using tcsh as your shell, the export command won't work.
try setenv instead so something like
setenv PUREBASIC_HOME $PATH:$HOME/purebasic_osx_beta1
(or use the /purebasic path if thats where you installed your files)
you may as well also add
setenv PATH $PATH:$HOME/purebasic_osx_beta1/compiler
for doing this each time you start your terminal, you'll most likely want to put the files in .cshrc
if you continue to have ongoing probs, please feel free to email me at
g5developer at gmail.com
Rob
-
pantsonhead
- User

- Posts: 39
- Joined: Fri Mar 26, 2004 1:47 pm
- Location: London, UK
- Contact:


