Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Another error code with Build a Game with spritekit

Hi,

I am currently going through the video on Build a Game with SpriteKit

I am on World Setup and Physics Bodies part on the second video .. From 6.30 into the video it seems I have got everything correct but keep showing error message on Xcode.

Please help, image link below.

http://imgur.com/6pcLdzS

3 Answers

If you click the red circle in the gutter on the left, what does it say?

Doesn't CGSizeMake need a capital 'S' - you've not got one? Best try that first!

Steve.

It says

Implicit declaration of funcation 'CGSizeMake' is invalid in C99

Yes that worked, thanks Steve!

Woohoo! Glad that worked. :-D

Steve.