古人智慧

Just Do it!
上士聞道,勤而行之;中士聞道,若存若亡;下士聞道,大笑之。不笑,不足以爲道。
~ 道德經 41

「實現夢想不是追逐成功,而是在於賦予生命意義,人生中的每個決定與聲音都有其重要含義。」"The key to realizing a dream is to focus not on success but on significance — and then even the small steps and little victories along your path will take on greater meaning."
電視名人-歐普拉·溫芙蕾(OPRAH WINFREY)

搜尋此網誌

Translation

2021年1月24日 星期日

Quartus Prime Lite and Eclipse installation problem solved

My environment: Ubuntu 64-bit 20.04.1
I got this big trouble on install process and wrote it down for who has got the same issues.


Quartus 2.1.1 + Eclipse 8.8.1

Install Quartus Prime Lite 2.1

Intel Download

Install Eclipse

Refer to this document from Intel - Is the Nios® II Software Build Tools (SBT) for Eclipse included in the full installation of the Intel® Quartus® Prime Pro Edition software starting from version 19.1?
Download CDT 8.8.1 for Linux

sudo apt-get install libfreetype6:i386 libexpat1:i386 libc6:i386 libgtk-3-0:i386 libcanberra0:i386 libice6:i386 libsm6:i386 libncurses5:i386 zlib1g:i386 libx11-6:i386 libxau6:i386 libxdmcp6:i386 libxext6:i386 libxft2:i386 libxrender1:i386 libxt6:i386 libxtst6:i386

And then it will work perfect!!

====

Other solutions


Quartus 1.9 + Eclipse 8.8.1

  1. Download Quartus 1.9 from
    Intel Download
  2. modify the file `.profile’, add one line in it.
    export PERL5LIB="/home/regis/intelFPGA_lite/19.1/quartus/linux64/perl/lib/5.28.1"
    
    and then anything is fine!

Quartus 2.1.1 + Eclipse 8.8.1

And, now you should face a problem - the Eclipse can’t launch well !!!
How to fix this problem - Nios Eclipse crashes, free(): invalid pointer
My solution:

regis@ubuntu:~/intelFPGA_lite/20.1/quartus/linux64/jre64/bin$ ./java -version
openjdk version "1.8.0_265"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_265-b01)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.265-b01, mixed mode)

regis@ubuntu:~$ sudo apt install openjdk-8-jdk
regis@ubuntu:~$ java -version
openjdk version "1.8.0_275"
OpenJDK Runtime Environment (build 1.8.0_275-8u275-b01-0ubuntu1~20.04-b01)
OpenJDK 64-Bit Server VM (build 25.275-b01, mixed mode)
regis@ubuntu:~$ 
regis@ubuntu:~$ cd ~/intelFPGA_lite/20.1/quartus/linux64
regis@ubuntu:~/intelFPGA_lite/20.1/quartus/linux64$ mv jre64 jre64.0
regis@ubuntu:~/intelFPGA_lite/20.1/quartus/linux64$ ln -s /lib/jvm/java-8-openjdk-amd64 jre64

Finally, all the Quartus and Eclipse are worked fine!!!