Hi Fabien
 
I succeeded in compiling 5584 in Windows XP in a very round about way. MinGW seems to be the problem. When using version 5.1.6 The stellarium compile fails right at the start with:
 
Scanning dependencies of target StelGuiLib
[ 4%] Building CXX object src/CMakeFiles/StelGuiLib.dir/gui/StelGui.cpp.obj
j:/msys/home/Barry/stellariumqt46/src/gui/StelGui.cpp:1: warning: -fPIC ignored for target (all code is position independent)
In file included from j:/Dev-Cpp/include/float.h:19,
from j:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/cfloat:48,
from j:/msys/home/Barry/stellariumqt46/src/core/StelFader.hpp:24,
from j:/msys/home/Barry/stellariumqt46/src/modules/TelescopeMgr.hpp:24,
from j:/msys/home/Barry/stellariumqt46/src/gui/StelGui.cpp:33:
j:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h:102: error: `__MINGW_NOTHROW' does not name a type
j:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h:103: error: `__MINGW_NOTHROW' does not name a type
j:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h:106: error: `__MINGW_NOTHROW' does not name a type
j:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h:107: error: `__MINGW_NOTHROW' does not name a type
j:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h:121: error: `__MINGW_NOTHROW' does not name a type
j:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h:122: error: `__MINGW_NOTHROW' does not name a type
j:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h:125: error: expected initializer before "__fpecode"
j:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h:133: error: `__MINGW_NOTHROW' does not name a type
j:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h:134: error: `__MINGW_NOTHROW' does not name a type
j:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h:135: error: `__MINGW_NOTHROW' does not name a type
j:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h:136: error: `__MINGW_NOTHROW' does not name a type
j:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h:137: error: `__MINGW_NOTHROW' does not name a type
j:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h:139: error: `__MINGW_NOTHROW' does not name a type
j:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/float.h:140: error: `_In file included from j:/Qt/4.6.0/qt/include/QtGui/qtextformat.h:1,
from j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextcursor.h:47,
from j:/Qt/4.6.0/qt/include/QtGui/qtextcursor.h:1,
from j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/widgets/qtextedit.h:48,
from j:/Qt/4.6.0/qt/include/QtGui/qtextedit.h:1,
from j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/widgets/qtextbrowser.h:45,
from j:/Qt/4.6.0/qt/include/QtGui/qtextbrowser.h:1,
from j:/Qt/4.6.0/qt/include/QtGui/QTextBrowser:1,
from j:/msys/home/Barry/stellariumqt46/src/gui/StelGui.cpp:61:
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h: In member function `void QTextFormat::setLayoutDirection(Qt::LayoutDirection)':
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:334: warning: passing `Qt::LayoutDirection' chooses `int' over `uint'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:334: warning: in call to `QVariant::QVariant(int)'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h: In member function `void QTextCharFormat::setFontCapitalization(QFont::Capitalization)':
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:414: warning: passing `QFont::Capitalization' chooses `int' over `uint'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:414: warning: in call to `QVariant::QVariant(int)'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h: In member function `void QTextCharFormat::setFontUnderline(bool)':
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:427: warning: passing `QTextCharFormat::UnderlineStyle' chooses `int' over `uint'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:427: warning: in call to `QVariant::QVariant(int)'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h: In member function `void QTextCharFormat::setFontStyleHint(QFont::StyleHint, QFont::StyleStrategy)':
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:451: warning: passing `QFont::StyleHint' chooses `int' over `uint'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:451: warning: in call to `QVariant::QVariant(int)'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:451: warning: passing `QFont::StyleStrategy' chooses `int' over `uint'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:451: warning: in call to `QVariant::QVariant(int)'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h: In member function `void QTextCharFormat::setFontStyleStrategy(QFont::StyleStrategy)':
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:453: warning: passing `QFont::StyleStrategy' chooses `int' over `uint'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:453: warning: in call to `QVariant::QVariant(int)'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h: In member function `void QTextCharFormat::setVerticalAlignment(QTextCharFormat::VerticalAlignment)':
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:469: warning: passing `QTextCharFormat::VerticalAlignment' chooses `int' over `uint'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:469: warning: in call to `QVariant::QVariant(int)'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h: In member function `void QTextListFormat::setStyle(QTextListFormat::Style)':
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:626: warning: passing `QTextListFormat::Style' chooses `int' over `uint'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:626: warning: in call to `QVariant::QVariant(int)'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h: In member function `void QTextFrameFormat::setPosition(QTextFrameFormat::Position)':
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:694: warning: passing `QTextFrameFormat::Position' chooses `int' over `uint'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:694: warning: in call to `QVariant::QVariant(int)'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h: In member function `void QTextFrameFormat::setBorderStyle(QTextFrameFormat::BorderStyle)':
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:708: warning: passing `QTextFrameFormat::BorderStyle' chooses `int' over `uint'
j:/Qt/4.6.0/qt/include/QtGui/../../src/gui/text/qtextformat.h:708: warning: in call to `QVariant::QVariant(int)'
make[2]: *** [src/CMakeFiles/StelGuiLib.dir/gui/StelGui.cpp.obj] Error 1
make[1]: *** [src/CMakeFiles/StelGuiLib.dir/all] Error 2
make: *** [all] Error 2
BUILD FAILED
 
If I revert to MinGW 5.1.4 Stellarium compiles to the point of Generating the Stellarium.exe but hangs up at:-



Linking CXX executable stellarium.exe
Info: resolving StelTranslator::globalTranslator by linking to __imp___ZN14StelTranslator16globalTranslatorE (auto-import)
Info: resolving vtable for StelMainWindowby linking to __imp___ZTV14StelMainWindow (auto-import)
Info: resolving StelLogger::logFile by linking to __imp___ZN10StelLogger7logFileE (auto-import)
Info: resolving StelFileMgr::fileLocations by linking to __imp___ZN11StelFileMgr13fileLocationsE (auto-import)
CMakeFiles/stellarium.dir/main.cpp.obj(.text+0x106a):main.cpp: variable 'vtable for StelMainWindow' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
CMakeFiles/stellarium.dir/main.cpp.obj(.text+0x1075):main.cpp: variable 'vtable for StelMainWindow' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
CMakeFiles/stellarium.dir/main.cpp.obj(.text+0x1788):main.cpp: variable 'vtable for StelMainWindow' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
CMakeFiles/stellarium.dir/main.cpp.obj(.text+0x178d):main.cpp: variable 'vtable for StelMainWindow' can't be auto-imported. Please read the documentation for ld's --enable-auto-import for details.
collect2: ld returned 1 exit status
make[2]: *** [src/stellarium.exe] Error 1
make[1]: *** [src/CMakeFiles/stellarium.dir/all] Error 2
make: *** [all] Error 2
BUILD FAILED
 
If I revert to MinGW 5.1.6 at this point and re-run
$ make && echo "BUILD WORKED" || echo "BUILD FAILED"
 
The compile completes and I get a working version with three minor faults:
 
1. The date cannot be entered in the window, it scrolls OK, Bogdan has the same trouble and it has been around since about build 5545
 
2. The Logbook module uses the same icon as the Ocular module. It needs a different icon.
 
3. The satellite module still crashes when closing. This problem has been around for some time now.
 
Other than these I can't see any other problems except for the previous problem with the modules using sqlite need Qt 4.6.0 installed and in the path.
 
 
Barry Gerdes
Beaumont Hills Observatory
S 33' 41' 44"    E 150' 56' 32"



 
> From: fabien.chereau@googlemail.com
> Date: Mon, 28 Dec 2009 20:30:37 +0100
> To: stellarium-pubdevel@lists.sourceforge.net
> Subject: Re: [Stellarium-pubdevel] Latest commits really mess up Mac
>
> Sorry guys,
> It was a mistake in my commit activating the currently completly
> broken OpenGL 2 rendering I am working on.
> It should be now fixed.
> Fabien
>
> On Mon, Dec 28, 2009 at 15:56, Timothy Reaves
> <treaves@silverfieldstech.com> wrote:
> >
> > On Dec 28, 2009, at 4:25 AM, Bogdan Marinov wrote:
> >
> >> On Mon, Dec 28, 2009 at 2:38 AM, Timothy Reaves
> >> <treaves@silverfieldstech.com> wrote:
> >>>        The latest commits dealing with GLES really, really mess up the mac.  The landscape no longer even shows up.  Some of the stars are square.  When you click a star, he selection cross hairs are off to the side of where you clicked.
> >>
> >> You are lucky you can see any stars. :) My Ubuntu build loads very
> >> slowly and fails at rendering anything except text. Text labels on the
> >> splash screen are mirrored again. :)
> >>
> >> I'm getting a few Mesa errors in the log:
> >> Loading star data ...
> >> Mesa 7.6.1-rc4 implementation error: i915_program_error: Bad source->Index
> >> Please report at bugzilla.freedesktop.org
> >> Mesa 7.6.1-rc4 implementation error: i915_program_error: Bad source->File
> >> Please report at bugzilla.freedesktop.org
> >> Loading "stars/default/stars_0_0v0_1.cat": 0_0v0_1; 5013
> >>
> >> Such an error popped up once before. I solved it by upgrading Mesa
> >> from 7.6.0 (the default for Ubuntu Karmic Koala) to 7.6.1-rc4 from a
> >> PPA.
> >>
> >> Since about the transition to pure Qt 4.6 using shaders to draw the
> >> atmosphere results in very low frame rate (<5, was about 15 before).
> >> Turning off shaders or turning off the atmosphere helps to get >20
> >> FPS. (All of this applies to the version before the last changes. Now
> >> it's <1 FPS.)
> >>
> >> Regards,
> >> Bogdan
> >
> >
> >        Well, I guess the one good thing about the Mac laptops is good OpenGL support; I still bet better than 50-fps.
> > ------------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Verizon Developer Community
> > Take advantage of Verizon's best-in-class app development support
> > A streamlined, 14 day to market process makes app distribution fast and easy
> > Join now and get one step closer to millions of Verizon customers
> > http://p.sf.net/sfu/verizon-dev2dev
> > _______________________________________________
> > Stellarium-pubdevel mailing list
> > Stellarium-pubdevel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
> >
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> Stellarium-pubdevel mailing list
> Stellarium-pubdevel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel


Check out the latest features today Get more out of Hotmail