Hi Fabien
 
I am intersted in compiling stellarium in Windows with the static module enabled but I have never been able to compile the VirGO module. I always have trouble with the Fits libraries. I think I have at last got them but the latest error concerns declaration long and long long in the fitsio.h file. and winnt.h files. What do I really need to compile the VirGo module in Windows.


Barry Gerdes
Beaumont Hills Observatory
S 33' 41' 44"    E 150' 56' 32"
12" F10 GPS Polar mounted
Home Page  http://www.geocities.com/barrykgerdes
 



 
> Date: Wed, 29 Apr 2009 16:32:33 +0200
> From: fabien.chereau@googlemail.com
> To: stellarium-pubdevel@lists.sourceforge.net
> Subject: Re: [Stellarium-pubdevel] Static plugin
>
> I migrated HelloStelModule. So now the behaviour is the following:
> - When you compile a plugin, it will generate the static and the
> dynamic versions (e.g. libHelloStelModule.so and libHelloStelModule.a
> on linux).
> - Before compiling Stellarium, you need to indicate cmake that you
> want to use it as a staic plugin. For this set the
> USE_STATIC_PLUGIN_HELLOSTELMODULE to ON and enter the location of the
> .a library in the HELLOSTELMODULE_STATIC_PLUGIN_PATH variable.
>
> Stellarium should now link with the .a library.
> Finally to test, you also need to have the HelloStelModule directory
> in $HOME/.stellarium/modules so that Stellarium tries to load the
> plugin at start time.
>
> Cheers,
> Fabien
>
> On Wed, Apr 29, 2009 at 15:14, Fabien Chéreau
> <fabien.chereau@googlemail.com> wrote:
> > Hi all,
> > I just committed the first working static plugin based on VirGO!! :) I
> > am going to migrate also HelloStelModule as an example and maybe other
> > ones.
> > Fabien
> >
> > On Wed, Apr 29, 2009 at 14:15, Matthew Gates <matthewg42@gmail.com> wrote:
> >> On Tuesday 28 April 2009 17:59:23 Fabien Chéreau wrote:
> >>> Dear all,
> >>> I am currently making tests on how to compile plugins as static, and
> >>> distribute them linked together with Stellarium. I am almost there,
> >>> and I had to make some little change to the plugin interface. So you
> >>> may have to add a method in your plugin code.the method is  virtual
> >>> QString getPluginId() and it should simply return the name of the
> >>> plugin, e.g. for VirGO it will be {return "VirGO";}
> >>
> >> Are you going to move the "stable" plugins inside the main Stellarium tree
> >> (i.e. so they can all be built with a single make command, and easier to
> >> package in with the main program)?
> >>
> >> If so, I would imagine VirGO will still remain in a separate tree?
> >>
> >> In any case, I think we should keep the HelloStelModule in the extmodules
> >> directory as an example to developers of 3rd party plugins.  It might be
> >> worth keeping this as a minimalistic plugin, and adding a second example
> >> which adds a toolbar button and such.
> >>
> >> Matthew
> >>
> >> ------------------------------------------------------------------------------
> >> Register Now & Save for Velocity, the Web Performance & Operations
> >> Conference from O'Reilly Media. Velocity features a full day of
> >> expert-led, hands-on workshops and two days of sessions from industry
> >> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> >> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> >> _______________________________________________
> >> Stellarium-pubdevel mailing list
> >> Stellarium-pubdevel@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
> >>
> >>
> >
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Stellarium-pubdevel mailing list
> Stellarium-pubdevel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel


Download it here. The new Windows Live Messenger has landed.