On Tue, Jan 28, 2014 at 11:36 AM, Xiaofan Chen <[email protected]> wrote: > On Fri, Jan 24, 2014 at 12:31 AM, Thomas Jarosch > <[email protected]> wrote: >> I'm pleased to announce the release candidate of libftdi 1.1. >> >> Please give it some good testing. Final release is planned for late next >> week. > > I think the unit-test program build problem is with nuwen's Boost library. > I will try to build it with another version (MinGW.org and my own Boost > build). There I should be able to build the unit-test program. I think > I can build the Python binding there as well. >
Yes I can build everything with the Boost 1.49 I built myself using MinGW.org gcc 4.7.2 (not the latest). I am using the CMake GUI to get the configure done. I can manually point LIBINTL location here. I also built libconfuse myself. Again there are some warnings and I am not so sure if they are really critical or not. c:\work\libftdi\libftdi\build>mingw32-make Scanning dependencies of target docs [ 4%] Generating doc/html/index.html warning: ignoring unsupported tag `AUTOLINK_SUPPORT =' at line 260, file C :/work/libftdi/libftdi/build/Doxyfile warning: ignoring unsupported tag `HTML_EXTRA_STYLESHEET =' at line 919, file C :/work/libftdi/libftdi/build/Doxyfile warning: ignoring unsupported tag `HTML_INDEX_NUM_ENTRIES =' at line 976, file C :/work/libftdi/libftdi/build/Doxyfile [ 4%] Built target docs Scanning dependencies of target ftdi1 [ 8%] Building C object src/CMakeFiles/ftdi1.dir/ftdi.c.obj C:\work\libftdi\libftdi\src\ftdi.c: In function 'ftdi_write_data_submit': C:\work\libftdi\libftdi\src\ftdi.c:1553:31: warning: passing argument 6 of 'libu sb_fill_bulk_transfer' from incompatible pointer type [enabled by default] In file included from C:\work\libftdi\libftdi\src\ftdi.c:31:0: C:/work/libusbx/libusb-1.0.18-win/include/libusb-1.0/libusb.h:1536:20: note: exp ected 'libusb_transfer_cb_fn' but argument is of type 'void (*)(struct libusb_tr ansfer *)' C:\work\libftdi\libftdi\src\ftdi.c: In function 'ftdi_read_data_submit': C:\work\libftdi\libftdi\src\ftdi.c:1635:5: warning: passing argument 6 of 'libus b_fill_bulk_transfer' from incompatible pointer type [enabled by default] In file included from C:\work\libftdi\libftdi\src\ftdi.c:31:0: C:/work/libusbx/libusb-1.0.18-win/include/libusb-1.0/libusb.h:1536:20: note: exp ected 'libusb_transfer_cb_fn' but argument is of type 'void (*)(struct libusb_tr ansfer *)' [ 12%] Building C object src/CMakeFiles/ftdi1.dir/ftdi_stream.c.obj C:\work\libftdi\libftdi\src\ftdi_stream.c: In function 'ftdi_readstream': C:\work\libftdi\libftdi\src\ftdi_stream.c:204:35: warning: passing argument 6 of 'libusb_fill_bulk_transfer' from incompatible pointer type [enabled by default] In file included from C:\work\libftdi\libftdi\src\ftdi_stream.c:44:0: C:/work/libusbx/libusb-1.0.18-win/include/libusb-1.0/libusb.h:1536:20: note: exp ected 'libusb_transfer_cb_fn' but argument is of type 'void (*)(struct libusb_tr ansfer *)' Linking C shared library libftdi1.dll [ 12%] Built target ftdi1 Scanning dependencies of target ftdi1-static [ 16%] Building C object src/CMakeFiles/ftdi1-static.dir/ftdi.c.obj C:\work\libftdi\libftdi\src\ftdi.c: In function 'ftdi_write_data_submit': C:\work\libftdi\libftdi\src\ftdi.c:1553:31: warning: passing argument 6 of 'libu sb_fill_bulk_transfer' from incompatible pointer type [enabled by default] In file included from C:\work\libftdi\libftdi\src\ftdi.c:31:0: C:/work/libusbx/libusb-1.0.18-win/include/libusb-1.0/libusb.h:1536:20: note: exp ected 'libusb_transfer_cb_fn' but argument is of type 'void (*)(struct libusb_tr ansfer *)' C:\work\libftdi\libftdi\src\ftdi.c: In function 'ftdi_read_data_submit': C:\work\libftdi\libftdi\src\ftdi.c:1635:5: warning: passing argument 6 of 'libus b_fill_bulk_transfer' from incompatible pointer type [enabled by default] In file included from C:\work\libftdi\libftdi\src\ftdi.c:31:0: C:/work/libusbx/libusb-1.0.18-win/include/libusb-1.0/libusb.h:1536:20: note: exp ected 'libusb_transfer_cb_fn' but argument is of type 'void (*)(struct libusb_tr ansfer *)' [ 20%] Building C object src/CMakeFiles/ftdi1-static.dir/ftdi_stream.c.obj C:\work\libftdi\libftdi\src\ftdi_stream.c: In function 'ftdi_readstream': C:\work\libftdi\libftdi\src\ftdi_stream.c:204:35: warning: passing argument 6 of 'libusb_fill_bulk_transfer' from incompatible pointer type [enabled by default] In file included from C:\work\libftdi\libftdi\src\ftdi_stream.c:44:0: C:/work/libusbx/libusb-1.0.18-win/include/libusb-1.0/libusb.h:1536:20: note: exp ected 'libusb_transfer_cb_fn' but argument is of type 'void (*)(struct libusb_tr ansfer *)' Linking C static library libftdi1.a [ 20%] Built target ftdi1-static Scanning dependencies of target ftdipp1 [ 24%] Building CXX object ftdipp/CMakeFiles/ftdipp1.dir/ftdi.cpp.obj Linking CXX shared library libftdipp1.dll [ 24%] Built target ftdipp1 Scanning dependencies of target ftdipp1-static [ 28%] Building CXX object ftdipp/CMakeFiles/ftdipp1-static.dir/ftdi.cpp.obj Linking CXX static library libftdipp1.a [ 28%] Built target ftdipp1-static Scanning dependencies of target doc_i [ 32%] Generating ../doc/xml/ftdi_8c.xml warning: ignoring unsupported tag `AUTOLINK_SUPPORT =' at line 264, file D oxyfile warning: ignoring unsupported tag `HTML_EXTRA_STYLESHEET =' at line 923, file D oxyfile warning: ignoring unsupported tag `HTML_INDEX_NUM_ENTRIES =' at line 980, file D oxyfile [ 36%] Generating ftdi1_doc.i [ 36%] Built target doc_i [ 40%] Swig source Scanning dependencies of target _ftdi1 [ 44%] Building C object python/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c.obj Linking C shared module _ftdi1.pyd [ 44%] Built target _ftdi1 Scanning dependencies of target ftdi_eeprom [ 48%] Building C object ftdi_eeprom/CMakeFiles/ftdi_eeprom.dir/main.c.obj Linking C executable ftdi_eeprom.exe [ 48%] Built target ftdi_eeprom Scanning dependencies of target baud_test [ 52%] Building C object examples/CMakeFiles/baud_test.dir/baud_test.c.obj Linking C executable baud_test.exe [ 52%] Built target baud_test Scanning dependencies of target bitbang [ 56%] Building C object examples/CMakeFiles/bitbang.dir/bitbang.c.obj C:\work\libftdi\libftdi\examples\bitbang.c: In function 'main': C:\work\libftdi\libftdi\examples\bitbang.c:64:9: warning: unknown conversion typ e character 'h' in format [-Wformat] C:\work\libftdi\libftdi\examples\bitbang.c:64:9: warning: too many arguments for format [-Wformat-extra-args] Linking C executable bitbang.exe [ 56%] Built target bitbang Scanning dependencies of target bitbang2 [ 60%] Building C object examples/CMakeFiles/bitbang2.dir/bitbang2.c.obj Linking C executable bitbang2.exe [ 60%] Built target bitbang2 Scanning dependencies of target bitbang_cbus [ 64%] Building C object examples/CMakeFiles/bitbang_cbus.dir/bitbang_cbus.c.obj Linking C executable bitbang_cbus.exe [ 64%] Built target bitbang_cbus Scanning dependencies of target bitbang_ft2232 [ 68%] Building C object examples/CMakeFiles/bitbang_ft2232.dir/bitbang_ft2232.c .obj Linking C executable bitbang_ft2232.exe [ 68%] Built target bitbang_ft2232 Scanning dependencies of target eeprom [ 72%] Building C object examples/CMakeFiles/eeprom.dir/eeprom.c.obj Linking C executable eeprom.exe [ 72%] Built target eeprom Scanning dependencies of target find_all [ 76%] Building C object examples/CMakeFiles/find_all.dir/find_all.c.obj Linking C executable find_all.exe [ 76%] Built target find_all Scanning dependencies of target find_all_pp [ 80%] Building CXX object examples/CMakeFiles/find_all_pp.dir/find_all_pp.cpp.o bj Linking CXX executable find_all_pp.exe [ 80%] Built target find_all_pp Scanning dependencies of target serial_test [ 84%] Building C object examples/CMakeFiles/serial_test.dir/serial_test.c.obj Linking C executable serial_test.exe [ 84%] Built target serial_test Scanning dependencies of target simple [ 88%] Building C object examples/CMakeFiles/simple.dir/simple.c.obj Linking C executable simple.exe [ 88%] Built target simple Scanning dependencies of target stream_test [ 92%] Building C object examples/CMakeFiles/stream_test.dir/stream_test.c.obj C:\work\libftdi\libftdi\examples\stream_test.c: In function 'readCallback': C:\work\libftdi\libftdi\examples\stream_test.c:87:28: warning: unknown conversio n type character 'l' in format [-Wformat] C:\work\libftdi\libftdi\examples\stream_test.c:87:28: warning: too many argument s for format [-Wformat-extra-args] C:\work\libftdi\libftdi\examples\stream_test.c:102:28: warning: unknown conversi on type character 'l' in format [-Wformat] C:\work\libftdi\libftdi\examples\stream_test.c:102:28: warning: too many argumen ts for format [-Wformat-extra-args] C:\work\libftdi\libftdi\examples\stream_test.c: In function 'main': C:\work\libftdi\libftdi\examples\stream_test.c:252:16: warning: unknown conversi on type character 'l' in format [-Wformat] C:\work\libftdi\libftdi\examples\stream_test.c:252:16: warning: unknown conversi on type character 'L' in format [-Wformat] C:\work\libftdi\libftdi\examples\stream_test.c:252:16: warning: format '%d' expe cts argument of type 'int', but argument 4 has type 'uint64_t' [-Wformat] C:\work\libftdi\libftdi\examples\stream_test.c:252:16: warning: unknown conversi on type character 'L' in format [-Wformat] C:\work\libftdi\libftdi\examples\stream_test.c:252:16: warning: too many argumen ts for format [-Wformat-extra-args] C:\work\libftdi\libftdi\examples\stream_test.c: In function 'check_outfile': C:\work\libftdi\libftdi\examples\stream_test.c:340:29: warning: unknown conversi on type character 'l' in format [-Wformat] C:\work\libftdi\libftdi\examples\stream_test.c:340:29: warning: too many argumen ts for format [-Wformat-extra-args] C:\work\libftdi\libftdi\examples\stream_test.c:354:21: warning: unknown conversi on type character 'l' in format [-Wformat] C:\work\libftdi\libftdi\examples\stream_test.c:354:21: warning: too many argumen ts for format [-Wformat-extra-args] C:\work\libftdi\libftdi\examples\stream_test.c:356:13: warning: unknown conversi on type character 'l' in format [-Wformat] C:\work\libftdi\libftdi\examples\stream_test.c:356:13: warning: too many argumen ts for format [-Wformat-extra-args] Linking C executable stream_test.exe [ 92%] Built target stream_test Scanning dependencies of target test_libftdi1 [ 96%] Building CXX object test/CMakeFiles/test_libftdi1.dir/basic.cpp.obj [100%] Building CXX object test/CMakeFiles/test_libftdi1.dir/baudrate.cpp.obj Linking CXX executable test_libftdi1.exe [100%] Built target test_libftdi1 c:\work\libftdi\libftdi\build\bin>find_all_pp -v 0x0403 -p 0xcff8 Found devices ( VID: 0x403, PID: 0xcff8 ) ------------------------------------------------ FTDI (0x5ea070): Amontec, Amontec JTAGkey-2, 53T9XDR4 (Open OK) c:\work\libftdi\libftdi\build\bin>eeprom -v 0x0403 -p 0xcff8 Chip type 4 ftdi_eeprom_size: 256 0x000: 01 00 03 04 f8 cf 00 02 80 32 08 00 01 00 9a 10 ........ .2...... 0x010: aa 24 ce 12 00 00 00 00 56 00 00 00 00 00 00 00 .$...... V....... 0x020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0x030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0x040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0x050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0x060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0x070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0x080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0x090: 00 00 00 00 00 00 00 00 00 00 10 03 41 00 6d 00 ........ ....A.m. 0x0a0: 6f 00 6e 00 74 00 65 00 63 00 24 03 41 00 6d 00 o.n.t.e. c.$.A.m. 0x0b0: 6f 00 6e 00 74 00 65 00 63 00 20 00 4a 00 54 00 o.n.t.e. c. .J.T. 0x0c0: 41 00 47 00 6b 00 65 00 79 00 2d 00 32 00 12 03 A.G.k.e. y.-.2... 0x0d0: 35 00 33 00 54 00 39 00 58 00 44 00 52 00 34 00 5.3.T.9. X.D.R.4. 0x0e0: 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 ........ ........ 0x0f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0e ea ........ ........ VID: 0x0403 PID: 0xcff8 Release: 0x0200 Bus Powered: 100 mA Manufacturer: Amontec Product: Amontec JTAGkey-2 Serial: 53T9XDR4 Checksum : ea0e Attached EEPROM: 93x56 PNP: 1 Channel A has Mode FIFO Channel B has Mode UART AL has 8 mA drive AH has 4 mA drive BL has 4 mA drive BH has 4 mA drive -- Xiaofan -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
