AnsweredAssumed Answered

Libserialport error while installing libiio

Question asked by marcinsztajn on Mar 7, 2017
Latest reply on Mar 8, 2017 by marcinsztajn

Hi,

I cloned fresh libiio from analog repository and I passed all steps from this site: What is libiio? [Analog Devices Wiki] 

While running: cmake ./ command I have error: 

CMake Error at CMakeLists.txt:170 (file):
file STRINGS file "/usr/include/libserialport.h" cannot be read.


CMake Error at CMakeLists.txt:171 (string):
string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
command.


CMake Error at CMakeLists.txt:173 (message):
The installed version of libserialport is too old. The minimum version
supported is 0.1.1.


-- Configuring incomplete, errors occurred!

 

I have installed many type of libserialusp versions and still I have the same error.

Can anybody tell me how to solve this issue?

Thanks in advance

Martin

Outcomes