From: Fabien C. <fab...@go...> - 2009-10-05 00:09:55
|
Hi all, The problem is caused by a large series of commits I did 2 days ago. Sorry I am currently in Japan and have only intermittent connexion so I couldn't commit smaller patch. In my last commit I started to reduce a problem that I saw growing during the last year: the dependencies from the core of Stellarium on the GUI code. These should be removed as much as possible. The ultimate goal of these changes is to allow to create alternative GUI, maybe as plugins, but it is also useful to keep the core code clean. Practically the main problem was the use of GETSTELMODULE(StelGui) in the core code. To allow the core code to access GUI functionalities like setting the verbosity of the selected object information, I created an abstract class StelGuiBase which can be used for that. So basically in your code you should replace GETSTELMODULE(StelGui) by StelMainGraphicsView::getInstance().getGui(). If you need to access methods which are not defined in StelGuiBase you should either add it in the abstract class, or make a cast. If you make a cast it means your code will work only with the standard GUI. Cheers from Sapporo! Fabien On Mon, Oct 5, 2009 at 06:46, Barry Gerdes <bar...@ho...> wrote: > Windows builds since 5057 have been a problem with all the gui changes that > have been implemented. Linux is a bit the same way. > > I can build 5090 without any bother in both Windows and Linux and it runs OK > as long as I don't try to load any plugins but once I add a plugin > Stellarium crashes on load or when I try to select the configure menu. > > I guess all the plugins need to be updated for the latest gui requirements. > > When I compile both Stellarium and the plugins in Windows I get pages of > warnings and errors that don't appear to affect the build almost none of > these show on a Linux build. I suspect that most of it is from discarded > code that is still resident in the Windows compile loop. > > > Barry Gerdes > S 33' 41' 44" E 150' 56' 32" > Home Page http://www.geocities.com/barrykgerdes > > > > >> Date: Sun, 4 Oct 2009 00:17:33 +0100 >> From: mat...@gm... >> To: ste...@li... >> Subject: Re: [Stellarium-pubdevel] windowns build environment >> >> I notice a warning at the stage when the .dll is created for the plugin: >> >> .../ld.exe: warning: auto-importing has been activated without >> --enable-auto-import specified on the command line. >> This should work unless it involves constant data structures >> referencing symbols from auto-imported DLLs. >> >> This --enable-auto-import switch has some interesting notes in the ld >> manual page, referring to Microsoft's PE-COFF spec. I'm don't fully >> understand all that is said there. >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry® Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9-12, 2009. Register >> now! >> http://p.sf.net/sfu/devconf >> _______________________________________________ >> Stellarium-pubdevel mailing list >> Ste...@li... >> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel > > ________________________________ > Click Here View photos of singles in your area > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Stellarium-pubdevel mailing list > Ste...@li... > https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel > > |