Undefined symbols for architecture x86_64:
"CDeviceManager::GetCurrentID()", referenced from:
MFAPP_UI_0020::ShowLoadDataView() in mfapp_ui_0020.o
MFAPP_UI_0020::LoadDataITunesFile() in mfapp_ui_0020.o
MFAPP_UI_0020::ShowITunesLoadData() in mfapp_ui_0020.o
"CDeviceManager::ConnectDevice(unsigned long long const&, void (*)(unsigned long long, GM_ENUM_DevTaskType, void*, int, void*), void*)", referenced from:
MFAPP_UI_0020::CheckDevToView() in mfapp_ui_0020.o
MFAPP_UI_0020::ConnectITunesFile() in mfapp_ui_0020.o
"CDeviceManager::GetDeviceCount()", referenced from:
MFAPP_UI_0020::ShowITunesView() in mfapp_ui_0020.o
MFAPP_UI_0020::CheckDevToView() in mfapp_ui_0020.o
MFAPP_UI_0020::ConnectITunesFile() in mfapp_ui_0020.o
"CDeviceManager::GetDeviceByIndex(unsigned int, tagDeviceBaseInfo&)", referenced from:
MFAPP_UI_0020::ShowITunesView() in mfapp_ui_0020.o
MFAPP_UI_0020::CheckDevToView() in mfapp_ui_0020.o
MFAPP_UI_0020::ConnectITunesFile() in mfapp_ui_0020.o
"CDeviceManager::GetCurrentDeviceInfo(tagDeviceInfo&)", referenced from:
MFAPP_UI_0020::slotSetCurDevInfo() in mfapp_ui_0020.o
MFAPP_UI_0020::ShowDevConnectSucceedView() in mfapp_ui_0020.o
MFAPP_UI_0020::ShowLoadDataView() in mfapp_ui_0020.o
"CDeviceManager::Add(tagDeviceBaseInfo const&)", referenced from:
MFAPP_UI_0020::Callback_ListenDevice(GM_ENUM_MSG_ListenDevice, tagDeviceBaseInfo, void*) in mfapp_ui_0020.o
MFAPP_UI_0020::MsgManager(GM_ENUM_MSG_ListenDevice const&, tagDeviceBaseInfo const&) in mfapp_ui_0020.o
"CDeviceManager::Remove(unsigned long long const&)", referenced from:
MFAPP_UI_0020::Callback_ListenDevice(GM_ENUM_MSG_ListenDevice, tagDeviceBaseInfo, void*) in mfapp_ui_0020.o
MFAPP_UI_0020::MsgManager(GM_ENUM_MSG_ListenDevice const&, tagDeviceBaseInfo const&) in mfapp_ui_0020.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [mac_data_recovery.app/Contents/MacOS/mac_data_recovery] Error 1
-----------------------------------------------------------------------------------------------------
文件名修改以后
duplicate symbol __ZN14CDeviceManagerC1Ev in:
UIDeviceManager.o
DeviceManager.o
duplicate symbol __ZN14CDeviceManagerC2Ev in:
UIDeviceManager.o
DeviceManager.o
duplicate symbol __ZN14CDeviceManagerD1Ev in:
UIDeviceManager.o
DeviceManager.o
duplicate symbol __ZN14CDeviceManagerD2Ev in:
UIDeviceManager.o
DeviceManager.o
duplicate symbol __ZN25CGMCallback_DeviceConnect16AppleDevCallbackEiP11IBaseDevicePv in:
DeviceManager.o
GMDeviceManager.o
duplicate symbol __ZTV25CGMCallback_DeviceConnect in:
DeviceManager.o
GMDeviceManager.o
duplicate symbol __ZTI25CGMCallback_DeviceConnect in:
DeviceManager.o
GMDeviceManager.o
duplicate symbol __ZTS25CGMCallback_DeviceConnect in:
DeviceManager.o
GMDeviceManager.o
ld: 8 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)