BASIC

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - mykyl66

Pages: [1] 2
1
Bug Reports / Any issues compiling to osx?
« on: 2012-Apr-26 »
I tried to compile for osx and each time it gets to compiling + lining and never goes further. No issue compiling for windows or anything else so far.

Cheers

Mike

2
Any known issues running current glbasic apps on ipad 3? I'm asking as other apps we have developed using Corona don't display correctly apparently. I doubt the glbasic apps will have any issues to be honest but its worth knowing and I don't have the benefit of owning an ipad3.

Cheers

Mike

3
GLBasic - en / Gernot, Did you get my email?
« on: 2010-Oct-25 »
I sent an email a few days ago and have not heard back. Not sure if my anti spam thing got rid of the reply.

Cheers

Mike R

4
Hi,

I am trying to compile in xcode a simple test app saving and creating some files and then opening them on a new run of the app.

This is what the results in xcode are.

Any ideas as to what may be causing this? I have no idea what this battery thing is that is being called.

Cheers

Mike R

"_max", referenced from:


      _iPhoneBattery in libGLBasiciPhone-egl.a(iPhoneAppController.o)


  "_min", referenced from:


      _iPhoneBattery in libGLBasiciPhone-egl.a(iPhoneAppController.o)


ld: symbol(s) not found


collect2: ld returned 1 exit status


Ld build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/character_creator normal armv6
cd /Users/mykyl/Desktop/XCode/GLBasic
setenv IPHONEOS_DEPLOYMENT_TARGET 3.0
setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.0.sdk -L/Users/mykyl/Desktop/XCode/GLBasic/build/Release-iphoneos -L/Users/mykyl/Desktop/XCode/GLBasic/Lib -F/Users/mykyl/Desktop/XCode/GLBasic/build/Release-iphoneos -filelist /Users/mykyl/Desktop/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/character_creator.LinkFileList -dead_strip -lstdc++ -miphoneos-version-min=3.0 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework AudioToolbox -framework CoreLocation -framework OpenAL -lGLBasiciPhone-egl -lpng-gf -lPROGRAM -framework MediaPlayer -o /Users/mykyl/Desktop/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/character_creator

