There shouldn't be any reference to StelNavigator.. Are you sure you
got the proper branch?
Fab

On Fri, Jun 3, 2011 at 13:15, Matthew Gates <[email protected]> wrote:
> Well, I found my copy of the branch, did a big bzr up and re-built
> with a full clean.  I get a SEGV on execution:
>
> (gdb) r
> Starting program:
> /home/mouse/projects/stellarium/refraction/builds/debug/src/stellarium
> [Thread debugging using libthread_db enabled]
> Using default graphics system specified at build time:  raster
> [New Thread 0xb7d70b70 (LWP 28066)]
>  -------------------------------------------------------
> [ This is Stellarium 0.10.6 - http://www.stellarium.org ]
> [ Copyright (C) 2000-2010 Fabien Chereau et al          ]
>  -------------------------------------------------------
> Writing log file to: "/home/mouse/.stellarium/log.txt"
> File search paths:
>  0 .  "/home/mouse/.stellarium"
>  1 .  "."
> Config file is:  "/home/mouse/.stellarium/config.ini"
> OpenGL supported version:  "3.3.10665 Compatibility Profile Context"
> Qt GL paint engine is:  "OpenGL2"
> QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed:
> No such file or directory
> [New Thread 0xb41a1b70 (LWP 28068)]
> QFileSystemWatcher: failed to add paths: /home/mouse/.config/ibus/bus
> [New Thread 0xb39a0b70 (LWP 28069)]
> [New Thread 0xb319fb70 (LWP 28070)]
> QGLShader::link: "Vertex shader(s) linked, fragment shader(s) linked.
> "
> QGLShader::link: "Vertex shader(s) linked, fragment shader(s) linked.
> "
> Cache directory is:  "/home/mouse/.cache/stellarium/stellarium"
> WARNING StelFileMgr::getLocaleDir() - could not determine locale
> directory, returning ""
> WARNING StelFileMgr::getLocaleDir() - could not determine locale
> directory, returning ""
> Sky language is  "en"
> WARNING StelFileMgr::getLocaleDir() - could not determine locale
> directory, returning ""
> Application language is  "en"
> Loading Solar System data ...
> Loaded 38 / 38 planet orbits from "./data/ssystem.ini"
> Loading star data ...
> Star catalog:  "./stars/default/stars_0_0v0_1.cat" ": mag_min:
> 4294965296, mag_steps: 256, mag_range: 12800"
> "Loading "./stars/default/stars_0_0v0_1.cat": 0_0v0_1; 5013"
> Star catalog:  "./stars/default/stars_1_0v0_1.cat" ": mag_min: 6000,
> mag_steps: 256, mag_range: 12800"
> "Loading "./stars/default/stars_1_0v0_1.cat": 1_0v0_1; 21999"
> Star catalog:  "./stars/default/stars_2_0v0_1.cat" ": mag_min: 7500,
> mag_steps: 256, mag_range: 12800"
> "Loading "./stars/default/stars_2_0v0_1.cat": 2_0v0_1; 151416"
> Star catalog:  "./stars/default/stars_3_1v0_0.cat" ": mag_min: 9000,
> mag_steps: 30, mag_range: 1500"
> "Loading "./stars/default/stars_3_1v0_0.cat": 3_1v0_0; 434064"
> Finished loading star catalogue data, max_geodesic_level:  3
> navigation/preset_sky_time is a double - treating as jday: 2.45151e+06
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x08107607 in StelNavigator::lookAtJ2000(Vector3<double> const&,
> Vector3<double> const&) ()
> (gdb) bt
> #0  0x08107607 in StelNavigator::lookAtJ2000(Vector3<double> const&,
> Vector3<double> const&) ()
> #1  0x08101584 in StelMovementMgr::init() ()
> #2  0x0814e150 in StelCore::init() ()
> #3  0x08148869 in StelApp::init(QSettings*) ()
> #4  0x08155b51 in StelAppGraphicsWidget::init(QSettings*) ()
> #5 0x08278455 in StelMainGraphicsView::init(QSettings*) ()
> #6 0x08279975 in StelMainWindow::init(QSettings*) ()
> #7  0x0829ce7c in main ()
> (gdb)
>
>
> On 3 June 2011 03:03, Fabien Chéreau <[email protected]> wrote:
>> Dear all,
>> the last days I had some time to continue working on atmosphere
>> refraction using formulas and based on a branch coded by Georg and I
>> think the code is now ready for merging. After merging this branch to
>> trunk, atmospheric refraction will be automatically activated when
>> atmosphere is activated.
>> The refraction code was integrated deep into the projection code,
>> allowing to apply the effect to everything, i.e. not only stars but
>> also planets models etc.. This required deep changes in the core,
>> including merging StelCore and StelNavigator classes in order to
>> cleanly support non linear model view transformations (Matrix are not
>> enough anymore). A lot of code has been broken but I repaired the
>> plugins. In order to fix code break in your branches, you usually only
>> have to get rid of any reference to StelNavigator. All the methods
>> from this class are now accessible from StelCore instead.
>>
>> Please note that supporting refraction created some additional
>> difficulties when using altazimutal reference frame (or converting
>> from/to it): you now have to choose if you want to use the geometric
>> altaz frame (i.e. the one without atmosphere) or the apparent one
>> (after diffraction effect applied). This happens e.g. in
>> StelCore::altAzToJ2000(..). The one to use is generally case
>> dependent. If you don't define it, StelCore will use an automatic
>> value, which is ON if atmosphere is activated, OFF otherwise.
>>
>> I am quite excited because I believe this is a major feature for
>> Stellarium: it will improve astrometric precision (e.g. for telescope
>> users), it is very educative and fun to see the effect when toggling
>> atmosphere, and I don't know any astronomy program who can actually
>> render an oval sunset/moon etc :)
>>
>> I am waiting for your feedbacks to merge!
>> Cheers,
>> Fabien
>>
>> ------------------------------------------------------------------------------
>> Simplify data backup and recovery for your virtual environment with vRanger.
>> Installation's a snap, and flexible recovery options mean your data is safe,
>> secure and there when you need it. Discover what all the cheering's about.
>> Get your free trial download today.
>> http://p.sf.net/sfu/quest-dev2dev2
>> _______________________________________________
>> Stellarium-pubdevel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
>>
>
> ------------------------------------------------------------------------------
> Simplify data backup and recovery for your virtual environment with vRanger.
> Installation's a snap, and flexible recovery options mean your data is safe,
> secure and there when you need it. Discover what all the cheering's about.
> Get your free trial download today.
> http://p.sf.net/sfu/quest-dev2dev2
> _______________________________________________
> Stellarium-pubdevel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
>

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Stellarium-pubdevel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel

Reply via email to