Getting Started on Linux - VirtualPhotonics/MieSimulatorGUI GitHub Wiki

Application Users:

Compressed Application Package:

  • Download latest "MieSimulatorGUI_vX_X.tar.xz" and extract it to a folder of your choice.
  • Type
    • ./MieSimulatorGUI_vX_X.sh & to execute (Version 1.1 and after) .
    • ./MieSimulator_vX_X & to execute (Up to version 1.0.8).
      If Qt is not installed, you may have to install Qt. Bring up a terminal window and type: sudo apt-get install qt5-default

AppImage:

  • Download latest "MieSimulatorGUI_vX_X.AppImage".
  • Double-click or type ./MieSimulatorGUI_vX_X.AppImage & to execute.

Developers:

These instructions are for Ubuntu 16.04 or later users. If you have a different Linux install, you may have to use different syntax.

  • Bring up a terminal window and type:
sudo apt-get install gcc
sudo apt-get install libl1-mesa-dev
sudo apt-get install libgl1-mesa-dev
sudo apt-get install mesa-common-dev
  • Visit Qt downloads (https://www.qt.io/download), download and install Qt.
  • Download latest source code and copy it to a folder of your choice.
  • Run Qt Creator and open "MieSimulator.pro" file.
  • In the next Window, click "Configure Project"
  • Select and Click "Build->Run qmake" and "Build->Build All", respectively.

Note - If you get lGL error, bring up a terminal window and type "sudo apt-get install libgl1-mesa-dev" to install "GL" library. - If you get other errors, check whether the Ubuntu version is up-to date or Qt and its debugger is working properly (Generate a sample Qt program and run).