Undefined symbols:
  "_max", referenced from:
      _iPhoneBattery in libGLBasiciPhone-egl.a(iPhoneAppController.o)
  "_min", referenced from:
      _iPhoneBattery in libGLBasiciPhone-egl.a(iPhoneAppController.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

5
GLBasic - en / Seedrnd on iphone
« on: 2010-Aug-10 »
hi,

Currently been testing seedrnd and noticed on pc it works fine but on the iphone no matter what initial seed I give it it always returns the same number. I am using version 7 of glbasic as Im not comfortable using beta software for developing on.

Cheers

Mike R

6
I seem to have thought about this a bit too late but Here is my question.
I have had my app tested on an early iphone up to the latest iphone 3gs as well as on an ipod touch generation 1 up to the latest 3g but suddenly had a thought. I think that all of them are running the latest 3.x os.

I have been building for the base 3.x all this time but suddenly wondered if I have to do anything to make sure it will run on folks machines who are perhaps still on 2.x etc?

Will an app compiled using 3.x work on the earlier os machines? I am obviously not using in app purchases etc as I don't have a clue how to do that.

Can anyone help?

Hoping to show what we have been up to in the coming week.

Cheers

Mike R

7
Hi, I'm not sure exactly how to describe this so here is the information xcode debugger throws up as my game is loading up.

As I said it never happened before this latest up date but that doesn't mean that's whats caused it. I have no clue. Please can anyone help.
I guess the leaking thing is worrying me, especially as I have no clue what would cause that.

if you need more info please ask.

Thanks

Mike

run
Running…
[Switching to thread 11779]
[Switching to thread 11779]
sharedlibrary apply-load-rules all
(gdb) continue
2010-03-20 15:52:15.820 [1244:207] *** _NSAutoreleaseNoPool(): Object 0x205a50 of class NSCFArray autoreleased with no pool in place - just leaking
Stack: (0x30af7f87 0x30acc135 0x30acc107 0x3356453b 0x30ae1805 0xb1b8 0x6d48 0xb618 0x2fe0bd7d 0x2fe0be39 0x2fe09d7f 0x2fe0a16d 0x2fe022bd 0x2fe06a15 0x2fe016fd 0x2fe01050)
2010-03-20 15:52:15.859 [1244:207] *** _NSAutoreleaseNoPool(): Object 0x207d60 of class NSCFString autoreleased with no pool in place - just leaking
Stack: (0x30af7f87 0x30acc135 0x30acc107 0x30ad00d9 0x30ae187d 0xb1b8 0x6d48 0xb618 0x2fe0bd7d 0x2fe0be39 0x2fe09d7f 0x2fe0a16d 0x2fe022bd 0x2fe06a15 0x2fe016fd 0x2fe01050)
2010-03-20 15:52:15.976 [1244:207] *** _NSAutoreleaseNoPool(): Object 0x207610 of class NSCFString autoreleased with no pool in place - just leaking
Stack: (0x30af7f87 0x30acc135 0x30acc107 0x30ad67d3 0x30ae06a7 0x30ae062d 0x30acd2f9 0x30ae05c7 0x30ae189d 0xb1b8 0x6d48 0xb618 0x2fe0bd7d 0x2fe0be39 0x2fe09d7f 0x2fe0a16d 0x2fe022bd 0x2fe06a15 0x2fe016fd 0x2fe01050)
2010-03-20 15:52:15.984 [1244:207] *** _NSAutoreleaseNoPool(): Object 0x2087c0 of class NSPathStore2 autoreleased with no pool in place - just leaking
Stack: (0x30af7f87 0x30acc135 0x30acdbb3 0x30acd1a7 0x30acd121 0x30ae06bb 0x30ae062d 0x30acd2f9 0x30ae05c7 0x30ae189d 0xb1b8 0x6d48 0xb618 0x2fe0bd7d 0x2fe0be39 0x2fe09d7f 0x2fe0a16d 0x2fe022bd 0x2fe06a15 0x2fe016fd 0x2fe01050)
2010-03-20 15:52:15.989 [1244:207] *** _NSAutoreleaseNoPool(): Object 0x208880 of class NSPathStore2 autoreleased with no pool in place - just leaking
Stack: (0x30af7f87 0x30acc135 0x30acdbb3 0x30ae05f7 0x30ae189d 0xb1b8 0x6d48 0xb618 0x2fe0bd7d 0x2fe0be39 0x2fe09d7f 0x2fe0a16d 0x2fe022bd 0x2fe06a15 0x2fe016fd 0x2fe01050)
2010-03-20 15:52:15.993 [1244:207] *** _NSAutoreleaseNoPool(): Object 0x2089e0 of class NSCFArray autoreleased with no pool in place - just leaking
Stack: (0x30af7f87 0x30acc135 0x30acc107 0x3356c7f9 0x30ae18d7 0xb1b8 0x6d48 0xb618 0x2fe0bd7d 0x2fe0be39 0x2fe09d7f 0x2fe0a16d 0x2fe022bd 0x2fe06a15 0x2fe016fd 0x2fe01050)
2010-03-20 15:52:15.996 [1244:207] *** _NSAutoreleaseNoPool(): Object 0x208a50 of class NSCFData autoreleased with no pool in place - just leaking
Stack: (0x30af7f87 0x30acc135 0x30acc107 0x30acc331 0x30acc1c3 0xb1e8 0x6d48 0xb618 0x2fe0bd7d 0x2fe0be39 0x2fe09d7f 0x2fe0a16d 0x2fe022bd 0x2fe06a15 0x2fe016fd 0x2fe01050)
init with coder
app did finish launching, view=0x21d4d0
start ani
applicationDidBecomeActive
backing: 320 x 480
Init GFX

8
It doesn't matter what code I try and use, if I compile in version 7.237 of glbasic I get the following debug errors in xcode when compiling.

Any help please or is this a newly introduced bug in the latest version of glbasic?

No idea what is happening as I am at no point trying to run any movies or whatever and the same code worked perfectly before.

Thanks

Mike R

Build iPhone of project iPhone with configuration Debug

Check dependencies

Undefined symbols:
  "_MPMoviePlayerPlaybackDidFinishNotification", referenced from:
      _MPMoviePlayerPlaybackDidFinishNotification$non_lazy_ptr in libGLBasiciPhone-egl.a(iPhoneAppController.o)
  "_OBJC_CLASS_$_MPMoviePlayerController", referenced from:
      __objc_classrefs__DATA@0 in libGLBasiciPhone-egl.a(iPhoneAppController.o)

ld: symbol(s) not found
collect2: ld returned 1 exit status



9
GLBasic - en / Calibrate tilt on iphone?
« on: 2009-Dec-09 »
Hi,
I am doing some test code for compiling on the touch. I can move a rectangle around the screen no problem using the joystick commands. My issue is this.

I would like to offer the ability to calibrate the screen according to the angle the player is holding his touch.

e.g. If I lay the touch on the table and start the game there is a rectangle sitting in the center of the screen. When I tilt the screen the rectangle moves around. (I can already do this).

Now I want to hold the touch in my hand in a comfortable position and when I start the game no matter what position I am holding the touch in I want the rectangle to once again be in the center of the screen. and play the same way as before. Of course the rectangle Must stay within the screen area.

So far I can get it to start in the center regardless of the angle I am holding the touch by setting an offset but for some stupid reason the whole screen is being offset.

How are you folks doing this calibration type thing.

Thanks.

Mike R

10
I have had a look through the manual and one minute its talking about books then employees and somewhere along the way I got lost. :D

ANY tips would be very helpful.

Thanks

Mike R

11
I can compile it for pc in 320x480 resolution and the same for the ipod touch but I dont seem to have that resolution option for mac osx?

Is this an error?

Cheers

Mike R

12
GLBasic - en / Problem setting f9 to debug
« on: 2009-Nov-15 »
Im not sure when it crept in but there seems to be an issue. I press f9 where I want to step through the code and unlike before I updated GlBasic it seems very hit and miss if it works.

I cant work out where the problem actually is but it makes it difficult.

I have managed to get it working finally but have noticed that the line that is currently hilighted when you are stepping through is NOT the line being executed.

everything is out by one line.

e.g if two lines says this

SETACTIVEMOUSE MsActive
DRAWRECT 0,0,320,60,RGB(255,0,0)
then when drawrect is hilighted during step through setactivemouse is the line that is actually about to be executed.

Can this be looked at please.

Mike R

13
GLBasic - en / Help file not quite right.
« on: 2009-Nov-12 »
I have been using the platforminfo command and relying on getting the result IPOD as stated in the help file. However what it actually returns after much hair pulling is IPOD TOUCH. :)

