GLBasic forum

Main forum => Announcements => Topic started by: Kitty Hello on 2009-Aug-03

Title: V7 release candidate
Post by: Kitty Hello on 2009-Aug-03
http://www.glbasic.com/beta/glbasic_sdk_7rc1.exe (http://www.glbasic.com/beta/glbasic_sdk_7rc1.exe)
Title: Re: V7 release candidate
Post by: Hemlos on 2009-Aug-03
Should i install / overwrite the beta with this new version?
Title: Re: V7 release candidate
Post by: Hatonastick on 2009-Aug-03
Since it looks like another full install, I'd say not mate.  Definitely uninstall previous first.
Title: Re: V7 release candidate
Post by: Uncle on 2009-Aug-03
Hello,

Is this the same as the Beta, or has there been some nice changes :)  Are we able to compile all the way thru to the Iphone with this version... fingers crossed.

Cheers,


Uncle
Title: Re: V7 release candidate
Post by: Kitty Hello on 2009-Aug-03
iPhone deffo works now. That's the version we used to submit to the app store.
Title: Re: V7 release candidate
Post by: codegit on 2009-Aug-04
Has anybody been able to build successfully for the iPhone with this new release?? I am still having problems, but it could be my lack of understanding of the procedure?  :|
Title: Re: V7 release candidate
Post by: MrTAToad on 2009-Aug-04
I think it creates the XCode stuff okay, but I do get :

arm-apple-darwin9-ar: temporary file: No such file or directory
/cygdrive/s/Compiler/platform/iPhone/bin/arm-apple-darwin9-libtool: no library created (no object files in input files)

Just need to get a signature now.
Title: Re: V7 release candidate
Post by: Moru on 2009-Aug-04
When I compile code with TYPE's in it I get these errors:

Code (glbasic) Select
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.7.023 SN:26e2f3eb - 3D, NET
Wordcount:2688 commands
compiling:
In file included from C:\DOCUME~1\Devcon\LOCALS~1\Temp\glbasic\gpc_temp.h:7,
                 from C:\DOCUME~1\Devcon\LOCALS~1\Temp\glbasic\gpc_tempg.cpp:2:
C:\DOCUME~1\Devcon\LOCALS~1\Temp\glbasic\gpc_temp_class.h:367: error: stray '@' in program
C:\DOCUME~1\Devcon\LOCALS~1\Temp\glbasic\gpc_temp_class.h:367: error: stray '@' in program
C:\DOCUME~1\Devcon\LOCALS~1\Temp\glbasic\gpc_temp_class.h:368: error: stray '@' in program


If I doubleclick those lines I get this code:
Code (glbasic) Select
KEYCODES()
{
vk_escape =  0x01@@36;
vk_1 =  0x02@@37;
vk_2 =  0x03@@38;
vk_3 =  0x04@@39;
vk_4 =  0x05@@40;
vk_5 =  0x06@@41;
vk_6 =  0x07@@42;
vk_7 =  0x08@@43;
vk_8 =  0x09@@44;
vk_9 =  0x0A@@45;
vk_0 =  0x0B@@46;


Actual code looks like this:
Code (glbasic) Select
TYPE KEYCODES
vk_escape          = 0x01
vk_1               = 0x02
vk_2               = 0x03
vk_3               = 0x04
vk_4               = 0x05
vk_5               = 0x06
vk_6               = 0x07
vk_7               = 0x08

And has been working for two years now so I don't think it's the code :-)
Title: Re: V7 release candidate
Post by: codegit on 2009-Aug-04
Quote from: MrTAToad on 2009-Aug-04
I think it creates the XCode stuff okay, but I do get :

arm-apple-darwin9-ar: temporary file: No such file or directory
/cygdrive/s/Compiler/platform/iPhone/bin/arm-apple-darwin9-libtool: no library created (no object files in input files)

I get the same result as you do and then it wont build on the MAC. I get this warning message on the MAC "the copy bundle resources build phase contains this targets info.plist file 'iPhone-Info.plist' "

and also during build on MAC

"/xcode/glbasic/iPhone_Prefix.pch: No such file or directory"

