V8 beta

Previous topic - Next topic

Kitty Hello

Hark0: Try to completely remove the XCode directory, then rebuild for iPad.

MrTAToad

Quote from: Kitty Hello on 2010-Jul-12
Quote from: MrTAToad on 2010-Jul-11
The program loads a sprite, gets its size, calls SPR2MEM, writes the data to file, deletes the sprite and then proceeds to the next file.

Add a SLEEP in between. I have the impression that your virus program is blocking files when quickly trying to access them... You had that problem with the GCC/GPC, too.
Alas, its not the AV this time as I disabled it...

Kitty Hello

OK, Send me some sample code then.

The Type-not-declared problem seems a bigger one. I should have not touched this.
I will have to rewrite a big portion of my source code to deal with all this.

MrTAToad

Unfortunately it needs to be done, otherwise extended TYPE use will be limited...  :good:

Hark0

#94
Quote from: Kitty Hello on 2010-Jul-12
Hark0: Try to completely remove the XCode directory, then rebuild for iPad.

My steps are correct? I delete Xcode ALLWAYS before compile...

"Simple" sets app to resolution for ipad and go?

And on Xcode I compile for target family ipad... iphone or ipad/iphone?

See my steps at: http://www.glbasic.com/forum/index.php?topic=4604.msg35501#msg35501

O_O


EDIT: Downloading & installing 8.036. Testing for iPad.  :)

EDIT2:

Nothing, it does not work  :rant:  :'(

Call me silly but I'm not able to compile for IPAD. I have no problem on iphone, but IPAD does not work.

I am using the latest SDK from Apple and the latest beta version GLBasic (036).

Someone can get a step by step guide for donkeys?  :blink:

Thanks in advance.
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

dijster

I'm not at my mac at the moment, so I can't tell you exactly what you need to do, but.

In the Xcode project, open up the Targets (in the Groups & Files section)

In the list you get, scroll down and you will see something that says target device (not 100% sure), change this to iPad and you should be good to go.

[attachment deleted by admin]

Hark0

#96
Quote from: dijster on 2010-Jul-13
I'm not at my mac at the moment, so I can't tell you exactly what you need to do, but.

In the Xcode project, open up the Targets (in the Groups & Files section)

In the list you get, scroll down and you will see something that says target device (not 100% sure), change this to iPad and you should be good to go.

Changed to ipad, iphone and iphone/ipad too....

