Currency Converter Tutorial Problems
Currency Converter Tutorial Problems
- Subject: Currency Converter Tutorial Problems
- From: Alex kadis <email@hidden>
- Date: Wed, 20 Oct 2004 22:58:30 -0400
I used a forum[1] to post this, but it didn't seem to appear on the
mailing list, so I am trying this. If I am wrong... sorry
Anyway:
I'm new to objective-c so I am clueless as to what I am doing wrong...
I'm using Apple's Currency Converter Tutorial.[2]
I have made the program and am encountering a few errors that keep it
from compiling... I think the main problem is that it won't include a
file for some reason.
The page that I think I messed up on. [3]
Anyway here [4] is the file << 4.64mb zip NOTE: to ensure that no-one
decides to mess with my Bandwidth with that huge file, I will delete
it after a few downloads.....
The full error:
-----------------------------------
Native Build of Target "CurrencyConverter"
CompileC build/CurrencyConverter.build/CurrencyConverter.build/Objects-normal/ppc/ConverterController.o
ConverterController.m normal ppc objective-c
com.apple.compilers.gcc.3_3
cd /Users/(MY_UN)/Projects/CurrencyConverter
/usr/bin/gcc-3.3 -x objective-c -arch ppc -pipe -Wno-trigraphs
-fasm-blocks -fpascal-strings -g -O0 -mtune=G4 -fmessage-length=0
-ffix-and-continue -fzero-link
-F/Users/(MY_UN)/Projects/CurrencyConverter/build
-I/Users/(MY_UN)/Projects/CurrencyConverter/build/include
-I/Users/(MY_UN)/Projects/CurrencyConverter/build/CurrencyConverter.build/CurrencyConverter.build/DerivedSources
-Wp,-header-mapfile,/Users/(MY_UN)/Projects/CurrencyConverter/build/CurrencyConverter.build/CurrencyConverter.build/CurrencyConverter.hmap
-include /Users/(MY_UN)/Projects/CurrencyConverter/build/CurrencyConverter.build/SharedCaches/CurrencyConverter_Prefix-arrvpudnjhcehcbxgmplmfpegdrj/CurrencyConverter_Prefix.pch
-c /Users/(MY_UN)/Projects/CurrencyConverter/ConverterController.m -o
/Users/(MY_UN)/Projects/CurrencyConverter/build/CurrencyConverter.build/CurrencyConverter.build/Objects-normal/ppc/ConverterController.o
In file included from
/Users/(MY_UN)/Projects/CurrencyConverter/ConverterController.m:2:
/Users/(MY_UN)/Projects/CurrencyConverter/converter.h:7: error: parse
error before '-' token
/Users/(MY_UN)/Projects/CurrencyConverter/ConverterController.m: In
function `-[ConverterController convert:]':
/Users/(MY_UN)/Projects/CurrencyConverter/ConverterController.m:12:
warning: `converter' may not respond to `+convertAmount:atRate:'
/Users/(MY_UN)/Projects/CurrencyConverter/ConverterController.m:12:
warning: cannot find method `+convertAmount:atRate:'; return type `id'
assumed
/Users/(MY_UN)/Projects/CurrencyConverter/ConverterController.m:12:
error: incompatible types in assignment
-----------------------------------
Note: (MY_UN) was my UserName -- I changed it -- I'm paranoid
[1]
http://haoli.dnsalias.com/forums/
[2]
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCTutorial/chapter04/chapter_4_section_6.html
[3]
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjCTutorial/chapter04/chapter_4_section_6.html
[4]
http://www.simplewebdev.com/CurrencyConverter.zip
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden