PDA

View Full Version : [iPhone SDK] Weird Error




Duke Leto
Jul 9, 2008, 09:03 PM
So I am creating files with empty methods to prototype a new application. Thus, there is no 'real code', just the necessary delegate methods . Everything else is just comments in pseudo-code.

Still, I get this error:

http://i222.photobucket.com/albums/dd24/RabidUndeadMonkeys/Picture1-2.png

I never even created a file with an extension of ".o"



admanimal
Jul 9, 2008, 09:16 PM
So I am creating files with empty methods to prototype a new application. Thus, there is no 'real code', just the necessary delegate methods . Everything else is just comments in pseudo-code.

Still, I get this error:

http://i222.photobucket.com/albums/dd24/RabidUndeadMonkeys/Picture1-2.png

I never even created a file with an extension of ".o"

.o files are object code files that the compiler creates from your source code. Did you import all of the necessary header files to cover everything you have mentioned in your code so far?

Duke Leto
Jul 9, 2008, 09:23 PM
Well I thought of something:

Does an object need to be "connected"? This particular class has not yet been used by other classes nor does it use other classes. Its just two files.

Other than that.. I think I have everything. What do I need to use CGRectZero other than UIKit.h?

Enuratique
Jul 9, 2008, 09:23 PM
So I am creating files with empty methods to prototype a new application. Thus, there is no 'real code', just the necessary delegate methods . Everything else is just comments in pseudo-code.

Still, I get this error:

http://i222.photobucket.com/albums/dd24/RabidUndeadMonkeys/Picture1-2.png

I never even created a file with an extension of ".o"

I've run into the exact same problem, created a post about it, and got an answer (http://forums.macrumors.com/showthread.php?t=505359).

You need to add a reference to CoreGraphics.framework to your project references.

Duke Leto
Jul 9, 2008, 09:38 PM
Man do I feel stupid.

Thanks for the help!