libftdi Archives

Subject: problem with cmake in libftdi-1.2

From: Joachim Schambach <jschamba@xxxxxxxxxxxxxxxxxx>
To: "libftdi@xxxxxxxxxxxxxxxxxxxxxxx" <libftdi@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Jan 2015 15:44:25 -0600
i just downloaded libfti-1.2 and tried to follow the README.build, but seem to
have problems with the cmake system.
here is the output:

-- Build type: RelWithDebInfo
Boost  found.
-- Doxygen found.
-- Generating API documentation with Doxygen
-- Detected git snapshot version: v1.2-5-g19f1452
-- Building libftdi1++
-- Building python bindings via swig. Will be installed under
/usr/local/lib64/python2.6/site-packages
-- Building ftdi_eeprom
-- Building example programs.
-- Building libftdi++ examples.
CMake Error at /usr/lib64/boost/Boost.cmake:16 (ADD_LIBRARY):
  add_library cannot create imported target "boost_date_time-static" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake/Modules/FindBoost.cmake:177 (find_package)
  test/CMakeLists.txt:5 (find_package)

 (.... many more similar messages with /usr/lib64/boost ....)

CMake Error at /usr/lib64/boost/Boost.cmake:481 (ADD_LIBRARY):
  add_library cannot create imported target "boost_wave-mt-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake/Modules/FindBoost.cmake:177 (find_package)
  test/CMakeLists.txt:5 (find_package)


Boost  found.
Found Boost components:
   unit_test_framework
-- NOT building unit test (requires boost unit test framework)
-- Configuring incomplete, errors occurred!
See also
"/home/jschamba/hft/ftdi/libftdi-git/libftdi/build/CMakeFiles/CMakeOutput.log".



Any ideas what is wrong here?

I did not have this problem with libfti-1.1....

Cheers,
Jo

-- 
Dr Joachim Schambach                 tel: +1 512 471 1303
The University of Texas at Austin    fax: +1 512 471 9637    
Department of Physics                email1: jschamba@xxxxxxxxxxxxxxxxxx
1 University Station C1600           email2: jschamba@xxxxxxxxxxxxxxxxx
Austin, Texas 78712-0264, USA


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

Current Thread
  • problem with cmake in libftdi-1.2, Joachim Schambach <=