Archived
This forum has been archived. Please start a new discussion on GitHub.
Some more errors with IceTouch
in Help Center
Ok, so I've solved my previous problem with unresolved symbols, but now when I go to do the rest of the standard setup, I get this:
Build TearsoftheElven_MUD of project TearsoftheElven_MUD with configuration Debug
Check dependencies
[WARN]warning: no rule to process file '$(PROJECT_DIR)/Classes/TotE.ice' of type sourcecode.slice for architecture i386
Ld build/Debug-iphonesimulator/TearsoftheElven_MUD.app/TearsoftheElven_MUD normal i386
cd /Users/Student/Desktop/TearsoftheElven_MUD
setenv MACOSX_DEPLOYMENT_TARGET 10.5
setenv PATH "/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch i386 -isysroot /var/folders/bb/bbOnvqV8GUiV9dFavr-BYk+++TI/-Caches-/com.apple.Xcode.501/CompositeSDKs/iphonesimulator-iPhoneSimulator3.2-erwgchzhuwsslwfihgambtgbmzev -L/Users/Student/Desktop/TearsoftheElven_MUD/build/Debug-iphonesimulator -L/Developer/SDKs/IceTouch-1.0/iphonesimulator.sdk/usr/local/lib -F/Users/Student/Desktop/TearsoftheElven_MUD/build/Debug-iphonesimulator -filelist /Users/Student/Desktop/TearsoftheElven_MUD/build/TearsoftheElven_MUD.build/Debug-iphonesimulator/TearsoftheElven_MUD.build/Objects-normal/i386/TearsoftheElven_MUD.LinkFileList -mmacosx-version-min=10.5 -Xlinker -objc_abi_version -Xlinker 2 -framework Foundation -framework UIKit -framework CoreGraphics -framework CFNetwork -framework Security -o /Users/Student/Desktop/TearsoftheElven_MUD/build/Debug-iphonesimulator/TearsoftheElven_MUD.app/TearsoftheElven_MUD
Undefined symbols:
"_OBJC_CLASS_$_TotEclientclientActiontypesPrx", referenced from:
objc-class-ref-to-TotEclientclientActiontypesPrx in TearsoftheElven_MUDViewController.o
"_OBJC_CLASS_$_ICEUtil", referenced from:
objc-class-ref-to-ICEUtil in TearsoftheElven_MUDViewController.o
"_OBJC_METACLASS_$_TotEclientclientActiontypes", referenced from:
_OBJC_METACLASS_$_ClientActions in ClientAction.o
"_OBJC_CLASS_$_TotEclientclientActiontypes", referenced from:
_OBJC_CLASS_$_ClientActions in ClientAction.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
I've done the following so far, as far as my viewDidLoad function goes...
// Initialization code
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
communicator = nil;
@try
{
*communicator = [[ICEUtil createCommunicator]retain];
//NSNotificationCenter
id<ICEObjectAdapter> adapter = [*communicator createObjectAdapterWithEndpoints: @"SimplePrinterAdapter" endpoints:@"default ‑p 10000"];
id<ICEObjectPrx> base = [*communicator stringToProxy:@"TotE:default ‑p 10000"];
tote = [TotEclientclientActiontypesPrx checkedCast:base];
if(!tote)
{
[NSException raise:@"Invalid proxy" format:nil];
}
ICEObject *object = [[[ClientActions alloc] init] autorelease];
[adapter add:object identity:[*communicator stringToIdentity:@"TotEMUDClient"]];
[adapter activate];
[*communicator waitForShutdown];
} @catch (NSException *ex) {
NSLog(@"%@\n", [ex name]);
}
0