BASIC

Author Topic: [iPhone] OpenFeint  (Read 54054 times)

Offline blackway

  • Mr. Polyvector
  • ***
  • Posts: 186
    • View Profile
Re: [iPhone] OpenFeint
« Reply #120 on: 2010-Aug-31 »
I was using Openfeint under GLBasic 7.xxx .  I'm using the xcode's project from the first post and I use the lastest libGLBasiciPhone-egl.a and libpng-gf.a and runs perfect!
Now I have installed 8.085 and Openfeint isn't running anymore. After I call GLB_OF_CreateOpenFeint(blablabla) and the Openfeint screen appears the application shutdown.  To see what happens I build and run in debug mode and this is from the console:
Code: GLBasic [Select]
Running…
[Switching to thread 11779]
[Switching to thread 11779]
sharedlibrary apply-load-rules all
continue
warning: Unable to read symbols for "/Library/MobileSubstrate/MobileSubstrate.dylib" (file not found).
2010-08-30 23:03:59.503 iPhone[1981:207] MS:Notice: Installing: com.glbasic.GLPaint [iPhone] (478.52)
2010-08-30 23:03:59.871 iPhone[1981:207] MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/Activator.dylib
warning: Unable to read symbols for "/Library/MobileSubstrate/DynamicLibraries/Activator.dylib" (file not found).
2010-08-30 23:04:00.072 iPhone[1981:207] MS:Notice: Loading: /Library/MobileSubstrate/DynamicLibraries/Backgrounder.dylib
warning: Unable to read symbols for "/Library/MobileSubstrate/DynamicLibraries/Backgrounder.dylib" (file not found).
warning: Unable to read symbols for "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.1.2 (7D11)/Symbols/usr/lib/libsubstrate.dylib" (file not found).
-applicationDidBecomeActive    -> unpause
backing: 320 x 480
Init GFX
Init Finalized
2010-08-30 23:04:06.302 iPhone[1981:207] Using OpenFeint version 2032010.https://api.openfeint.com/
GLB Error: 9
Shut down GLB
glb is shut down
GLB Error: 9

Debugger stopped.
Program exited with status value:0.


I'm using Iphone 3.2 SDK and my OS is 3.1.2 in my IPOD TOUCH ...    Do I need IOS 4.0 SDK and 4.0 operating system installed in my Ipod Touch???
Is the problem with multitasking because the glbasic app lose focus when openfeint start???

Thanks!!


Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: [iPhone] OpenFeint
« Reply #121 on: 2010-Aug-31 »
um no... someone in the forum had error 9 some weeks ago... kitty?
its not a bug of openFeint so i cant help yet, you will have to wait for kitty.

sorry
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Offline blackway

  • Mr. Polyvector
  • ***
  • Posts: 186
    • View Profile
Re: [iPhone] OpenFeint
« Reply #122 on: 2010-Aug-31 »
Thanks Trucidare for your reply.
Yes, I have to wait for Kitty to know what can be the problem, but is something related with GlBasic's update  to 8.085
Anybody are running Openfeint under 8.085 ???
Bye!

Offline backslider

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 892
    • View Profile
Re: [iPhone] OpenFeint
« Reply #123 on: 2010-Aug-31 »
Hi guys,

I was the person who had GLB Error: 9 Trucidare  =D
Then Kitty told me i should use STDOUT "position in game like loading graphics" (output->debugging console in xcode)

In my case I tried to dim my mouse-array with 5 (DIM mouse[5]) and the GETMOUSECOUNT() in the for loop (for i=0 to getmousecount()-1) was bigger than 5 :D
So I overloaded the array and bam -> crash!

Maybe you have the same problem?!

Offline blackway

  • Mr. Polyvector
  • ***
  • Posts: 186
    • View Profile
