libftdi Archives

Subject: Re: Building libftdi under Windows using MSYS2

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Sat, 9 Jun 2018 21:06:31 +0800
On Sat, Jun 9, 2018 at 8:25 PM, Xiaofan Chen <xiaofanc@xxxxxxxxx> wrote:
> On Sat, Jun 9, 2018 at 12:11 PM, Xiaofan Chen <xiaofanc@xxxxxxxxx> wrote:
>> On Sat, Jun 9, 2018 at 11:52 AM, Xiaofan Chen <xiaofanc@xxxxxxxxx> wrote:
>>> On Sat, Jun 9, 2018 at 11:45 AM, Xiaofan Chen <xiaofanc@xxxxxxxxx> wrote:
>>>> Last time it seems to be pretty easy to build libftdi binaries
>>>> from the source archive under MSYS2, now it seems to be
>>>> slightly more difficult. Not so sure if it is related to my system or not.
>>>>
>>>> Ref:
>>>> http://libftdi.141977.n3.nabble.com/Building-libftdi-under-Windows-with-MSYS2-td4026004.html
>>>>
>>>> MSYS2 binary packages seem to be fine but it does not build the
>>>> examples and documentations.
>>>> https://github.com/Alexpux/MINGW-packages/blob/master/mingw-w64-libftdi/PKGBUILD
>>>>
>>>> 1. It does not seems to build the C++  binding, tests and documentation
>>>> by default even though I have installed Boost and Doxygen.
>>>>
>>>> 2. So I have to manually enable the above. Then it works fine.
>>>
>>> Still the Python binding build does not seem to work.
>>>
>>> BTW, the build is with libftdi git.
>>>
>>
>> Cleanup everything and redo did not help.
>>
>
> Using Python.org python fixed the problem.
>
> It may be a MSYS2 Python problem or maybe my MSYS2 installation.
> Anyway, this is not a libftdi problem.
>

Actually not really, rather it seems to point to MSYS2's CMake.
If I use official cmake from cmake.org, I can build the Python binding
both for official Python and MSYS2 python.

Again, this is not a libftdi problem.


-- 
Xiaofan

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

Current Thread