Difference between revisions of "GNURadio: Compile GNURadio + UHD"

From OnnoWiki
Jump to navigation Jump to search
Line 42: Line 42:
 
  cd /usr/local/src
 
  cd /usr/local/src
 
  git clone https://github.com/swig/swig.git
 
  git clone https://github.com/swig/swig.git
  cd swig
+
  cd /usr/local/src/swig
 
  sudo apt-get install automake
 
  sudo apt-get install automake
 
  ./autogen.sh
 
  ./autogen.sh
Line 48: Line 48:
 
  make
 
  make
 
  make install
 
  make install
 
  
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 
* [[GNURadio]]
 
* [[GNURadio]]

Revision as of 11:58, 2 January 2020

Persiapan

Instalasi paket pendukung

sudo su 
apt update
apt -y install libcppunit-dev python-cheetah doxygen \
libboost-all-dev python-sphinx libfftw3-dev python-numpy libqwt-dev \
libusb-dev libusb-dev libusb-1.0-0-dev libgsl-dev python-wxgtk3.0 git qtcreator \
bison flex

Buat directory

mkdir -p /usr/local/src/SDR
cd /usr/local/src/SDR

Install QWT

apt -y install libqwt-dev libqwt-doc libqwt-headers python3-guiqwt python3-qwt


Install WX

apt -y install python-wxmpl python-wxtools python-wxversion

Upgrade CMAKE ke versi terakhir

sudo du
apt remove --purge cmake
cd /opt/
wget https://github.com/Kitware/CMake/releases/download/v3.16.2/cmake-3.16.2-Linux-x86_64.sh
chmod +x /opt/cmake-3.16.2-Linux-x86_64.sh 
sudo bash /opt/cmake-3.16.2-Linux-x86_64.sh
sudo ln -s /opt/cmake-3.16.2-Linux-x86_64/bin/* /usr/local/bin
sudo ln -s /opt/cmake-3.16.2-Linux-x86_64/bin/* /usr/bin
cmake --version

Compile SWIG

sudo su
sudo apt-get install bison flex
cd /usr/local/src
git clone https://github.com/swig/swig.git
cd /usr/local/src/swig
sudo apt-get install automake
./autogen.sh
./configure
make
make install

Pranala Menarik