Nothing!!!!!!!  :(

Upgrade to ipad ENABLED¿?¿?¿?¿¿?

Testing....

EDIT: Tested and....NO WORK FOR ME!!!  zoom icon in - zoom icon out and app exits

:noggin:
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

dijster

Strange, sounds like your app might be crashing.
Try creating a new GL project and just enter this code
Code (glbasic) Select

SETSCREEN 1024,768,0
WHILE TRUE
DRAWRECT 100,100,824,568,RGB(255,0,0)
SHOWSCREEN
WEND


Compile it for the iPad and it should just show a red rectangle.

If this works, then there may be a problem in your code, if this doesn't, then there may be a problem with xcode.

Hope this helps

matchy

#98
 :S
Hark0, as you have mentioned by your post that your code has graphics. Post your code so we can help you! Does my code work? If you can compile for iPhone, then it's virtually the same for iPad. Just make sure you compile at 768x1024 (or 1024x768) by setting it in the Project/Options and not with SETSCREEN.

Hark0

Quote from: dijster on 2010-Jul-13
Strange, sounds like your app might be crashing.
Try creating a new GL project and just enter this code
Code (glbasic) Select

SETSCREEN 1024,768,0
WHILE TRUE
DRAWRECT 100,100,824,568,RGB(255,0,0)
SHOWSCREEN
WEND


Compile it for the iPad and it should just show a red rectangle.

If this works, then there may be a problem in your code, if this doesn't, then there may be a problem with xcode.

Hope this helps

Can you tell-me step by step the XCODE procedure?

I have a folder from GLB named Xcode...

HOW At this point I continue... setup xcode, set target, etc... maybe there are my error....

TIA, Hark0
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Hark0

Quote from: matchy on 2010-Jul-13
:S
Hark0, as you have mentioned by your post that your code has graphics. Post your code so we can help you! Does my code work? If you can compile for iPhone, then it's virtually the same for iPad. Just make sure you compile at 768x1024 (or 1024x768) by setting it in the Project/Options and not with SETSCREEN.

My code occupies 18 DIN A-4 pages...  =D

I tried with this:

Code (glbasic) Select
WHILE TRUE
FOR n=0 TO 768 STEP 5
DRAWLINE 0,0,n,1024,RGB(255,255,255)
DRAWLINE 768,1024,n,0,RGB(255,255,255)
NEXT

SHOWSCREEN
WEND

http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Hark0

#101
Quote from: dijster on 2010-Jul-13
Strange, sounds like your app might be crashing.
Try creating a new GL project and just enter this code
Code (glbasic) Select

SETSCREEN 1024,768,0
WHILE TRUE
DRAWRECT 100,100,824,568,RGB(255,0,0)
SHOWSCREEN
WEND


Compile it for the iPad and it should just show a red rectangle.

If this works, then there may be a problem in your code, if this doesn't, then there may be a problem with xcode.

Hope this helps

testing setscreen

AND..... NOT WORK!  :'( :'( :'( :'( :'(
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

Hark0

#102
My procedure:

- Write SRC on GLB 8.036. (simple "hello world test").
- Test and works on win32
- Set Res for iphone at 768x1024 (or 1024x768).
- Compiling multiplatform for iphone.
- Modify Bundle field for sing app.
- Modify *.pch (empty file).

- Set project to RELEASE device.
- Set to 3.2 device.

- Tried for ipad, tried universal....

Nothing!!!!  :blink: :blink: :blink: :blink: :blink:

EDIT: Triing to compile xcode source without GLB... for testing ipad deployment etc etc etc

EDIT2: I created a NEW Xcode project (without GLB) ALL Xcode... simple "utility application" sample with rotated info panel.... compiled and works 100% on ipad.... The problem is on GLB ¿?¿?¿?¿?¿?¿?
http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic

matchy

Quote from: Hark0 on 2010-Jul-13
My code occupies 18 DIN A-4 pages...  =D

I don't mean your full code, just your test code like "PRINT "HELLO iPad",10,10;SHOWSCREEN;MOUSEWAIT".

Anyhow, this is what I do for iPad only:

0. Plug in and sync the iPad to the Mac.
1. Open the XCode project (that's created by GLB)
2. Select "Release" in the project.
3. From the menu Project/Edit Active Target "appname".
4. Set Base SDK to iPhone 3.2.
5. Set Targeted Device Family]/b] to iPad.
5. Set iPhone OS Deployment Target to iPhone OS 3.2
6. Set the Code Signing Identity (if need be).
7. Hit "Build & Run".
:good:

I just tried that and work fine!!!!


Hark0

#104
Quote from: matchy on 2010-Jul-13

I don't mean your full code, just your test code like "PRINT "HELLO iPad",10,10;SHOWSCREEN;MOUSEWAIT".

Anyhow, this is what I do for iPad only:

0. Plug in and sync the iPad to the Mac.
1. Open the XCode project (that's created by GLB)
2. Select "Release" in the project.
3. From the menu Project/Edit Active Target "appname".
4. Set Base SDK to iPhone 3.2.
5. Set Targeted Device Family]/b] to iPad.
5. Set iPhone OS Deployment Target to iPhone OS 3.2
6. Set the Code Signing Identity (if need be).
7. Hit "Build & Run".
:good:

I just tried that and work fine!!!!

YES!!! YES!!! YES!!! YES!!! Thanks matchy!!!

WORKING PERFECT!!!!!   :good: :good: :good:

(I missing "second" step 5 -Set iPhone OS Deployment Target to iPhone OS 3.2-)  :P

THANKS TO ALL!!!!

http://litiopixel.blogspot.com
litiopixel.blogspot.com - Desarrollo videojuegos Indie · Pixel-Art · Retroinformática · Electrónica Development Indie Videogames · Pixel-Art · Retrocomputing · Electronic