GLBasic forum

Main forum => FAQ => Topic started by: Neurox on 2010-Nov-06

Title: iPhone programming
Post by: Neurox on 2010-Nov-06
I know that much has been written on this subject, but not too exhaustive...
I'm crazy out with iPhone developing with GLBasic.

I state that I've:
iMac with 4Gbyte of RAM, Snow Leopard
XCode 3.2.4 with iOS 4.1 SDK
I've all two Developer certificate required.
I've compiled the HelloWord written in C under XCode and no made problem.
It's running well under  my iPod...
But if I go to compiling  a GLBasic program, XCode made a few errors and alert!
Are possible have a guide step by step to configure and compiling under XCode of GLBasic programs?

Neurox/Paolo
Title: Re: iPhone programming
Post by: MrTAToad on 2010-Nov-06
What are the errors ?
Title: Re: iPhone programming
Post by: Neurox on 2010-Nov-06
Quote from: MrTAToad on 2010-Nov-06
What are the errors ?

these errors:
(http://www.borzini.it/err1.tiff)

(http://www.borzini.it/err2.tiff)
Title: Re: iPhone programming
Post by: MrTAToad on 2010-Nov-06
Unfortunately no pictures are being displayed.
Title: Re: iPhone programming
Post by: Sokurah on 2010-Nov-06
Quote from: MrTAToad on 2010-Nov-06
Unfortunately no pictures are being displayed.

Yeah, not the best job of attaching pictures...but they are there...the browser just can't show them.

Just copy the address of the picture and download the pictures.

...oh hell, I've done it for you...and converted them to PNG format (really?...who the hell uses TIFF format?  :S )



[attachment deleted by admin]
Title: Re: iPhone programming
Post by: blackway on 2010-Nov-06
I think that i know what is the problem... You can't build to simulator you must build to device... and if I'm not wrong you are building for mac instead iPhone
Hope that helps...
Bye!!
Title: Re: iPhone programming
Post by: MrTAToad on 2010-Nov-06
Yes - unfortunately GLBasic cant build for the simulator.  Gernot did state the reason for it, but I've forgotten what it was...

Title: Re: iPhone programming
Post by: Neurox on 2010-Nov-06
Thanks and sorry for the tiff images  :(

Quote from: blackway on 2010-Nov-06
You can't build to simulator you must build to device... and if I'm not wrong you are building for mac instead iPhone

OK I understand and now I compiled for  : Device- Release-iPhone- iPhone/iPod - Arm 6
but there are other errors (now png  =D ) :
(http://www.borzini.it/err.png)

Paolo/Neurox
Title: Re: iPhone programming
Post by: MrTAToad on 2010-Nov-06
With that one you need to add a package (which obviously hasn't been added into the GLBasic system yet) - I'll see if I can find which one.

Cant find it - but it should be something along the lines of MoviePlayer.bundle
Title: Re: iPhone programming
Post by: Kitty Hello on 2010-Nov-08
yes. Add the mediaplayer framework to the source.
Title: Re: iPhone programming
Post by: Neurox on 2010-Nov-09
Quote
yes. Add the mediaplayer framework to the source.
Perfect  :nw:
Thanks for the suggestion.
Now it works  =D

Paolo/Neurox