Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.06 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.06 KB

StellariumPluginTemplate

Startpoint for the dynamic plugin development. Based on the HelloStelModule plugin.

Building the plugin

Tested with: Qt 5.6.1, CMake 3.5.1, Stellarium 0.18.2, Ubuntu 16.04.1. Other operating systems are NOT yet supported.

  1. Set all variables

     QTDIR=Path to Qt (/opt/Qt5/5.6/gcc_64)
     QTPATH=Path to Qt (/opt/Qt5/5.6/gcc_64)
     PATH=Path to Qt binaries (/opt/Qt5/5.6/gcc_64/bin)$:${PATH}
     LD_LIBRARY_PATH=${QTPATH}/lib:${LD_LIBRARY_PATH}
    
  2. Install and build the Git version of Stellarium as per the instructions.

  3. Set the environment variable STELROOT to the root of the Stellarium source tree. The Stellarium build directory is expected to be:

 $STELROOT/builds/unix 
  1. Create a sub-directory builds/unix and change into that directory.

  2. Run:

 cmake ../.. 
 make
 make install

If all goes well, the relevant files should be built and copied to your ~/.stellarium/modules directory.