Sudo cp ~/Downloads/freetype-2.4.12/objs/.libs/libfreetype.so*. Note you may need to edit the directory paths to match those used on your system. Change directory to the directory where you installed ModelSim, /opt/altera/13.1/modelsim_ase/, on my system.
As they are necessary to run ModelSim we need to copy them into the install directory so they don't get lost and then modify ModelSim's vsim script to use the new libraries instead of the system wide versions. The finished libraries are now available inside the objs/.libs directory. Now install the build dependencies needed for libfreetype6, extract the source (using tar) and configure and build libfreetype: sudo apt-get build-dep -a i386 libfreetype6 First download the source code of freetype 2.4.12: For an unknown reason ModelSim has an issue with modern versions shipping in Arch and Ubuntu 14.04. Then you probably need to build a new version of freetype, a font setting library and modify ModelSim to use it.
Problem number two: If you have the following error when running vsim: ** Fatal: Read failure in vlm process (0,0) Sudo apt-get install gcc-multilib g++-multilib \Įxpat:i386 fontconfig:i386 libfreetype6:i386 libexpat1:i386 libc6:i386 libgtk-3-0:i386 \ Luckily this is fully supported on a modern Linux like Ubuntu 14.
On Linux this requires us to install the 32 bit versions of the libraries that it depends on. Problem number one: The free version of ModelSim Altera Edition is 32 bit only while the normal Linux PC will be 64 bit. This article mostly adapts the work done by the Arch Linux crew. Luckily I had lots of helpful information on the internet (major sources linked below) to get it going. Trying to get a version of ModelSim running on a very modern version of Linux often presents challenges. Making ModelSim ALTERA STARTER EDITION vsim 10.1d work on Ubuntu 14.04 Download VIM editor (available in Software Center) before following the given solution. The instructions cited below work perfectly.