:|
Title: Re: V7 release candidate
Post by: MrTAToad on 2009-Aug-04
Moru - I told Gernot about that yesterday :)

codegit - Dont forget to compile for Device 3.0 | Release (and not the simulator).  It should then compile - just need a signature now :)

Generally : Where do we get the code signatures from ?  The standard iPhone development system is $99 (?58.43)
Title: Re: V7 release candidate
Post by: codegit on 2009-Aug-04
@MrTAToad - Have you actually compiled on your MAC? I tried both simulator and device and it does not compile. Also, I am a registered apple developer  ($99.00 deal). I have provisioned my device and I can compile stuff using objective c and it runs on my device with no problems. I think I have misunderstood (or missed something with regard to GLBASIC and the iPhone build procedure in XCODE)  :|

Can you please describe the process you use to get a clean build from the PC to the MAC.  :good:
Title: Re: V7 release candidate
Post by: MrTAToad on 2009-Aug-04
So far I haven't actually got a complete build - I need to get a signature - but the only message I get is to do with that.
Title: Re: V7 release candidate
Post by: Kitty Hello on 2009-Aug-04
codegit - simply copying your Media directory from .app into the XCode directory, then build the XCode project should do. Apple gave out information how to request a code signature, take a look in your developer account on developer.apple.com.

I'll make some PDF how to make all that once I find the time. This week is quite busy, though.
Title: Re: V7 release candidate
Post by: codegit on 2009-Aug-04
Thanks. A PDF will be very helpful.  :good:
Title: Re: V7 release candidate
Post by: trucidare on 2009-Aug-04
Compiled iPhone Multitouch Test out of the Box with v7RC1
Compiled for all Platforms.

Result:
Code (glbasic) Select
Configuration: GP2X ***
precompiling:
GPC - GLBasic Precompiler V.7.023 SN:df334537 - 3D, NET
Wordcount:38 commands
compile+link:
C:\Programme\GLBasic\Compiler\platform\GP2X\Lib\libGLBasicGP2X.a(gf_sockets.o): In function `netGetLocalIPs(int*, char const*)':
gf_sockets.cpp:(.text+0x510): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
C:\Programme\GLBasic\Compiler\platform\GP2X\Lib\libGLBasicGP2X.a(gf_sockets.o): In function `netAddress(char const*, unsigned short)':
gf_sockets.cpp:(.text+0x770): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
erfolgreich
F?ge mmuhack.o zu Projekt hinzu: C:\Dokumente und Einstellungen\Damien\Desktop\SampleMachine
_______________________________________

_______________________________________
*** Configuration: GP2X-WIZ ***
precompiling:
GPC - GLBasic Precompiler V.7.023 SN:df334537 - 3D, NET
Wordcount:38 commands
compile+link:
erfolgreich
_______________________________________

_______________________________________
*** Configuration: IPHONE ***
precompiling:
GPC - GLBasic Precompiler V.7.023 SN:df334537 - 3D, NET
Wordcount:38 commands
compiling:
arch:
Creating .app for SampleMachine
before copy...
...build the Project in: C:\Dokumente und Einstellungen\Damien\Desktop\SampleMachine\XCode on Mac,
   then copy the 'iPhone' binary to the .app directory
erfolgreich
_______________________________________

_______________________________________
*** Configuration: LINUX ***
precompiling:
GPC - GLBasic Precompiler V.7.023 SN:df334537 - 3D, NET
Wordcount:38 commands
compile+link:
*** create process failed
*** FATAL ERROR - Bitte die Compiler-Ausgabe ins Forum kopieren
_______________________________________

_______________________________________
*** Configuration: OS-X_UNI ***
precompiling:
GPC - GLBasic Precompiler V.7.023 SN:df334537 - 3D, NET
Wordcount:38 commands
compile+link:
Mac OSX compiler wrapper
compile for PowerPC
compile for x86
combine with lipo
Creating .app for SampleMachine
erfolgreich
_______________________________________

_______________________________________
*** Configuration: WIN32 ***
precompiling:
GPC - GLBasic Precompiler V.7.023 SN:df334537 - 3D, NET
Wordcount:38 commands
compiling:

linking:
erfolgreich
_______________________________________

