this error is driving me mad
this error is driving me mad
- Subject: this error is driving me mad
- From: H.Miersch <email@hidden>
- Date: Sat, 7 Mar 2009 12:09:20 +0000
hi.
i'm trying to learn how to access USB devices so i can add support for
an analogue joystick to an existing game. for that purpose i've
started a new project that is supposed to read the data from the
joystick and move some sliders accordingly.
anyway, I have this
- (void) awakeFromNib
{
kr = IOMasterPort(MACH_PORT_NULL, &masterPort);
}
in controller.m. the problem is that during linking i get the
following error:
"_IOMasterPort", referenced from:
-[Controller awakeFromNib] in Controller.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
the bit that drives me mad is that the line works in
USBNotificationExample.xcodeproj, but not in my project, and i just
CAN'T FIND OUT WHY. argh!
can anyone point me in the right direction? is it because it is C code
in a .m file?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden