Problem ["SOLVED"] First of all it didn't come from the cmake version, since I succeeding installing libftdi on UBUNTU 12.04 with both cmake 2.8.7 and 2.8.9!
Then I tried another version of the ftdilib *current release* is 80101c71c06f7c017c5438a08f51fdf17768f8ca from Thomas Jarosch on 2013-01-29 *I used version* 73a71502aaea56081c85c8f69430566af0231375 from Jochen Sprickerhof on 2013-04-26 This version worked fine. Note that i used *libusb-1.0-0-dev* for raspberry (wheezy) instead of * libusb-1.0-devel*. Thanks for your interest. Hope it's useful to others. Sincerely, Yoann. 2013/8/20 xantares 09 <[email protected]> > > > ------------------------------ > Date: Tue, 20 Aug 2013 16:04:39 +0200 > Subject: Libftdi + Raspberry Pi > From: [email protected] > To: [email protected] > > > Hi, > > I am currently working on a RASPBERRY PI, with the debian Wheezy soft > float distro. > I am trying to install the libftdi1-1.0. > However I encounter some difficulties: > First of all, I follow the tutorial in the readMe.Build, everything is > fine until I do the: > > cmake - DCMAKE_INSTALL_PREFIX="/usr" ../ > > > Here I get some error : > > math cannot parse the expression: " + 1": syntax error, unexpected $end, > expecting > exp_OPENPARENT or exp_NUMBER (2) > > I traced the error, it appears that MAJOR_VERSION is not declared from the > file /CmakeLists.txt, l.26. > > MAJOR_VERSION is set to 1 in /libftdi/CmakeLists.txt but this one is not > called during the Cmake > > I changed MAJOR_VERSION Line 26 by 1, and it *seemed *to work. (no error > messages) > > Then I did the make and it failed (missing files), surely due to the ugly fix > I tried. I imagine other things were not installed if /libftdi/CmakeLists.txt > did not load. > > I tried the cmake & make on a Ubuntu system, it worked just fine. > > I observed that the version of me cmake on Raspberry pi is 2.8.9-1 > (cmake_2.8.9-1_armel.deb) whereas the version on Ubuntu is 2.8.7. Perhaps the > cmake doesn't work the same !? > > Any help is welcome. Any libftdi working on Raspberry pi is welcome. > > Thanks in advance. > > Yoann > > ------------------------------ > Hi, > Could you provide the full cmake + make output ? > What does the configured header src/ftdi_version_i.h look like ? > > M. > > ------------------------------ > > *libftdi* - see http://www.intra2net.com/en/developer/libftdi for details. > To unsubscribe send a mail to [email protected] > > -- libftdi - see http://www.intra2net.com/en/developer/libftdi for details. To unsubscribe send a mail to [email protected]
