We faced some problem in installing the LimeSDR driver using packages, the problem was resolved by installing the driver from source code. I am sharing the steps to build the LimeSDR from source, so that, anyone going through the same issue can have a solution.
Following steps describe the steps required to build the LimeSDR from source in an Ubuntu 16.04 platform. LimeSDR requires CMake-3.8.2 package as a prerequisite. Hence, I will describe first the steps of installing the CMake-3.8.2 package which will be followed by the steps of building the LimeSDR from source.
Install CMake-3.8.2
-
Uninstall and remove previous cmake (if any) using the following commands
< sudo apt-get remove --auto-remove cmake> and <sudo apt-get purge --auto-remove cmake> -
Download a new version of cmake, run the command < wget http://www.cmake.org/files/v3.8/cmake-3.8.2.tar.gz>
-
Unzip the package, < tar -xvzf cmake-3.8.2.tar.gz>
-
Accessed the cmake-3.8.2 directory, < cd cmake-3.8.2>
-
Compile the package using, <./configure>
-
Now run the < make> command
-
Then run < sudo make install> to install cmake
-
Run the < PATH=$PATH:/usr/bin/> to add the cmake command to the path.
Build LimeSDR from source code
-
Run the < sudo add-apt-repository -y ppa :myriadrf/drivers> in the a directory where you want to install the package
-
Then update packages using < sudo apt-get update>
-
Use < sudo apt-get install git g++ cmake libsqlite3-dev> to install the core library
-
Then use the command, < sudo-apt-get install libsoapysdr-dev libi2c-dev libusb-1.0-0-dev>, followed by
-
< apt-get install libwxgtk3.0-dev freeglut3-dev>
-
Now clone the git repository using < git clone https://github.com/myriadrf/LimeSuite.git>
-
Go to the < LimeSuite> directory. Then make a director named âbuilddirâ and go to that directory using this command <mkdir builddir && cd builddir> to complete the build process
-
Now run <cmake âŚ/>
-
Once that process is complete, run < make -j4>
-
To install the files, now run < sudo make install>
-
After the files have been installed, change directory to < LimeSuite/udev-rules> and run this command < sudo ./install.sh>. LimeSDR should be now successfully installed.
Thanks,
Moshiur