Re: [iPhone] OpenFeint
« Reply #124 on: 2010-Aug-31 »
I'm at work now but I feel that's the same problem because now GLBasic support up to 16 mousecount...
I forgot that !  :-[
Thanks to all!


Offline Ozden79

  • Mr. Polyvector
  • ***
  • Posts: 121
    • View Profile
Re: [iPhone] OpenFeint
« Reply #125 on: 2010-Oct-02 »
Any update to the library for the latest version, which has GameCenter support as well? I ask this as in the latest OpenFeint, achievement unlocking function has been changed...

Thanks...

Offline blackway

  • Mr. Polyvector
  • ***
  • Posts: 186
    • View Profile
Re: [iPhone] OpenFeint
« Reply #126 on: 2010-Oct-10 »
An update to latest version will be great !!....

Meanwhile I have a question/problem...
I was using Openfeint SDK that comes with the file in the first post (the file that include de xcode project template) and I compile and run my game without problems.... until now... I upgrade to IOS SDK 4.1 and after compile using 4.1 SDK and I try to run my game in the moment that openfeint try to show the "Bla bla bla, welcome back" my game freezes and a get a lot of text from the debug console (the last two lines are:   "terminate called after throwing an instance of 'NSException'" Program received signal: "SIGABRT"
Anybody are running Openfeint after building for 4.1 SDK??  If I need another sdk version of Openfeint where I can get it??? Openfeint website only have the latest SDK version..
Thanks to all !!!

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: [iPhone] OpenFeint
« Reply #127 on: 2010-Oct-12 »
wow thats awesome - how we get all infos about your crash with one line?
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Offline blackway

  • Mr. Polyvector
  • ***
  • Posts: 186
    • View Profile
Re: [iPhone] OpenFeint
« Reply #128 on: 2010-Oct-12 »
 :-[
Sorry trucidare, you are right :(
Im at work now,  I'll post the complete crash info tonigth...
Thank you...

Offline blackway

  • Mr. Polyvector
  • ***
  • Posts: 186
    • View Profile
Re: [iPhone] OpenFeint
« Reply #129 on: 2010-Oct-13 »
This is what I get in the moment when Openfeint should start with "Bla bla bla, welcome back...."

Code: GLBasic [Select]
[Session started at 2010-10-12 22:44:05 -0300.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1472) (Thu Aug  5 05:54:10 UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".tty /dev/ttys000
Loading program into debugger…
Program loaded.
target remote-mobile /tmp/.XcodeGDBRemote-138-24
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
run
Running…
[Switching to thread 11523]
[Switching to thread 11523]
sharedlibrary apply-load-rules all
continue
2010-10-12 22:46:06.105 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50ab20 of class NSConcreteValue autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.117 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50ae80 of class NSConcreteValue autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.121 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50bd80 of class NSConcreteValue autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.131 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50cd10 of class CADisplayMode autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.136 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50cea0 of class UIScreenMode autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.144 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50ee20 of class CADisplayMode autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.149 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x504980 of class UIScreenMode autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.154 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50f4b0 of class __NSCFSet autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.159 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50fbe0 of class __NSCFSet autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.163 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x50fdc0 of class __NSCFSet autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.187 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x515260 of class NSPathStore2 autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.194 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x5154d0 of class NSPathStore2 autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.200 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x514dd0 of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.205 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x515410 of class NSURL autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.210 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x3e97ef7c of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.214 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x3e97ef7c of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.219 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x515720 of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.224 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x515590 of class __NSArrayM autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.229 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x5156a0 of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.234 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x5156c0 of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.238 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x5156d0 of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.242 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x515780 of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.247 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x515840 of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.252 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x5157c0 of class NSCFString autoreleased with no pool in place - just leaking
2010-10-12 22:46:06.258 libOFTest[1260:307] *** __NSAutoreleaseNoPool(): Object 0x515970 of class NSCFString autoreleased with no pool in place - just leaking
-applicationDidBecomeActive    -> unpause
backing: 320 x 480
Init GFX
AudioStreamBasicDescription:  2 ch,  44100 Hz, 'lpcm' (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved
Init Finalized
2010-10-12 22:46:08.951 libOFTest[1260:307] *** Terminating app due to uncaught exception &#39;NSInternalInconsistencyException&#39;, reason: &#39;Could not load NIB in bundle: &#39;NSBundle </var/mobile/Applications/135FB051-4284-42BE-9127-AFDBA69F25EA/libOFTest.app> (loaded)&#39; with name &#39;RootControllerLandscapeOf&#39;&#39;
*** Call stack at first throw:
(
        0   CoreFoundation                      0x33506ed3 __exceptionPreprocess + 114
        1   libobjc.A.dylib                     0x30412811 objc_exception_throw + 24
        2   CoreFoundation                      0x33506d15 +[NSException raise:format:arguments:] + 68
        3   CoreFoundation                      0x33506d4f +[NSException raise:format:] + 34
        4   UIKit                               0x343a60d3 -[UINib instantiateWithOwner:options:] + 1110
        5   UIKit                               0x343a7489 -[NSBundle(UINSBundleAdditions) loadNibNamed:owner:options:] + 92
        6   libOFTest                           0x000687b8 _Z17loadObjectFromNibI16UIViewControllerEPT_P8NSStringP11objc_object + 84
        7   libOFTest                           0x00068c50 _ZL17tryLoadControllerP8NSStringP8NSObjectS0_S0_ + 108
        8   libOFTest                           0x00026430 +[OpenFeint(Private) tryCreateDashboardWithModal:] + 168
        9   libOFTest                           0x00028590 +[OpenFeint(Private) presentRootControllerWithModal:] + 68
        10  libOFTest                           0x0002cf20 +[OpenFeint presentUserFeintApprovalModal:deniedDelegate:] + 240
        11  libOFTest                           0x00026ebc +[OpenFeint(Private) doBootstrap:userId:onSuccess:onFailure:] + 468
        12  libOFTest                           0x0002c9fc +[OpenFeint initializeWithProductKey:andSecret:andDisplayName:andSettings:andDelegates:] + 2072
        13  libOFTest                           0x00232a0d -[myBest GLB_OF_Create] + 444
        14  CoreFoundation                      0x334a52eb -[NSObject(NSObject) performSelector:withObject:] + 22
        15  Foundation                          0x302b4825 __NSThreadPerformPerform + 268
        16  CoreFoundation                      0x334bcf25 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
        17  CoreFoundation                      0x3348eba7 __CFRunLoopDoSources0 + 382
        18  CoreFoundation                      0x3348e44b __CFRunLoopRun + 230
        19  CoreFoundation                      0x3348e277 CFRunLoopRunSpecific + 230
        20  CoreFoundation                      0x3348e17f CFRunLoopRunInMode + 58
        21  GraphicsServices                    0x31b5e5f3 GSEventRunModal + 114
        22  GraphicsServices                    0x31b5e69f GSEventRun + 62
        23  UIKit                               0x341bd123 -[UIApplication _run] + 402
        24  UIKit                               0x341bb12f UIApplicationMain + 670
        25  libOFTest                           0x002326dc GLB_iPhone_call_main + 120
        26  libOFTest                           0x0000a770 main + 32
        27  libOFTest                           0x0000a718 start + 52
)
terminate called after throwing an instance of &#39;NSException&#39;
Program received signal:  “SIGABRT”.
(gdb)
 

If I build using 3.2 I can start Openfeint without problems...

Just for reference.... I get 12 warnings while Compile Openfeint stuff (under 3.2 and 4.1)
I never had warnings before when I used to compile using 3.0 SDK.


Thanks to all...

Offline blackway

  • Mr. Polyvector
  • ***
  • Posts: 186
    • View Profile
Re: [iPhone] OpenFeint
« Reply #130 on: 2010-Oct-13 »
The 12 warnings:

Code: GLBasic [Select]
Build iPhone of project iPhone with configuration Release

CompileC build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/OFAsyncSocket.o OpenFeint/api/internal/OpenFeint/Presence/OFAsyncSocket.m normal armv6 objective-c com.apple.compilers.gcc.4_2
cd /Volumes/Untitled/bb/XCode/GLBasic
setenv LANG en_US.US-ASCII
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 -x objective-c -arch armv6 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk -fvisibility=hidden -gdwarf-2 -miphoneos-version-min=3.0 -iquote /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-generated-files.hmap -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-own-target-headers.hmap -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-all-target-headers.hmap -iquote /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-project-headers.hmap -F/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos -I/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos/include -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/DerivedSources/armv6 -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/DerivedSources -include /var/folders/Cl/ClSMSSrSGF0P3e-zKM94Lk+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/iPhone_Prefix-ddgifpxrnqqhlweloeavygdoushm/iPhone_Prefix.pch -c /Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFAsyncSocket.m -o /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/OFAsyncSocket.o

/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFAsyncSocket.m: In function &#39;-[OFAsyncSocket connectToHost:onPort:withTimeout:error:]&#39;:
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFAsyncSocket.m:977: warning: format not a string literal and no format arguments
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFAsyncSocket.m:983: warning: format not a string literal and no format arguments
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFAsyncSocket.m: In function &#39;-[OFAsyncSocket connectToAddress:withTimeout:error:]&#39;:
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFAsyncSocket.m:1025: warning: format not a string literal and no format arguments
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFAsyncSocket.m:1031: warning: format not a string literal and no format arguments

CompileC build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/OFPresenceService.o OpenFeint/api/internal/OpenFeint/Presence/OFPresenceService.mm normal armv6 objective-c++ com.apple.compilers.gcc.4_2
cd /Volumes/Untitled/bb/XCode/GLBasic
setenv LANG en_US.US-ASCII
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 -x objective-c++ -arch armv6 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk -fvisibility=hidden -fvisibility-inlines-hidden -gdwarf-2 -miphoneos-version-min=3.0 -iquote /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-generated-files.hmap -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-own-target-headers.hmap -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-all-target-headers.hmap -iquote /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-project-headers.hmap -F/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos -I/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos/include -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/DerivedSources/armv6 -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/DerivedSources -include /var/folders/Cl/ClSMSSrSGF0P3e-zKM94Lk+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/iPhone_Prefix-axpyzookfhpfytdubcbkdenorccs/iPhone_Prefix.pch -c /Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFPresenceService.mm -o /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/OFPresenceService.o

/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFPresenceService.mm: In function &#39;void -[OFPresenceService sendHttpRequest:](OFPresenceService*, objc_selector*, NSString*)&#39;:
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/OpenFeint/Presence/OFPresenceService.mm:437: warning: multiple methods named &#39;-start&#39; found
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h:59: warning: using &#39;-(void)start&#39;
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h:168: warning: also found &#39;-(UITextPosition *)start&#39;

CompileC build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/FBRequest.o OpenFeint/api/internal/Vendor/FBconnect/FBRequest.m normal armv6 objective-c com.apple.compilers.gcc.4_2
cd /Volumes/Untitled/bb/XCode/GLBasic
setenv LANG en_US.US-ASCII
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 -x objective-c -arch armv6 -fmessage-length=0 -pipe -std=c99 -Wno-trigraphs -fpascal-strings -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk -fvisibility=hidden -gdwarf-2 -miphoneos-version-min=3.0 -iquote /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-generated-files.hmap -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-own-target-headers.hmap -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-all-target-headers.hmap -iquote /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-project-headers.hmap -F/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos -I/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos/include -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/DerivedSources/armv6 -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/DerivedSources -include /var/folders/Cl/ClSMSSrSGF0P3e-zKM94Lk+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/iPhone_Prefix-ddgifpxrnqqhlweloeavygdoushm/iPhone_Prefix.pch -c /Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/Vendor/FBconnect/FBRequest.m -o /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/FBRequest.o

/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/Vendor/FBconnect/FBRequest.m: In function &#39;-[FBRequest parseXMLResponse:error:]&#39;:
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/api/internal/Vendor/FBconnect/FBRequest.m:180: warning: class &#39;FBXMLHandler&#39; does not implement the &#39;NSXMLParserDelegate&#39; protocol

CompileC build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/OFDeadEndErrorController.o OpenFeint/ui/Controllers/Common/Errors/OFDeadEndErrorController.mm normal armv6 objective-c++ com.apple.compilers.gcc.4_2
cd /Volumes/Untitled/bb/XCode/GLBasic
setenv LANG en_US.US-ASCII
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 -x objective-c++ -arch armv6 -fmessage-length=0 -pipe -Wno-trigraphs -fpascal-strings -Os -mdynamic-no-pic -Wreturn-type -Wunused-variable -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk -fvisibility=hidden -fvisibility-inlines-hidden -gdwarf-2 -miphoneos-version-min=3.0 -iquote /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-generated-files.hmap -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-own-target-headers.hmap -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-all-target-headers.hmap -iquote /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/libOFTest-project-headers.hmap -F/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos -I/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos/include -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/DerivedSources/armv6 -I/Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/DerivedSources -include /var/folders/Cl/ClSMSSrSGF0P3e-zKM94Lk+++TM/-Caches-/com.apple.Xcode.502/SharedPrecompiledHeaders/iPhone_Prefix-axpyzookfhpfytdubcbkdenorccs/iPhone_Prefix.pch -c /Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/ui/Controllers/Common/Errors/OFDeadEndErrorController.mm -o /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/OFDeadEndErrorController.o

/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/ui/Controllers/Common/Errors/OFDeadEndErrorController.mm: In function &#39;objc_object* +[OFDeadEndErrorController mustBeOnlineErrorWithMessage:](objc_object*, objc_selector*, NSString*)&#39;:
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/ui/Controllers/Common/Errors/OFDeadEndErrorController.mm:37: warning: format not a string literal and no format arguments
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/ui/Controllers/Common/Errors/OFDeadEndErrorController.mm: In function &#39;objc_object* +[OFDeadEndErrorController deadEndErrorWithMessage:](objc_object*, objc_selector*, NSString*)&#39;:
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/ui/Controllers/Common/Errors/OFDeadEndErrorController.mm:44: warning: format not a string literal and no format arguments
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/ui/Controllers/Common/Errors/OFDeadEndErrorController.mm: In function &#39;objc_object* +[OFDeadEndErrorController deadEndErrorWithMessageAndOfflineButton:](objc_object*, objc_selector*, NSString*)&#39;:
/Volumes/Untitled/bb/XCode/GLBasic/OpenFeint/ui/Controllers/Common/Errors/OFDeadEndErrorController.mm:51: warning: format not a string literal and no format arguments

Ld build/Release-iphoneos/libOFTest.app/libOFTest normal armv6
cd /Volumes/Untitled/bb/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/g++-4.2 -arch armv6 -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk -L/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos -L/Volumes/Untitled/bb/XCode/GLBasic/Lib -L/Volumes/Untitled/bb/XCode/GLBasic/../../libOpenFeint/build/Debug-iphoneos -L/Volumes/Untitled/bb/XCode/GLBasic -F/Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos -filelist /Volumes/Untitled/bb/XCode/GLBasic/build/iPhone.build/Release-iphoneos/iPhone.build/Objects-normal/armv6/libOFTest.LinkFileList -dead_strip -lstdc++ -miphoneos-version-min=3.0 -framework Foundation -framework UIKit -framework OpenGLES -framework QuartzCore -framework AudioToolbox -framework CoreLocation -framework OpenAL -lpng-gf -lPROGRAM -framework AddressBook -framework CoreGraphics -framework MapKit -framework MediaPlayer -framework MessageUI -framework Security -framework SystemConfiguration -lsqlite3.0 -framework CFNetwork -lGLBasiciPhone-egl -llibOpenFeint -o /Volumes/Untitled/bb/XCode/GLBasic/build/Release-iphoneos/libOFTest.app/libOFTest

ld: warning: directory &#39;/Volumes/Untitled/bb/XCode/GLBasic/../../libOpenFeint/build/Debug-iphoneos&#39; following -L not found

 

I added -ObjC in "other links flags" ... without that I can't compile, I had errors....

Thanks again!

Offline trucidare

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1377
  • Bachelor of Fail
    • View Profile
Re: [iPhone] OpenFeint
« Reply #131 on: 2010-Oct-13 »
i think that openfeint changed around 180 degrees. hmm send me your project please.
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

Offline blackway

  • Mr. Polyvector
  • ***
  • Posts: 186
    • View Profile
Re: [iPhone] OpenFeint
« Reply #132 on: 2010-Oct-13 »
Trucidare, thanks for your help!
Im at work Now but i'll post a link to download the xcode project tonight.
Could be that Openfeint 2.4.3 isn't compatible with iOS sdk 4.X ?
I use exactly the xcode template from first post.
Thanks again!

Offline blackway

  • Mr. Polyvector
  • ***
  • Posts: 186
    • View Profile
Re: [iPhone] OpenFeint
« Reply #133 on: 2010-Oct-14 »
Ok, I have news!! good news I think  :)
I compile my project using the latest Openfeint SDK  2.7.xxx  and compile ok, the Dashboard runs good, everything fine !!! I didn't test achievements but as Ozden79 said now Openfeint works different (achievements are progressive , lock-unlock no more), so I think that isn't working anymore.
I need 2.6 Openfeint SDK (still have Lock-Unlock achievements), but I don't know where get it....
Anybody can help me??

Ozden??

Trucidare:
The problem is that Openfeint 2.4.3 isn't compatible with IOS 4.xx SDK, I'm think (maybe I'm wrong) that you need Openfeint 2.5 SDK or newer to compile under IOS 4.x

Thanks to all!



Offline Dark Schneider

  • Mr. Polyvector
  • ***
  • Posts: 128
    • View Profile
Re: [iPhone] OpenFeint
« Reply #134 on: 2010-Dec-02 »
I have a question, is then the current OpenFeint 2.7.5 usable on GLBasic, and compatible with iOS4?.