From: Barry G. <bar...@ho...> - 2009-12-22 20:11:52
|
Hi Fabien The error I get when I try to compile with the svn stellogger.cpp is: [ 10%] Building CXX object src/CMakeFiles/stelMain.dir/StelLogger.cpp.obj j:/msys/home/Barry/stellariumQt46 /src/StelLogger.cpp: In static member function `static void StelLogger::init(const QString&)': j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:191: error: `MEMORYSTATUS' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:191: error: (Each undeclared identifier is reported only once for each function it appears in.) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:191: error: expected `;' before "statex" j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:192: error: `statex' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:192: error: `GlobalMemoryStatus' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:201: error: `HKEY' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:201: error: expected `;' before "hKey" j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:202: error: `DWORD' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:192: error: `GlobalMemoryStatus' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:201: error: `HKEY' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:201: error: expected `;' before "hKey" j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:202: error: `DWORD' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:202: error: expected `;' before "dwType" j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:203: error: expected `;' before "numVal" j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:204: error: expected `;' before "dwSize" j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:208: error: `LONG' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:208: error: expected `;' before "lRet" j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:210: error: `lRet' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:210: error: `ERROR_SUCCESS' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:212: error: `HKEY_LOCAL_MACHINE' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:213: error: `TEXT' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:214: error: `KEY_QUERY_VALUE' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:214: error: `hKey' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:214: error: `RegOpenKeyEx' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:218: error: `dwType' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:218: error: `LPBYTE' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:218: error: `numVal' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:218: error: `dwSize' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:218: error: `RegQueryValueEx' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:225: error: `REG_SZ' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:227: error: expected `;' before "nameSize" j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:231: error: `nameSize' undeclared (first use this function) j:/msys/home/Barry/stellariumQt46/src/StelLogger.cpp:237: error: `RegCloseKey' undeclared (first use this function) make[2]: *** [src/CMakeFiles/stelMain.dir/StelLogger.cpp.obj] Error 1 make[1]: *** [src/CMakeFiles/stelMain.dir/all] Error 2 make: *** [all] Error 2 BUILD FAILED With this removed in svn 5568 I get this error:- 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 So I can't tell whether the problem is fixed yet. Barry Gerdes Beaumont Hills Observatory S 33' 41' 44" E 150' 56' 32" > From: fab...@go... > Date: Tue, 22 Dec 2009 17:47:24 +0100 > To: ste...@li... > Subject: Re: [Stellarium-pubdevel] Move to Qt 4.6 > > I just committed a small change to StelPainter, could you tell me if > it fixed the problem with the reverted text? > Fab > > On Tue, Dec 22, 2009 at 12:54, Barry Gerdes <bar...@ho...> wrote: > > Hi Fabien > > > > Before you force a change to Qt 4.6.0. There is the problem of the inverted > > text in Windows. Bogdan's trick to comment line 690 in stelpainter.cpp does > > not fix the problem. It just removes that section of the of the text and > > elsewhere that the step paints text. I am not familiar with the c++ language > > but I remember using a view window in Basic years ago the screen coords were > > inverted ie. the "y" coords were numbered from the bottom instead of the > > top. This is what is happening here. > > > > The other problem in the stellogger.cpp where I just removed the offending > > windows registry step does not necesssarily fix the problem. It just > > bypasses it. > > > > I don't think we are ready in windows to go to Qt4.6.0 yet. > > > > There is also the problem with the Ocular module in Windows It works on some > > computers and not others because sqlite is not found correctly and I can't > > find out why. I packaged my compile on this computer that does not load the > > ocular module correctly and installed it on the laptop where it then works > > correctly so it does not appear to be a stellarium problem! > > > > I tried to put Qt 4.6.0 on my Linux installation but ran into a major > > problem, not enough space in the partition to do the installation. This > > means starting from scratch with Linux on a larger partition. > > > > Barry Gerdes > > Beaumont Hills Observatory > > S 33' 41' 44" E 150' 56' 32" > > > > > > > >> From: fab...@go... > >> Date: Tue, 22 Dec 2009 11:57:20 +0100 > >> To: ste...@li... > >> Subject: [Stellarium-pubdevel] Move to Qt 4.6 > >> > >> As said before, I now changed the code to enforce use of Qt>=4.6.0. > >> This will allow to reduce the number of cases concerning management of > >> windows and openGL stuff at startup. > >> Fabien > >> > >> > >> ------------------------------------------------------------------------------ > >> 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 > >> Ste...@li... > >> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel > > > > ________________________________ > > Australia's #1 job site If It Exists, You'll Find it on SEEK > > ------------------------------------------------------------------------------ > > 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 > > Ste...@li... > > 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 > Ste...@li... > https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel _________________________________________________________________ Use Messenger in your Hotmail inbox Find out how http://windowslive.ninemsn.com.au/hotmail/article/823454/web-im-for-hotmail-is-here |