![]() |
Holy crap, check out the Dangerous Things store! |
Mac C implementations |
Post Reply
|
Page <12 |
| Author | |
tinkerC
Newbie
Joined: 25 December 2008 Location: United States Status: Offline Points: 34 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 December 2008 at 3:07pm |
|
Where do you find it from? Could you please post an entire error, the file,
and the line number? |
|
![]() |
|
tinkerC
Newbie
Joined: 25 December 2008 Location: United States Status: Offline Points: 34 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 December 2008 at 3:10pm |
How do you get the file installed? Could you post another error and line number for file? |
|
![]() |
|
mcgurrin
Newbie
Joined: 25 December 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 December 2008 at 4:05pm |
|
It installed automatically with the framework installer.
Below is the build log from my IDE -------------- Build: Debug in rfid sample --------------- Compiling: RFID-simple.c Linking console executable: bin/Debug/rfid sample Undefined symbols: "_CPhidget_set_OnDetach_Handler", referenced from: _rfid_simple in RFID-simple.o "_CPhidget_set_OnAttach_Handler", referenced from: _rfid_simple in RFID-simple.o "_CPhidget_open", referenced from: _rfid_simple in RFID-simple.o "_CPhidget_getErrorDescription", referenced from: _rfid_simple in RFID-simple.o "_CPhidgetRFID_create", referenced from: _rfid_simple in RFID-simple.o "_CPhidget_set_OnError_Handler", referenced from: _rfid_simple in RFID-simple.o "_CPhidget_getDeviceName", referenced from: _AttachHandler in RFID-simple.o _DetachHandler in RFID-simple.o "_CPhidgetRFID_getOutputCount", referenced from: _display_properties in RFID-simple.o "_CPhidget_getDeviceType", referenced from: _display_properties in RFID-simple.o "_CPhidgetRFID_setLEDOn", referenced from: _TagHandler in RFID-simple.o _TagLostHandler in RFID-simple.o "_CPhidget_delete", referenced from: _rfid_simple in RFID-simple.o "_CPhidgetRFID_setAntennaOn", referenced from: _rfid_simple in RFID-simple.o "_CPhidget_getSerialNumber", referenced from: _AttachHandler in RFID-simple.o _DetachHandler in RFID-simple.o _display_properties in RFID-simple.o "_CPhidgetRFID_setOutputState", referenced from: _rfid_simple in RFID-simple.o _rfid_simple in RFID-simple.o "_CPhidgetRFID_set_OnTagLost_Handler", referenced from: _rfid_simple in RFID-simple.o "_CPhidgetRFID_set_OnOutputChange_Handler", referenced from: _rfid_simple in RFID-simple.o "_CPhidget_getDeviceVersion", referenced from: _display_properties in RFID-simple.o "_CPhidget_waitForAttachment", referenced from: _rfid_simple in RFID-simple.o "_CPhidgetRFID_getLEDOn", referenced from: _display_properties in RFID-simple.o "_CPhidgetRFID_getAntennaOn", referenced from: _display_properties in RFID-simple.o "_CPhidget_close", referenced from: _rfid_simple in RFID-simple.o "_CPhidgetRFID_set_OnTag_Handler", referenced from: _rfid_simple in RFID-simple.o ld: symbol(s) not found collect2: ld returned 1 exit status Process terminated with status 1 (0 minutes, 1 seconds) 0 errors, 0 warnings |
|
![]() |
|
tinkerC
Newbie
Joined: 25 December 2008 Location: United States Status: Offline Points: 34 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 December 2008 at 4:28pm |
|
Do you have all of the files uploaded in to the xcode project? These
functions are from other files, and you need to run all to get anything. |
|
![]() |
|
mcgurrin
Newbie
Joined: 25 December 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 December 2008 at 6:49am |
|
I am not using xcode, I am using CodeBlocks to develop it. I had the .h file included, what other files would I need to include?
|
|
![]() |
|
tinkerC
Newbie
Joined: 25 December 2008 Location: United States Status: Offline Points: 34 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 December 2008 at 7:12am |
|
You wouldn't #include them, you would upload them into he project. I
don't know how on CodeBlocks, but those functions are all in other .c files. The files can be found in the folder standardC. Upload all of them. All of them.
|
|
![]() |
|
mcgurrin
Newbie
Joined: 25 December 2008 Status: Offline Points: 9 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 December 2008 at 7:21am |
|
I don't see any file with those functions in the standardC folder. I know how to add the files to a project, but if I don't have the file I can't add it. The files in that folder are the examples, not the library inclusions or implementations.
|
|
![]() |
|
tinkerC
Newbie
Joined: 25 December 2008 Location: United States Status: Offline Points: 34 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 December 2008 at 12:07pm |
|
Open the .tar file. The files are not just examples, they are the actual code.
|
|
![]() |
|
Post Reply
|
Page <12 |
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |