You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have a hard time building libm2k on a Raspberry PI. The error I get is:
~/libm2k/build $ cmake ../
---- Building Python bindings
-- bin= lib= inc=
-- Python_EXECUTABLE /usr/bin/python3.9
---- Building C# bindings
-- Configuring done
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
/home/accordion/libm2k/src/IIO_INCLUDE_DIRS
used as include directory in directory /home/accordion/libm2k/src
IIO_INCLUDE_DIRS
used as include directory in directory /home/accordion/libm2k/bindings/csharp
used as include directory in directory /home/accordion/libm2k/bindings/csharp
used as include directory in directory /home/accordion/libm2k/bindings/csharp
used as include directory in directory /home/accordion/libm2k/bindings/csharp
used as include directory in directory /home/accordion/libm2k/bindings/csharp
used as include directory in directory /home/accordion/libm2k/bindings/csharp
used as include directory in directory /home/accordion/libm2k/bindings/csharp
CMake Error in src/CMakeLists.txt:
Target "libm2k" INTERFACE_INCLUDE_DIRECTORIES property contains path:
Based on the error message you've provided, here are some steps you can take to resolve the issue:
Ensure you are building a compatible version of libiio:
The current version of libm2k is compatible with libiio v0.26. Make sure your libiio build was done from that specific tag.
Ensure libiio is installed in a system-visible path:
When you run make install for the libiio build, ensure it's installing to a directory that's included in your system's library and include paths.
After installation, update the library cache: sudo ldconfig.
Building C# bindings:
Your CMake output indicates that you are attempting to build the C# bindings.
If this is the case, ensure that libiio is also built with C# support.
Otherwise, make sure to clean the libm2k build directory and then run cmake again to configure the build.
Hi,
I have a hard time building libm2k on a Raspberry PI. The error I get is:
I have successfully built and installed libiio and I can't figure out what I should do now to get it to build?
I have searched for an already made package for Rpi4 but it doesn't seem to exist.
Did anyone get libm2k to work on a Raspberry?
Thanks,
Daniel
The text was updated successfully, but these errors were encountered: