今天在做作业的时候,发现imread不能使用,说要安装相应的图形包,可是要安装image时,却发现要求4.0.0版本,而我本机的linux系统ubuntu15.04只有3.8.x的安装源,没办法,只能自己动手编译、安装啦。


sudo apt-get build-dep octave
sudo apt-get install libportaudio-dev libqt4-opengl-dev     #for gui
#sudo apt-get install  libqt4-dev libqscintilla2-dev        #for gui, (unnecessary for Ubuntu)
#sudo apt-get install llvm  #for jit
sudo apt-get install bison

wget https://ftp.gnu.org/gnu/octave/octave-4.0.0.tar.gz

tar xzf octave-4.0.0.tar.gz

cd octave-4.0.0

./configure
#./configure --enable-jit

make

make check

sudo make install

 

相关文章:

  • 2022-03-01
  • 2021-10-04
  • 2022-12-23
  • 2022-12-23
  • 2021-04-28
  • 2021-05-21
  • 2021-07-24
  • 2021-11-21
猜你喜欢
  • 2022-03-04
  • 2022-12-23
  • 2021-12-23
  • 2021-05-15
  • 2022-12-23
  • 2022-01-05
  • 2021-11-22
相关资源
相似解决方案