libftdi Archives

Subject: Re: ftdi_eeprom link failure

From: Hannes Weisbach <hannes_weisbach@xxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 30 Apr 2013 12:48:24 +0200
Am 30.04.2013 um 10:54 schrieb xantares 09:

> 
> Here is a cleaner way ; detect libintl if separate from libc, could someone 
> test this on osx:
> https://gitorious.org/libftdi/libftdi/commit/8b860ed08731ae6ab639973735b376de3694a199
> 
It works, although I have to point CMake to the correct prefix of the library 
with -DCMAKE_PREFIX_PATH="/opt/local" (where MacPorts puts its stuff by 
default). Otherwise CMake uses the system library, which has the wrong 
architecture:
ld: warning: in /usr/local/lib/libintl.dylib, missing required architecture 
x86_64 in file.

A note for OS X users to use CMAKE_PREFIX_PATH in README.build when they have 
their libs elsewhere (i.e. use a packet manager) would be nice.

Best regards,
Hannes
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread