Stellarium / stellarium-dynamic-plugin

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:GNU General Public License v2.0


Languages

Language:C++ 72.7%Language:CMake 27.3%