I wondered why the app was not doing what I was expecting.

I dont own an iphone so can anyone tell me what an iphone will actually return?

Mike R

14
GLBasic - en / ini files on iphone/ipod touch.
« on: 2009-Nov-11 »
Hi,

After compiling my application on iPod Touch, I am getting an fOpen error on my ini files AFTER the first ini file has been successfully opened and read from.

It's not like I can explicitly close a file, because CLOSEFILE requires a handle defined by OPENFILE.

Besides which, as I understood it, INIOPEN handles closing of files when a new one is called. So can anyone tell me where I'm going wrong or any iPhone specific gotchas?

e.g

request: fopen("Media/lastsave.ini", "rb") failed
wrt-request: fopen("Media/lastsave.ini", "wb") failed

The paths are correct as are the filenames. Its just fails.

Mike R

15
Hi, Does anyone here have an idea how to perhaps go about detecting if an application being run on the touch devices is pirated or not. I have read some disturbing articles recently on the state of piracy with touch device apps and it concerns me.

I dont want to give anyone who has not bought the app any access to any of the bonus material or online highscore tables etc.

It amazes me that they use the excuse "it gives the player the ability to try before they buy" That excuse was perhaps legitimate in the days of $50 games but when your talking about 99cents or $2 there is no excuse.

Any ideas thoughts?

Cheers

Mike R

Pages: [1] 2