libftdi Archives

Subject: RE: Compile Error on Ubuntu 10.04

From: xantares 09 <xantares09@xxxxxxxxxxx>
To: <libftdi@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Jan 2013 14:25:26 +0000


> Date: Mon, 14 Jan 2013 21:47:40 +0800
> Subject: Re: Compile Error on Ubuntu 10.04
> From: xiaofanc@xxxxxxxxx
> To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
>
> On Mon, Jan 14, 2013 at 7:25 PM, xantares 09 <xantares09@xxxxxxxxxxx> wrote:
> > And here's another patch to fix doxygen build.
>
> And your patch does not seem to solve the warning messages I got
> when building under Mac OS X (10.7.5 Lion and latest Homebrew).
>
> mymacmini:libftdi xiaofanc$ doxygen --version
> 1.8.3
>
> mymacmini:build xiaofanc$ make
> -- Build type: Debug
> -- Boost version: 1.52.0
> -- Doxygen found.
> -- Generating API documentation with Doxygen
> -- Detected git snapshot version: v1.0rc1-1-g161206c
> -- Building libftdi1++
> -- Building python bindings via swig. Will be installed under
> /usr/local/lib/python2.7/site-packages
> -- Building ftdi_eeprom
> -- Building example programs.
> -- Building libftdi++ examples.
> -- Boost version: 1.52.0
> -- Found the following Boost libraries:
> -- unit_test_framework
> -- Building unit test
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /Users/xiaofanc/work/libftdi/libftdi/build
> [ 4%] Generating doc/html/index.html
> warning: Tag `SHOW_DIRECTORIES' at line 519 of file
> /Users/xiaofanc/work/libftdi/libftdi/build/Doxyfile has become
> obsolete.
> To avoid this warning please remove this line from your configuration
> file or upgrade it using "doxygen -u"
> warning: Tag `HTML_ALIGN_MEMBERS' at line 906 of file
> /Users/xiaofanc/work/libftdi/libftdi/build/Doxyfile has become
> obsolete.
> To avoid this warning please remove this line from your configuration
> file or upgrade it using "doxygen -u"
> warning: Tag `USE_INLINE_TREES' at line 1093 of file
> /Users/xiaofanc/work/libftdi/libftdi/build/Doxyfile has become
> obsolete.
> To avoid this warning please remove this line from your configuration
> file or upgrade it using "doxygen -u"
> [ 4%] Built target docs
> [ 8%] Building C object src/CMakeFiles/ftdi1.dir/ftdi.c.o
> [ 13%] Building C object src/CMakeFiles/ftdi1.dir/ftdi_stream.c.o
> Linking C shared library libftdi1.dylib
> [ 13%] Built target ftdi1
> [ 17%] Building C object src/CMakeFiles/ftdi1-static.dir/ftdi.c.o
> [ 21%] Building C object src/CMakeFiles/ftdi1-static.dir/ftdi_stream.c.o
> Linking C static library libftdi1.a
> [ 21%] Built target ftdi1-static
> [ 26%] Building CXX object ftdipp/CMakeFiles/ftdipp1.dir/ftdi.cpp.o
> Linking CXX shared library libftdipp1.dylib
> [ 26%] Built target ftdipp1
> [ 30%] Building CXX object ftdipp/CMakeFiles/ftdipp1-static.dir/ftdi.cpp.o
> Linking CXX static library libftdipp1.a
> [ 30%] Built target ftdipp1-static
> warning: Tag `SHOW_DIRECTORIES' at line 523 of file Doxyfile has
> become obsolete.
> To avoid this warning please remove this line from your configuration
> file or upgrade it using "doxygen -u"
> warning: Tag `HTML_ALIGN_MEMBERS' at line 910 of file Doxyfile has
> become obsolete.
> To avoid this warning please remove this line from your configuration
> file or upgrade it using "doxygen -u"
> warning: Tag `USE_INLINE_TREES' at line 1097 of file Doxyfile has
> become obsolete.
> To avoid this warning please remove this line from your configuration
> file or upgrade it using "doxygen -u"
> [ 30%] Built target doc_xml
> Scanning dependencies of target doc_i
> [ 30%] Built target doc_i
> [ 34%] Swig source
> Scanning dependencies of target _ftdi1
> [ 39%] Building C object bindings/CMakeFiles/_ftdi1.dir/ftdi1PYTHON_wrap.c.o
> /Users/xiaofanc/work/libftdi/libftdi/build/bindings/ftdi1PYTHON_wrap.c:2366:23:
> warning:
> explicitly assigning a variable of type 'int' to itself [-Wself-assign]
> res = SWIG_AddCast(res);
> ~~~ ^ ~~~
> /Users/xiaofanc/work/libftdi/libftdi/build/bindings/ftdi1PYTHON_wrap.c:2369:23:
> warning:
> explicitly assigning a variable of type 'int' to itself [-Wself-assign]
> res = SWIG_AddCast(res);
> ~~~ ^ ~~~
> 2 warnings generated.
> Linking C shared module _ftdi1.so
> [ 39%] Built target _ftdi1
> [ 43%] Building C object ftdi_eeprom/CMakeFiles/ftdi_eeprom.dir/main.c.o
> Linking C executable ftdi_eeprom
> [ 43%] Built target ftdi_eeprom
> [ 47%] Building C object examples/CMakeFiles/baud_test.dir/baud_test.c.o
> Linking C executable baud_test
> [ 47%] Built target baud_test
> [ 52%] Building C object examples/CMakeFiles/bitbang.dir/bitbang.c.o
> Linking C executable bitbang
> [ 52%] Built target bitbang
> [ 56%] Building C object examples/CMakeFiles/bitbang2.dir/bitbang2.c.o
> Linking C executable bitbang2
> [ 56%] Built target bitbang2
> [ 60%] Building C object examples/CMakeFiles/bitbang_cbus.dir/bitbang_cbus.c.o
> Linking C executable bitbang_cbus
> [ 60%] Built target bitbang_cbus
> [ 65%] Building C object
> examples/CMakeFiles/bitbang_ft2232.dir/bitbang_ft2232.c.o
> Linking C executable bitbang_ft2232
> [ 65%] Built target bitbang_ft2232
> [ 69%] Building C object examples/CMakeFiles/eeprom.dir/eeprom.c.o
> Linking C executable eeprom
> [ 69%] Built target eeprom
> [ 73%] Building C object examples/CMakeFiles/find_all.dir/find_all.c.o
> Linking C executable find_all
> [ 73%] Built target find_all
> [ 78%] Building CXX object examples/CMakeFiles/find_all_pp.dir/find_all_pp.cpp.o
> Linking CXX executable find_all_pp
> [ 78%] Built target find_all_pp
> [ 82%] Building C object examples/CMakeFiles/serial_test.dir/serial_test.c.o
> Linking C executable serial_test
> [ 82%] Built target serial_test
> [ 86%] Building C object examples/CMakeFiles/simple.dir/simple.c.o
> Linking C executable simple
> [ 86%] Built target simple
> [ 91%] Building C object examples/CMakeFiles/stream_test.dir/stream_test.c.o
> Linking C executable stream_test
> [ 91%] Built target stream_test
> [ 95%] Building CXX object test/CMakeFiles/test_libftdi1.dir/basic.cpp.o
> [100%] Building CXX object test/CMakeFiles/test_libftdi1.dir/baudrate.cpp.o
> Linking CXX executable test_libftdi1
> [100%] Built target test_libftdi1
>
> --
> Xiaofan
>
> --
> libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
> To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
>



Hi,

As doxygen states, I just "doxygen -u"ed the doxygen doxyfile with v1.8.2
Also, the xml doxyfile should be configured in the bindings binary dir.
Here is a patch.

Regards.





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


Attachment: libftdi-doxygen.patch
Description: Text Data

Current Thread