_______________________________________
*** Configuration: WIN32-DLL ***
precompiling:
GPC - GLBasic Precompiler V.7.023 SN:df334537 - 3D, NET
Wordcount:38 commands
compiling:

linking:
erfolgreich
_______________________________________

_______________________________________
*** Configuration: WINCE ***
precompiling:
GPC - GLBasic Precompiler V.7.023 SN:df334537 - 3D, NET
Wordcount:38 commands
compile+link:
/cygdrive/c/DOKUME~1/Damien/LOKALE~1/Temp/ccWW4pjB.o(.text+0x178):gpc_temp0.cpp: undefined reference to `ZN11__GLBASIC__10MOUSESTATEERiS0_S0_S0_'
*** FATAL ERROR - Bitte die Compiler-Ausgabe ins Forum kopieren
_______________________________________

_______________________________________
*** Configuration: XBOX-LINUX ***
precompiling:
GPC - GLBasic Precompiler V.7.023 SN:df334537 - 3D, NET
Wordcount:38 commands
compile+link:
erfolgreich
_______________________________________
*** Fertig ***
Dauer: 60.1 sek. Zeit: 12:20
Erstellen: 7 erfolgreich.
*** 2 FEHLGESCHLAGEN ***



2 Fails
Title: Re: V7 release candidate
Post by: codegit on 2009-Aug-04
This is what I get:

*** Configuration: IPHONE ***
precompiling:
GPC - GLBasic Precompiler V.7.023 SN:b09dae52 - 3D, NET
Wordcount:6 commands
compiling:
arch:
arm-apple-darwin9-ar: temporary file: No such file or directory
/cygdrive/q/Compiler/platform/iPhone/bin/arm-apple-darwin9-libtool: no library created (no object files in input files)
Creating .app for sam
before copy...
...build the Project in: C:\iPhoneTest\XCode on Mac,
   then copy the 'iPhone' binary to the .app directory
success
_______________________________________
*** Finished ***
Elapsed: 6.4 sec. Time: 13:48
Build: 1 succeeded.

Title: Re: V7 release candidate
Post by: MrTAToad on 2009-Aug-04
I think the arm-apple-darwin9-ar: temporary file: No such file or directory and
/cygdrive/q/Compiler/platform/iPhone/bin/arm-apple-darwin9-libtool: no library created (no object files in input files) messages can be ignored.
Title: Re: V7 release candidate
Post by: codegit on 2009-Aug-04
Quote from: MrTAToad on 2009-Aug-04
I think the arm-apple-darwin9-ar: temporary file: No such file or directory and
/cygdrive/q/Compiler/platform/iPhone/bin/arm-apple-darwin9-libtool: no library created (no object files in input files) messages can be ignored.

Thanks for confirming that the above message can be ignored :good:  But still cannot get it to compile on my MAC.  :'(
Title: Re: V7 release candidate
Post by: MrTAToad on 2009-Aug-04
We'll be able to try again when the @@ problem has been solved :)
Title: Re: V7 release candidate
Post by: trucidare on 2009-Aug-04
Tomorrow Support Chat from 9 a.m.

I will help for iPhone issues
Title: Re: V7 release candidate
Post by: MrTAToad on 2009-Aug-04
I hope to be there :)
Title: Re: V7 release candidate
Post by: FutureCow on 2009-Aug-06
9am - what timezone?
Title: Re: V7 release candidate
Post by: Moru on 2009-Aug-06
Yesterday, GMT+1
Title: Re: V7 release candidate
Post by: FutureCow on 2009-Aug-06
Damn! Nothing like missing a meeting due to not knowing the timezone!
Title: Re: V7 release candidate
Post by: Moru on 2009-Aug-06
Since GLBasic isn't an american product most talk is about GMT+1 :-)
Title: Re: V7 release candidate
Post by: FutureCow on 2009-Aug-06
It would be helpful if people put the timezone in when they wrote down times though, GLBasic's website has a global audience and not all of us are German, or even American for that matter.
Title: Re: V7 release candidate
Post by: Kitty Hello on 2009-Aug-06
Yes, I second that. I always write 9:00 am GMT+1 or CET.