[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
Chipmunk Physics • View topic - How can I compile cloud bomber

How can I compile cloud bomber

Official forum for the .

How can I compile cloud bomber

Postby zeofield » Sun Nov 18, 2012 7:10 am

I downloaded cloud bomber and compiled it. There were 2 link error


Ld /Users/x/Library/Developer/Xcode/DerivedData/CloudBomber-ahabplppybqmuobwigvlqijulqwc/Build/Intermediates/CloudBomber.build/Debug-iphoneos/CloudBomber.build/Objects-normal/armv7/CloudBomber normal armv7
cd /Users/x/Downloads/Chipmunk/CloudBomber-master
setenv IPHONEOS_DEPLOYMENT_TARGET 4.0
setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -L/Users/x/Library/Developer/Xcode/DerivedData/CloudBomber-ahabplppybqmuobwigvlqijulqwc/Build/Products/Debug-iphoneos -L/Users/x/Downloads/Chipmunk/CloudBomber-master/ChipmunkPro-iPhone-Trial -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/arc -L/Applications/Xcode.app/Contents/Developer/usr/lib/arc -F/Users/x/Library/Developer/Xcode/DerivedData/CloudBomber-ahabplppybqmuobwigvlqijulqwc/Build/Products/Debug-iphoneos -filelist /Users/x/Library/Developer/Xcode/DerivedData/CloudBomber-ahabplppybqmuobwigvlqijulqwc/Build/Intermediates/CloudBomber.build/Debug-iphoneos/CloudBomber.build/Objects-normal/armv7/CloudBomber.LinkFileList -dead_strip -lz -ObjC -fobjc-link-runtime -miphoneos-version-min=4.0 -framework CoreMotion -framework ImageIO -framework QuartzCore -framework OpenGLES -framework OpenAL -framework AudioToolbox -framework AVFoundation -framework UIKit -framework Foundation -framework CoreGraphics -framework GameKit -lChipmunkPro-iPhone -larclite_iphoneos -larclite_iphonesimulator -o /Users/x/Library/Developer/Xcode/DerivedData/CloudBomber-ahabplppybqmuobwigvlqijulqwc/Build/Intermediates/CloudBomber.build/Debug-iphoneos/CloudBomber.build/Objects-normal/armv7/CloudBomber

ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/lib/arc'
ld: warning: directory not found for option '-L/Applications/Xcode.app/Contents/Developer/usr/lib/arc'
ld: library not found for -larclite_iphoneos
clang: error: linker command failed with exit code 1 (use -v to see invocation)

How can I compile it successfully?
zeofield
 
Posts: 14
Joined: Thu Nov 15, 2012 8:07 pm

Re: How can I compile cloud bomber

Postby slembcke » Mon Nov 19, 2012 2:51 pm

They moved the arclite library location around in the past few versions of Xcode. I just updated the github project to use Cocos2D 2.1b3 as well as enabling ARC the regular way.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
 
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm

Re: How can I compile cloud bomber

Postby zeofield » Tue Nov 20, 2012 2:20 am

Thanks, it's working now. Could you please update other demo projects? Space Patrol also has the same issue.

Multitouch Objective Chipmunk and iPhoneSnap has another error

ld: file is universal (3 slices) but does not contain a(n) armv7s slice: /Users/x/Downloads/MultiTouchObjectiveChipmunk/MultiTouchObjectiveChipmunk/Objective-Chipmunk-trial/libObjectiveChipmunk-iPhone.a for architecture armv7s
collect2: ld returned 1 exit status
Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1
zeofield
 
Posts: 14
Joined: Thu Nov 15, 2012 8:07 pm

Re: How can I compile cloud bomber

Postby slembcke » Tue Nov 20, 2012 2:43 am

Yup, was working on SpacePatrol today, but didn't get it finished. Should be able to work on it tomorrow afternoon though.

Rather annoying that when upgrading an existing project Xcode automatically enables arm7s compilation. -_- Ensuring that old projects that have static libraries in them don't work.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
 
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm

Re: How can I compile cloud bomber

Postby zeofield » Tue Nov 20, 2012 2:59 am

Thank you very much. The engine is really very great!
zeofield
 
Posts: 14
Joined: Thu Nov 15, 2012 8:07 pm

Re: How can I compile cloud bomber

Postby slembcke » Tue Nov 20, 2012 1:27 pm

Ok. SpacePatrol and iPhoneSnap are updated.

I moved iPhoneSnap to Github (haven't updated the webpage just yet):
https://github.com/slembcke/iPhoneSnap

More demos on the way! It's good to have some free time away from contract work. :D
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
 
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm

Re: How can I compile cloud bomber

Postby ganesha » Thu Nov 29, 2012 2:04 pm

I downloaded the demo from Github but I get another strange error. "Cannot copy Sky-hd.png" etc. for all images.

Should I run any script to generate the images?
ganesha
 
Posts: 71
Joined: Mon Sep 06, 2010 1:29 pm

Re: How can I compile cloud bomber

Postby slembcke » Thu Nov 29, 2012 5:16 pm

Well, I made a build rule that is supposed to use the imageconvert/retinaconvert utilities in the Support/ directory to turn the .psd files into .png files. Check the full build log. Did it run them?

You should see a bunch of these in the build log:
Image

If not... then Grah! What the crap? If it did, then that's also frustrating...
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
 
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm

Re: How can I compile cloud bomber

Postby ganesha » Fri Nov 30, 2012 12:59 pm

The scripts are running and I have spotted the error.

Created image path: "/Library/Developer/Xcode/DerivedData/SpacePatrol-eehrsqupwmlvbbewmwvqrihvtsiw/Build/Products"

Requested copy path: "/Library/Developer/Xcode/DerivedData/SpacePatrol-eehrsqupwmlvbbewmwvqrihvtsiw/Build/Intermediates"
ganesha
 
Posts: 71
Joined: Mon Sep 06, 2010 1:29 pm

Re: How can I compile cloud bomber

Postby slembcke » Fri Nov 30, 2012 1:38 pm

Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
 
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm

Next

Return to Chipmunk2D Physics

Who is online

Users browsing this forum: No registered users and 0 guests