Building static GUIs on Linux - nrc-cnrc/EGSnrc GitHub Wiki

To compile standalone versions of EGSnrc Qt graphical user interfaces on Linux for a release:

  1. Go to $HEN_HOUSE/pieces/linux
  2. Set variable qt4 in the Makefile to point to a static Qt4 build
  3. Issue make to build static binaries for egs_gui, egs_inprz, egs_view, and egs_configuration
  4. Use readelf -d to check the values of rpath and runpath
  5. Use chrpath -d on each binary to delete rpath and runpath values
  6. Put binaries inside a directory called EGSnrc-guis-linux and zip it