[英]FTDI Chip ID on Mac OS Yosemite
我正在尝试从以下位置运行示例应用程序
http://www.ftdichip.com/Support/SoftwareExamples/FTDIChip-ID.htm
对于Mac OS。
我的问题是要为Mac OS Yosemite编译它。
我“制造”它后得到这个错误:
ld: warning: ignoring file ./libftchipid.dylib, missing required architecture x86_64 in file ./libftchipid.dylib (2 slices) Undefined symbols for architecture x86_64: "_FTID_Constructor", referenced from: _main in ChipID-3efebc.o "_FTID_Destructor", referenced from: _main in ChipID-3efebc.o "_FTID_GetChipIDFromHandle", referenced from: _main in ChipID-3efebc.o "_FTID_GetDeviceChipID", referenced from: _main in ChipID-3efebc.o "_FTID_GetDeviceDescription", referenced from: _main in ChipID-3efebc.o "_FTID_GetDeviceSerialNumber", referenced from: _main in ChipID-3efebc.o "_FTID_GetDllVersion", referenced from: _main in ChipID-3efebc.o "_FTID_GetErrorCodeString", referenced from: _main in ChipID-3efebc.o "_FTID_GetNumDevices", referenced from: _main in ChipID-3efebc.o ld: symbol(s) not found for architecture x86_64
有人可以帮忙吗?
我找到了一种无需该库即可读取ID的方法。 它被写入EEPROM。
FT_ReadEE (ftHandle, 0x43, &wTemp) (FT_ReadEE (ftHandle, 0x44, &wTemp)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.