Xcode 4.6 Apple linker's Error
Posted: Mon Feb 18, 2013 1:57 am
As musain got his problem solved and seems a bit different from mine, I don't want to spam on his thread anymore.
Set-up :
Xcode 4.6
OS X : 10.7/5
I've tried to put the frameworks in Developer/Library/frameworks but I still got a linker error for each functions.
The header is found (seems found as there is no error on this line), examples files works (ONLY in terminal, not in XCode).
I can't downgrade XCode to a previous version (where everything was fine) for Cuda issues, I'll like to avoid to work with makefile.
Set-up :
Xcode 4.6
OS X : 10.7/5
I've tried to put the frameworks in Developer/Library/frameworks but I still got a linker error for each functions.
The header is found (seems found as there is no error on this line), examples files works (ONLY in terminal, not in XCode).
I can't downgrade XCode to a previous version (where everything was fine) for Cuda issues, I'll like to avoid to work with makefile.
The code is from the example provided.Undefined symbols for architecture x86_64:
"_CPhidgetAdvancedServo_create", referenced from:
servo_simpleA() in main.o
"_CPhidgetAdvancedServo_getAccelerationMin", referenced from:
servo_simpleA() in main.o
"_CPhidgetAdvancedServo_getMotorCount", referenced from:
display_properties(_CPhidgetAdvancedServo*) in main.o
"_CPhidgetAdvancedServo_getPosition", referenced from:
servo_simpleA() in main.o
"_CPhidgetAdvancedServo_getVelocityMax", referenced from:
servo_simpleA() in main.o
"_CPhidgetAdvancedServo_setAcceleration", referenced from:
servo_simpleA() in main.o
"_CPhidgetAdvancedServo_setEngaged", referenced from:
servo_simpleA() in main.o
"_CPhidgetAdvancedServo_setPosition", referenced from:
servo_simpleA() in main.o
"_CPhidgetAdvancedServo_setVelocityLimit", referenced from:
servo_simpleA() in main.o
"_CPhidgetAdvancedServo_set_OnPositionChange_Handler", referenced from:
servo_simpleA() in main.o
"_CPhidget_close", referenced from:
servo_simpleA() in main.o
"_CPhidget_delete", referenced from:
servo_simpleA() in main.o
"_CPhidget_getDeviceName", referenced from:
AttachHandler(_CPhidget*, void*) in main.o
DetachHandler(_CPhidget*, void*) in main.o
"_CPhidget_getDeviceType", referenced from:
display_properties(_CPhidgetAdvancedServo*) in main.o
"_CPhidget_getDeviceVersion", referenced from:
display_properties(_CPhidgetAdvancedServo*) in main.o
"_CPhidget_getErrorDescription", referenced from:
servo_simpleA() in main.o
"_CPhidget_getSerialNumber", referenced from:
AttachHandler(_CPhidget*, void*) in main.o
DetachHandler(_CPhidget*, void*) in main.o
display_properties(_CPhidgetAdvancedServo*) in main.o
"_CPhidget_open", referenced from:
servo_simpleA() in main.o
"_CPhidget_set_OnAttach_Handler", referenced from:
servo_simpleA() in main.o
"_CPhidget_set_OnDetach_Handler", referenced from:
servo_simpleA() in main.o
"_CPhidget_set_OnError_Handler", referenced from:
servo_simpleA() in main.o
"_CPhidget_waitForAttachment", referenced from:
servo_simpleA() in main.o
ld: symbol(s) not found for architecture x86_64