libftdi Archives

Subject: Re: mac osx build of libftdi

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Sat, 03 Dec 2011 10:57:05 +0100
On 12/03/2011 09:19 AM, Xiaofan Chen wrote:
>> This is a bit odd. May be it picks up an old libftdi header file?
>>
>> Do you have a version of libftdi already installed?
>>
> 
> You are right, after removing libftdi-0.19 from Macports the
> problems are solved (except the Boost related problems).

There's a line in examples/CMakeLists.txt 
that should magically solve it:

    include_directories(BEFORE ${CMAKE_SOURCE_DIR}/src)

Notice the "BEFORE" in there. 

If you run make with "make VERBOSE=1", cmake will show you
the complete compiler invocation with all include paths.

Thomas

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

Current Thread