![]() ![]() Lrwxrwxrwx 1 analog analog 13 Nov 15 10:36. Open("./libiio.so.0", O_RDONLY|O_CLOEXEC) = ls -l. Open("./x86_64/libiio.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) Open("./tls/libiio.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) Open("./tls/x86_64/libiio.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) Unable to create IIO grep -e ^open foo | grep libiio If you are running an application, and want to find strace -ofoo iio_info An easy way to tell is to do something git describe -tags To build iio oscilloscope you'll have to make sure libiio directories can be found, one way to do this given it installed to /usr/lib is add it to your sessions PATH:ĭuring development, sometimes it can be a puzzle which version of libiio is being used. Note that it is possible to install to a different location by setting the PREFIX variable. This will build libiio in the build subdirectory, and install it to /usr. ![]() & make & sudo make installįinally, in the libiio/ mkdir build & cd build & cmake. This will allow reading of a local file in /etc/libiio.ini for this git clone cd mkdir build & cd build & cmake. If you want to have local context attributes, its a good idea to install libini. On a Debian-flavoured GNU/Linux distribution, like Ubuntu for sudo apt-get install libxml2 libxml2-dev bison flex libcdk5-dev cmakeĭepending on the backend (how you want to attach the IIO device), you may need at least one sudo apt-get install libaio-dev libusb-1.0-0-dev libserialport-dev libxml2-dev libavahi-client-dev doxygen graphviz The first step is to fetch the dependencies, which as of now is only libxml2. Building libiio is pretty straightforward.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |