简体   繁体   中英

FTDI Chip ID on Mac OS Yosemite

I'm trying to get run Sample App from

http://www.ftdichip.com/Support/SoftwareExamples/FTDIChip-ID.htm

for Mac OS.

My problem is to get it compiled for Mac OS Yosemite.

I get this errors after "making" it :

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

can someone help?

I have found the way how to read the ID without this library. it is written in EEPROM.

FT_ReadEE (ftHandle, 0x43, &wTemp) (FT_ReadEE (ftHandle, 0x44, &wTemp)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM