Page 1 of 2
Celestia 1.2.5 is ready!
Posted: 07.01.2003, 18:27
by chris
Celestia 1.2.5 is finally done. The official announcement on the site will come once the low res package is done. But here
Here are the links to download it from SourceForge:
Win32 binary package:
http://prdownloads.sourceforge.net/celestia/celestia-win32-1.2.5.exe
Source package (for Linux users, or anyone else who wants to compile Celestia themself):
http://prdownloads.sourceforge.net/celestia/celestia-1.2.5.tar.gz
If SourceForge is being flaky for some reason, you can get Celestia 1.2.5 directly from shatters.net:
Win32 binary:
http://www.shatters.net/celestia/files/celestia-win32-1.2.5.exe
Source package:
http://www.shatters.net/celestia/files/celestia-1.2.5.tar.gz
Do try and use the SourceForge link if possible. Here's the complete list of changes between 1.2.4 and 1.2.5:
Code: Select all
* Implemented text-based auxilliary star catalogs
* Added orientation property for planets
* Corrected rotation of Toutatis
* Improved specular highlights on planets (use local viewer model)
* Added constellation boundaries
* Fixed z fighting when cloud layers are used with vertex shaders
* Added Christopher Andre's eclipse finder for windows
* Fixed writing of locations file so locations still work after restarting
* Comets
* Added newly discovered extrasolar planets
* Added InfoURL field for objects in .ssc files
* Numerous Gtk UI fixes (details?)
* Fixed 'squareness' of planets and moons viewed at a distance
* Middle mouse button toggles between 45 degree and last field of view
* Added FOV to set command, so scripts can set the field of view.
* Made ring shadows optional
* Added distance filtering for stars
* Encode/decode Tycho catalog numbers, to support extended star database
* Fixed Moon's orbit so it doesn't crash into the Earth far in the future
* Improved vertex shader illumination for planetary rings
* Better text display from .cel scripts
* Added text "flash" messages for many keyboard commands
* Fixed Windows Solar System Browser to allow arbitrary depth tree
* Added shadows cast by rings onto planets
* Fixed lots of bugs with sampled orbits (.xyz files)
* Added RotateAcceleration field to config file; allows adjustment of
navigation control sensitivity
* Improved accuracy of orbital calculations; VSOP87 series for all planets
* Added beginning/ending fields to definitions in .ssc files; allows
setting finite lifespans for objects
* Made galaxies pickable
* Added view frustum culling of galaxies, for much improved performance
* Allow date strings Beginning, Ending, and Epoch fields of .ssc files
* Fixed incorrect occlusion of small satellites orbiting close to planets
* New set of constellation figures
* Sync'd mouse functions in Windows and Linux versions of Celestia
* Linux: fixed dialing ranges in set time dialog
* Fixed texture lookup to use higher res textures if a low res one isn't
available
* Made steering keys on keypad turn the camera at a rate proportional to the
field of view
* Added 'automag' option to automatically adjust the limiting magnitude based
on the field of view (i.e. fainter stars become visible when the fov is
decreased)
* Fixed haloes around bright stars so they're fixed in size regardless of
field of view
* New colors for celestial grid and constellation figures
* Tuning of Gnome GUI: underlined key accelerators, enabled operation of all
dialogs and menus with ALT <key>, arrow keys, and Tab
* Linux: GUI now synced with current state of pixel/vertex shaders
* New keyboard bindings:
Ctrl+Y : automag toggle
Ctrl+T : toggle display of comet tails
Ctrl+B : constellation boundaries toggle
! : use current time
Backspace : clear selection
* Reversed more/fewer stars keys ([ and ]) to be consistent with more/less
ambient light keys
* Added support for multiple extras directories
* Reduced minimum field of view down to 3 arcsec
* Fixed glitch with center command that appeared under Linux and on Windows
when building with VS.NET
* Cleaned up OpenGL extension initialization
* Significantly improved the reliability of object selection via mouse
click, notably for small fields of view in the arcsec range.
* Fixed the 'move' script command
* New script commands: setfaintestautomag45deg {magnitude float},
lookback {}
* [,] keys now adjust the limiting magnitude at 45 degrees
field of view, if automag is ON. Values displayed via flash messages
* Associated the 'looking back' operation with the '*' key shortcut
* Fixed bug in orbits of Galilean moons
* Corrected equatorial planes and rotation offsets for the major planets
* Linux: Added KDE interface, all features of the GTK interface are
available (except for the Tour Guide), new features include:
- Bookmarks / URLs;
- History navigation;
- Configurable shortcuts and tool bar;
- Contextual menus;
- Saved Settings and Preferences.
Integration with KDE:
- New Mime Type application/x-celestia-script for *.cel files;
- *.cel files and cel:// URLs are associated with Celestia, if no instance
of Celestia is running when the file or URL is activated it will be
started and the script will be run or the location set to that of the URL.
If an instance is already running the script will be run in that instance
or that instance's location will be changed to match the URL.
* Added drag and drop and copy to clipboard for cel:// URLs on Windows
Many thanks to Christophe and Fridger for all their work on this release. And thanks to all the people here on the forum for finding and reporting bugs in prereleases.
--Chris
Posted: 07.01.2003, 22:13
by Rassilon
I remember you mentioned new script files for nebulas and galaxies....Was this possible for this release?
Posted: 07.01.2003, 22:33
by Darkmiss
Wow thanks to all
Posted: 07.01.2003, 22:58
by chris
Rassilon wrote:I remember you mentioned new script files for nebulas and galaxies....Was this possible for this release?
No, but it's first on my list of new things for 1.2.6. Also, 1.2.6 will have a
lot less new stuff than 1.2.5, so you won't have to wait half a year for it
--Chris
Posted: 07.01.2003, 23:22
by Rassilon
Well its not been that bad considering you did release the pre betas of 1.2.5...Take your time really...Ive been so busy lately Ive not worked on anything since NGC 1999
but I will try to come up with something this month...I hope...
Thanks for all your hard work chris...Wonderful job as usual
Posted: 08.01.2003, 09:28
by Kendrix
Thanx to you Chris !
I try this new version tonight !
Spring Cleaning
Posted: 08.01.2003, 09:52
by MKruer
Any chance of cleaning up the directory structure for better support for different universe in the next release or is that being pushed back?
Posted: 08.01.2003, 15:26
by Thilo
Cool!!! Thanks for KDE GUI support!!!!
but ...
Code: Select all
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../.. -I.. -I/usr/qt/3/include -I/usr/kde/3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -c -o celestialbrowserbase.uic.o `test -f 'celestialbrowserbase.uic.cpp' || echo './'`celestialbrowserbase.uic.cpp
celestialbrowserbase.uic.cpp:10:38: celestialbrowserbase.uic.h: No such file or directory
celestialbrowserbase.uic.cpp:28: syntax error before `::' token
celestialbrowserbase.uic.cpp:34: ISO C++ forbids declaration of `
CelestialBrowserBaseLayout' with no type
celestialbrowserbase.uic.cpp:34: invalid use of `this' at top level
celestialbrowserbase.uic.cpp:36: ISO C++ forbids declaration of `buttonGroup2'
with no type
celestialbrowserbase.uic.cpp:36: invalid use of `this' at top level
celestialbrowserbase.uic.cpp:37: syntax error before `->' token
celestialbrowserbase.uic.cpp:38: syntax error before `->' token
celestialbrowserbase.uic.cpp:39: syntax error before `->' token
celestialbrowserbase.uic.cpp:40: syntax error before `->' token
celestialbrowserbase.uic.cpp:41: syntax error before `->' token
celestialbrowserbase.uic.cpp:42: syntax error before `->' token
celestialbrowserbase.uic.cpp:43: ISO C++ forbids declaration of `
buttonGroup2Layout' with no type
celestialbrowserbase.uic.cpp:43: base operand of `->' is not a pointer
celestialbrowserbase.uic.cpp:44: syntax error before `->' token
celestialbrowserbase.uic.cpp:46: ISO C++ forbids declaration of `listStars'
with no type
celestialbrowserbase.uic.cpp:46: parse error before `(' token
celestialbrowserbase.uic.cpp:47: syntax error before `->' token
celestialbrowserbase.uic.cpp:48: syntax error before `->' token
celestialbrowserbase.uic.cpp:49: syntax error before `->' token
celestialbrowserbase.uic.cpp:50: syntax error before `->' token
celestialbrowserbase.uic.cpp:51: syntax error before `->' token
celestialbrowserbase.uic.cpp:53: syntax error before `->' token
celestialbrowserbase.uic.cpp:55: syntax error before `->' token
celestialbrowserbase.uic.cpp:57: syntax error before `->' token
celestialbrowserbase.uic.cpp:59: ISO C++ forbids declaration of `radioPlanets'
with no type
celestialbrowserbase.uic.cpp:59: invalid conversion from `int' to `QWidget*'
celestialbrowserbase.uic.cpp:59: initializing argument 1 of `
QRadioButton::QRadioButton(QWidget*, const char*)'
celestialbrowserbase.uic.cpp:59: invalid conversion from `QRadioButton*' to `
int'
celestialbrowserbase.uic.cpp:61: syntax error before `->' token
celestialbrowserbase.uic.cpp:63: ISO C++ forbids declaration of `radioBrightest
' with no type
celestialbrowserbase.uic.cpp:63: invalid conversion from `int' to `QWidget*'
celestialbrowserbase.uic.cpp:63: initializing argument 1 of `
QRadioButton::QRadioButton(QWidget*, const char*)'
celestialbrowserbase.uic.cpp:63: invalid conversion from `QRadioButton*' to `
int'
celestialbrowserbase.uic.cpp:65: syntax error before `->' token
celestialbrowserbase.uic.cpp:67: ISO C++ forbids declaration of `radioBrighter'
with no type
celestialbrowserbase.uic.cpp:67: invalid conversion from `int' to `QWidget*'
celestialbrowserbase.uic.cpp:67: initializing argument 1 of `
QRadioButton::QRadioButton(QWidget*, const char*)'
celestialbrowserbase.uic.cpp:67: invalid conversion from `QRadioButton*' to `
int'
celestialbrowserbase.uic.cpp:69: syntax error before `->' token
celestialbrowserbase.uic.cpp:71: ISO C++ forbids declaration of `radioNearest'
with no type
celestialbrowserbase.uic.cpp:71: invalid conversion from `int' to `QWidget*'
celestialbrowserbase.uic.cpp:71: initializing argument 1 of `
QRadioButton::QRadioButton(QWidget*, const char*)'
celestialbrowserbase.uic.cpp:71: invalid conversion from `QRadioButton*' to `
int'
celestialbrowserbase.uic.cpp:73: syntax error before `->' token
celestialbrowserbase.uic.cpp:75: ISO C++ forbids declaration of `buttonOk' with
no type
celestialbrowserbase.uic.cpp:75: invalid conversion from `int' to `QWidget*'
celestialbrowserbase.uic.cpp:75: initializing argument 1 of `
QPushButton::QPushButton(QWidget*, const char*)'
celestialbrowserbase.uic.cpp:75: invalid conversion from `QPushButton*' to `int
'
celestialbrowserbase.uic.cpp:76: syntax error before `->' token
celestialbrowserbase.uic.cpp:77: syntax error before `->' token
celestialbrowserbase.uic.cpp:79: syntax error before `->' token
celestialbrowserbase.uic.cpp:81: ISO C++ forbids declaration of `refresh' with
no type
celestialbrowserbase.uic.cpp:81: invalid conversion from `int' to `QWidget*'
celestialbrowserbase.uic.cpp:81: initializing argument 1 of `
QPushButton::QPushButton(QWidget*, const char*)'
celestialbrowserbase.uic.cpp:81: invalid conversion from `QPushButton*' to `int
'
celestialbrowserbase.uic.cpp:83: syntax error before `->' token
celestialbrowserbase.uic.cpp:85: syntax error before `->' token
celestialbrowserbase.uic.cpp:86: ISO C++ forbids declaration of `languageChange
' with no type
celestialbrowserbase.uic.cpp:87: `minimumSizeHint' was not declared in this
scope
celestialbrowserbase.uic.cpp:87: ISO C++ forbids declaration of `resize' with
no type
celestialbrowserbase.uic.cpp:90: invalid use of `this' at top level
celestialbrowserbase.uic.cpp:90: ISO C++ forbids declaration of `connect' with
no type
celestialbrowserbase.uic.cpp:90: initializer list being treated as compound
expression
celestialbrowserbase.uic.cpp:91: invalid use of `this' at top level
celestialbrowserbase.uic.cpp:91: ISO C++ forbids declaration of `connect' with
no type
celestialbrowserbase.uic.cpp:91: redefinition of `int connect'
celestialbrowserbase.uic.cpp:90: `int connect' previously defined here
celestialbrowserbase.uic.cpp:91: initializer list being treated as compound
expression
celestialbrowserbase.uic.cpp:92: invalid use of `this' at top level
celestialbrowserbase.uic.cpp:92: ISO C++ forbids declaration of `connect' with
no type
celestialbrowserbase.uic.cpp:92: redefinition of `int connect'
celestialbrowserbase.uic.cpp:91: `int connect' previously defined here
celestialbrowserbase.uic.cpp:92: initializer list being treated as compound
expression
celestialbrowserbase.uic.cpp:93: invalid use of `this' at top level
celestialbrowserbase.uic.cpp:93: ISO C++ forbids declaration of `connect' with
no type
celestialbrowserbase.uic.cpp:93: redefinition of `int connect'
celestialbrowserbase.uic.cpp:92: `int connect' previously defined here
celestialbrowserbase.uic.cpp:93: initializer list being treated as compound
expression
celestialbrowserbase.uic.cpp:94: invalid use of `this' at top level
celestialbrowserbase.uic.cpp:94: ISO C++ forbids declaration of `connect' with
no type
celestialbrowserbase.uic.cpp:94: redefinition of `int connect'
celestialbrowserbase.uic.cpp:93: `int connect' previously defined here
celestialbrowserbase.uic.cpp:94: initializer list being treated as compound
expression
celestialbrowserbase.uic.cpp:95: invalid use of `this' at top level
celestialbrowserbase.uic.cpp:95: ISO C++ forbids declaration of `connect' with
no type
celestialbrowserbase.uic.cpp:95: redefinition of `int connect'
celestialbrowserbase.uic.cpp:94: `int connect' previously defined here
celestialbrowserbase.uic.cpp:95: initializer list being treated as compound
expression
celestialbrowserbase.uic.cpp:96: invalid use of `this' at top level
celestialbrowserbase.uic.cpp:96: ISO C++ forbids declaration of `connect' with
no type
celestialbrowserbase.uic.cpp:96: redefinition of `int connect'
celestialbrowserbase.uic.cpp:95: `int connect' previously defined here
celestialbrowserbase.uic.cpp:96: initializer list being treated as compound
expression
celestialbrowserbase.uic.cpp:97: parse error before `}' token
celestialbrowserbase.uic.cpp:102: syntax error before `::' token
celestialbrowserbase.uic.cpp:111: syntax error before `::' token
celestialbrowserbase.uic.cpp:114: syntax error before `->' token
celestialbrowserbase.uic.cpp:115: syntax error before `->' token
celestialbrowserbase.uic.cpp:116: syntax error before `->' token
celestialbrowserbase.uic.cpp:117: syntax error before `->' token
celestialbrowserbase.uic.cpp:118: syntax error before `->' token
celestialbrowserbase.uic.cpp:119: syntax error before `->' token
celestialbrowserbase.uic.cpp:120: syntax error before `->' token
celestialbrowserbase.uic.cpp:121: syntax error before `->' token
celestialbrowserbase.uic.cpp:122: syntax error before `->' token
celestialbrowserbase.uic.cpp:123: syntax error before `->' token
celestialbrowserbase.uic.cpp:124: syntax error before `->' token
celestialbrowserbase.uic.cpp:125: syntax error before `->' token
celestialbrowserbase.uic.cpp:126: syntax error before `->' token
celestialbrowserbase.uic.cpp:129: syntax error before `::' token
celestialbrowserbase.uic.cpp:134: syntax error before `::' token
celestialbrowserbase.uic.cpp:139: syntax error before `::' token
celestialbrowserbase.uic.cpp:144: syntax error before `::' token
celestialbrowserbase.uic.cpp:149: syntax error before `::' token
celestialbrowserbase.uic.cpp:154: syntax error before `::' token
make[5]: *** [celestialbrowserbase.uic.o] Error 1
make[5]: Leaving directory `/installation/celestia-1.2.5/src/celestia/kde'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/installation/celestia-1.2.5/src/celestia/kde'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/installation/celestia-1.2.5/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/installation/celestia-1.2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/installation/celestia-1.2.5'
make: *** [all] Error 2
let's see:
Code: Select all
root@Thilo celestia-1.2.5 # find ./ -name celestialbrowserbase.uic.h
root@Thilo celestia-1.2.5 #
The first time i compiled it, it did not complain about celestialbrowserbase.uic.h missing, and returned this:
Code: Select all
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../.. -I.. -I/usr/qt/3/include -I/usr/kde/3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -c -o celestialbrowserbase.uic.o `test -f 'celestialbrowserbase.uic.cpp' || echo './'`celestialbrowserbase.uic.cpp
celestialbrowserbase.uic.cpp: In constructor
`CelestialBrowserBase::CelestialBrowserBase(QWidget*, const char*, bool,
unsigned int)':
celestialbrowserbase.uic.cpp:46: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:47: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:48: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:49: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:50: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:51: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:53: no matching function for call to `QGridLayout
::addMultiCellWidget(KListView*&, int, int, int, int)'
/usr/qt/3/include/qlayout.h:325: candidates are: void
QGridLayout::addMultiCellWidget(QWidget*, int, int, int, int, int = 0)
celestialbrowserbase.uic.cpp:94: no matching function for call to `
CelestialBrowserBase::connect(KListView*&, const char[56],
CelestialBrowserBase* const, const char[56])'
/usr/qt/3/include/qobject.h:116: candidates are: static bool
QObject::connect(const QObject*, const char*, const QObject*, const char*)
/usr/qt/3/include/qobject.h:227: bool QObject::connect(const
QObject*, const char*, const char*) const
celestialbrowserbase.uic.cpp: In member function `virtual void
CelestialBrowserBase::languageChange()':
celestialbrowserbase.uic.cpp:115: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:116: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:117: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:118: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:119: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
make[5]: *** [celestialbrowserbase.uic.o] Error 1
rm celestialbrowserbase.uic.h
make[5]: Leaving directory `/installation/celestia-1.2.5/src/celestia/kde'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/installation/celestia-1.2.5/src/celestia/kde'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/installation/celestia-1.2.5/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/installation/celestia-1.2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/installation/celestia-1.2.5'
make: *** [all] Error 2
root@Thilo celestia-1.2.5 #
Posted: 08.01.2003, 16:21
by Christophe
Thilo wrote:Cool!!! Thanks for KDE GUI support!!!!
but ...
Whenever reporting a bug or compile problem please provide details of your distrib/video card... That makes it easier for us to solve your problem.
The tarball Chris published yesterday had indeed a small bug which causes the celestialbrowserbase.uic.h file to be removed during the make stage which breaks the 'make install'. This has already been fixed and a new tarball will be published soon.
RPMs for Mandrake 9.0 and Suse will be available soon too.
--
Christophe
Posted: 08.01.2003, 18:23
by Thilo
Whenever reporting a bug or compile problem please provide details of your distrib/video card... That makes it easier for us to solve your problem.
I am reporting the problem with my videocard if I think it is appropriate .. in thise case it was not because I doubt the libGL is responsible for any problems with KDE.
However, my distribution is gentoo based, pretty actual with emerge rsync and update done only yesterday.
Yet, I got another thing for you to chew on :-)
This problem exists on the gentoo gtk 2.0.9 and gtkglarea 1.2.3-r1 libraries, i have edited the configure script to make make use the flags -g3 -ggdb3
Code: Select all
thilo@Thilo celestia-1.2.5 # gdb celestia
GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run
Starting program: /installation/celestia-1.2.5/src/celestia/celestia
[New Thread 16384 (LWP 20384)]
nStars: 112521
Parent body 'TYC 5503-946-1' of 'b' not found.
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkWidget'
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkWidget'
Gtk-CRITICAL **: file gtkwidget.c: line 3821 (gtk_widget_set_events): assertion `widget != NULL' failed.
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
Gtk-CRITICAL **: file gtksignal.c: line 724 (gtk_signal_connect): assertion `object != NULL' failed.
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
Gtk-CRITICAL **: file gtksignal.c: line 724 (gtk_signal_connect): assertion `object != NULL' failed.
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
Gtk-CRITICAL **: file gtksignal.c: line 724 (gtk_signal_connect): assertion `object != NULL' failed.
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
Gtk-CRITICAL **: file gtksignal.c: line 724 (gtk_signal_connect): assertion `object != NULL' failed.
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
Gtk-CRITICAL **: file gtksignal.c: line 724 (gtk_signal_connect): assertion `object != NULL' failed.
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
Gtk-CRITICAL **: file gtksignal.c: line 724 (gtk_signal_connect): assertion `object != NULL' failed.
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
Gtk-CRITICAL **: file gtksignal.c: line 724 (gtk_signal_connect): assertion `object != NULL' failed.
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
Gtk-CRITICAL **: file gtksignal.c: line 724 (gtk_signal_connect): assertion `object != NULL' failed.
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkGLArea'
** CRITICAL **: file gtkglarea.c: line 223 (gtk_gl_area_size): assertion `glarea != NULL' failed.
Gtk-CRITICAL **: file gtkbox.c: line 331 (gtk_box_pack_start): assertion `child != NULL' failed.
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkWidget'
Gtk-CRITICAL **: file gtkwidget.c: line 1427 (gtk_widget_show): assertion `widget != NULL' failed.
Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkObject'
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 20384)]
0x080cf02a in main (argc=1, argv=0xbffff8f4) at gtkmain.cpp:2639
2639 GTK_WIDGET_SET_FLAGS(oglArea, GTK_CAN_FOCUS);
(gdb) bt
#0 0x080cf02a in main (argc=1, argv=0xbffff8f4) at gtkmain.cpp:2639
#1 0x408a4e34 in __libc_start_main () from /lib/libc.so.6
(gdb) print *oglArea
Cannot access memory at address 0x0
(gdb) print GTK_CAN_FOCUS
$1 = GTK_CAN_FOCUS
(gdb) print *GTK_CAN_FOCUS
Attempt to take contents of a non-pointer value.
(gdb)
Posted: 08.01.2003, 18:33
by Thilo
*update*
i actualized gtkglarea to 1.99.0
this time celestia hangs with the VERY informative gdb output of
Code: Select all
thilo@Thilo celestia-1.2.5 # gdb celestia
GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...ru
(gdb) run
Starting program: /installation/celestia-1.2.5/src/celestia/celestia
[New Thread 16384 (LWP 26591)]
nStars: 112521
Parent body 'TYC 5503-946-1' of 'b' not found.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 26591)]
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
(gdb) quit
I'm updating to gtk+2.2 and newer glib .... if this does not work I'm going to recompile without debugging symbols, for this may be the cause of it ..
would you like me to try it with Electric Fence memory debugger in that case? ;)
Posted: 08.01.2003, 18:54
by chris
The new source distribution with the missing file celestialbrowserbase.uic.h is now up on shatters.net:
http://www.shatters.net/celestia/files/celestia-1.2.5.tar.gz
I'll upload it to SourceForge later . . .
--Chris
Posted: 08.01.2003, 18:55
by t00fri
Thilo wrote:Whenever reporting a bug or compile problem please provide details of your distrib/video card... That makes it easier for us to solve your problem.
I am reporting the problem with my videocard if I think it is appropriate .. in thise case it was not because I doubt the libGL is responsible for any problems with KDE.
However, my distribution is gentoo based, pretty actual with emerge rsync and update done only yesterday.
Yet, I got another thing for you to chew on :-)
This problem exists on the gentoo gtk 2.0.9 and gtkglarea 1.2.3-r1 libraries, i have edited the configure script to make make use the flags -g3 -ggdb3
Thilo:
please refrain from upgrading to the very latest system components, since in most cases the KDE interface is not really well tested for these. Christophe and I compile the sources without the slightest problems, despite significantly different Linux distributions.
I use gtk+ 1.2.x and have no idea whether things will work with gtk 2.x. What gcc do you use? My distribution is essentially a modernized SuSE 7.3, while Christophe is using Mandrake.
I use KDE 3.05a while Christophe uses 3.1 which during the development phase also showed incompatibilities that we have hopefully eliminated during our extensive joint debugging efforts;-)...
Bye Fridger
Bye Fridger
Posted: 08.01.2003, 19:09
by Thilo
I am using gcc 3.2 - but that should not be anymore a problem. compiling without gui does the trick. I'm rather trying to help to give you clues about incompatibilities with newer versions .. i know, linux can be a pain in the butt with these things ;)
By the way, the gtk as well as gtkglarea was not the newest in place but rather old versions, i right now installed gtk 2.2 and gtkglarea 1.9.99 ... now configure does not properly detect the gtkglarea library.
Code: Select all
checking for GTK - version >= 1.2.0... yes
checking for gdk_gl_query in -lgtkgl... no
configure: error: Unable to find gtkglarea
root@Thilo celestia-1.2.5 # ls -l /usr/lib/libgtkgl*
-rw-r--r-- 1 root root 510742 Jan 8 18:34 /usr/lib/libgtkgl-2.0.a
-rwxr-xr-x 1 root root 1109 Jan 8 18:34 /usr/lib/libgtkgl-2.0.la
lrwxrwxrwx 1 root root 21 Jan 8 18:34 /usr/lib/libgtkgl-2.0.so -> libgtkgl-2.0.so.1.0.0
lrwxrwxrwx 1 root root 21 Jan 8 18:34 /usr/lib/libgtkgl-2.0.so.1 -> libgtkgl-2.0.so.1.0.0
-rwxr-xr-x 1 root root 20519 Jan 8 18:34 /usr/lib/libgtkgl-2.0.so.1.0.0
-rw-r--r-- 1 root root 16042 Oct 25 15:34 /usr/lib/libgtkgl.a
-rwxr-xr-x 1 root root 892 Oct 25 15:34 /usr/lib/libgtkgl.la
lrwxrwxrwx 1 root root 17 Oct 25 15:34 /usr/lib/libgtkgl.so -> libgtkgl.so.5.0.0
lrwxrwxrwx 1 root root 17 Oct 25 15:34 /usr/lib/libgtkgl.so.5 -> libgtkgl.so.5.0.0
-rwxr-xr-x 1 root root 20506 Oct 25 15:34 /usr/lib/libgtkgl.so.5.0.0
root@Thilo celestia-1.2.5 # strings --print-file-name /usr/lib/libgtkgl* | grep gdk_gl_query
/usr/lib/libgtkgl-2.0.a: gdk_gl_query
/usr/lib/libgtkgl-2.0.a: gdk_gl_query
/usr/lib/libgtkgl-2.0.a: gdk_gl_query
/usr/lib/libgtkgl-2.0.a: gdk_gl_query
/usr/lib/libgtkgl-2.0.so: gdk_gl_query
/usr/lib/libgtkgl-2.0.so.1: gdk_gl_query
/usr/lib/libgtkgl-2.0.so.1.0.0: gdk_gl_query
/usr/lib/libgtkgl.a: gdk_gl_query
/usr/lib/libgtkgl.a: gdk_gl_query
/usr/lib/libgtkgl.so: gdk_gl_query
/usr/lib/libgtkgl.so.5: gdk_gl_query
/usr/lib/libgtkgl.so.5.0.0: gdk_gl_query
root@Thilo celestia-1.2.5 #
I know you're probably not going to look after it for a while, if you want info still tell me what i can get you of that info.
another suggestion is you having the --with-debug option in configure properly set the compilation flag vars with -g3 and remove -O2 to enable at least debugging for curious souls like me ;)
and finally, to chris: thank you, I'm going to sink my teeth into the new tarball :-)
Posted: 08.01.2003, 19:43
by Thilo
Chris: the file is there now, but I still receive the compilation error. I am using KDE 3.05a as well and get this error:
Code: Select all
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../.. -I.. -I/usr/qt/3/include -I/usr/kde/3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -g3 -fno-exceptions -fno-check-new -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -c -o celestialbrowserbase.uic.o `test -f 'celestialbrowserbase.uic.cpp' || echo './'`celestialbrowserbase.uic.cpp
celestialbrowserbase.uic.cpp: In constructor
`CelestialBrowserBase::CelestialBrowserBase(QWidget*, const char*, bool,
unsigned int)':
celestialbrowserbase.uic.cpp:46: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:47: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:48: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:49: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:50: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:51: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:53: no matching function for call to `QGridLayout
::addMultiCellWidget(KListView*&, int, int, int, int)'
/usr/qt/3/include/qlayout.h:325: candidates are: void
QGridLayout::addMultiCellWidget(QWidget*, int, int, int, int, int = 0)
celestialbrowserbase.uic.cpp:94: no matching function for call to `
CelestialBrowserBase::connect(KListView*&, const char[56],
CelestialBrowserBase* const, const char[56])'
/usr/qt/3/include/qobject.h:116: candidates are: static bool
QObject::connect(const QObject*, const char*, const QObject*, const char*)
/usr/qt/3/include/qobject.h:227: bool QObject::connect(const
QObject*, const char*, const char*) const
celestialbrowserbase.uic.cpp: In member function `virtual void
CelestialBrowserBase::languageChange()':
celestialbrowserbase.uic.cpp:115: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:116: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:117: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:118: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:119: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
make[5]: *** [celestialbrowserbase.uic.o] Error 1
make[5]: Leaving directory `/installation/celestia-1.2.5/src/celestia/kde'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/installation/celestia-1.2.5/src/celestia/kde'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/installation/celestia-1.2.5/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/installation/celestia-1.2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/installation/celestia-1.2.5'
make: *** [all] Error 2
root@Thilo celestia-1.2.5 #
Posted: 08.01.2003, 22:43
by DavidR
Hi Chris,
All functionalities I have tested in (XP SP1) works fine.
Very great Job !!!
Congratulations to you, and the team
Posted: 08.01.2003, 23:38
by Christophe
Thilo wrote:Chris: the file is there now, but I still receive the compilation error. I am using KDE 3.05a as well and get this error:
Code: Select all
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../.. -I.. -I/usr/qt/3/include -I/usr/kde/3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -g3 -fno-exceptions -fno-check-new -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -c -o celestialbrowserbase.uic.o `test -f 'celestialbrowserbase.uic.cpp' || echo './'`celestialbrowserbase.uic.cpp
celestialbrowserbase.uic.cpp: In constructor
`CelestialBrowserBase::CelestialBrowserBase(QWidget*, const char*, bool,
unsigned int)':
celestialbrowserbase.uic.cpp:46: invalid use of undefined type `struct
KListView'
I've seen that problem before, but I don't remember how I fixed it.
Can you post here the lines where celestialbrowserbase.uic.cpp is generated, it looks something like this:
Code: Select all
/usr/lib/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload celestialbrowserbase.ui -o celestialbrowserbase.uic.h
/usr/lib/qt3/bin/uic -L /usr/lib/kde3/plugins/designer -nounload -impl celestialbrowserbase.uic.h celestialbrowserbase.ui -o celestialbrowserbase.uic.cpp
--
Christophe
Posted: 09.01.2003, 13:16
by Borg Collective
Borg Collective doesn't say this very often but...
Thanks Chris!
A new Celestia release is really what we needed!
BTW, can you modify Celestia to include Background support? You know, insted of that "old, plain, black..."?
Yes, we know, the Universe (and Space) is AS-IS but still it will enable us to experiment a little bit...
Check our Homeworld threads in general discussion...
Thanks!
Posted: 09.01.2003, 17:04
by Thilo
as you wish.
Code: Select all
make[5]: Entering directory `/installation/celestia-1.2.5/src/celestia/kde'
/usr/qt/3/bin/uic -L /usr/local/lib/kde3/plugins/designer -nounload celestialbrowserbase.ui -o celestialbrowserbase.uic.h
/usr/qt/3/bin/uic -L /usr/local/lib/kde3/plugins/designer -nounload -impl celestialbrowserbase.uic.h celestialbrowserbase.ui -o celestialbrowserbase.uic.cpp
source='celestialbrowserbase.uic.cpp' object='celestialbrowserbase.uic.o' libtool=no \
depfile='.deps/celestialbrowserbase.uic.Po' tmpdepfile='.deps/celestialbrowserbase.uic.TPo' \
depmode=gcc3 /bin/sh ../../../admin/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../.. -I.. -I/usr/qt/3/include -I/usr/kde/3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -c -o celestialbrowserbase.uic.o `test -f 'celestialbrowserbase.uic.cpp' || echo './'`celestialbrowserbase.uic.cpp
celestialbrowserbase.uic.cpp: In constructor
`CelestialBrowserBase::CelestialBrowserBase(QWidget*, const char*, bool,
unsigned int)':
celestialbrowserbase.uic.cpp:46: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:47: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:48: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:49: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:50: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:51: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:53: no matching function for call to `QGridLayout
::addMultiCellWidget(KListView*&, int, int, int, int)'
/usr/qt/3/include/qlayout.h:325: candidates are: void
QGridLayout::addMultiCellWidget(QWidget*, int, int, int, int, int = 0)
celestialbrowserbase.uic.cpp:94: no matching function for call to `
CelestialBrowserBase::connect(KListView*&, const char[56],
CelestialBrowserBase* const, const char[56])'
/usr/qt/3/include/qobject.h:116: candidates are: static bool
QObject::connect(const QObject*, const char*, const QObject*, const char*)
/usr/qt/3/include/qobject.h:227: bool QObject::connect(const
QObject*, const char*, const char*) const
celestialbrowserbase.uic.cpp: In member function `virtual void
CelestialBrowserBase::languageChange()':
celestialbrowserbase.uic.cpp:115: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:116: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:117: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:118: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
celestialbrowserbase.uic.cpp:119: invalid use of undefined type `struct
KListView'
celestialbrowserbase.uic.h:18: forward declaration of `struct KListView'
make[5]: *** [celestialbrowserbase.uic.o] Error 1
make[5]: Leaving directory `/installation/celestia-1.2.5/src/celestia/kde'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/installation/celestia-1.2.5/src/celestia/kde'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/installation/celestia-1.2.5/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/installation/celestia-1.2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/installation/celestia-1.2.5'
make: *** [all] Error 2
root@Thilo celestia-1.2.5 #
Posted: 09.01.2003, 19:32
by Christophe
I've never used Gentoo but I find a bit strange that you have first:
make[5]: Entering directory `/installation/celestia-1.2.5/src/celestia/kde'
/usr/qt/3/bin/uic -L /usr/local/lib/kde3/plugins/designer -nounload celestialbrowserbase.ui -o celestialbrowserbase.uic.h
/usr/qt/3/bin/uic -L /usr/local/lib/kde3/plugins/designer -nounload -impl celestialbrowserbase.uic.h celestialbrowserbase.ui -o celestialbrowserbase.uic.cpp
And then:
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../.. -I.. -I/usr/qt/3/include -I/usr/kde/3/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef -Wall -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -fno-exceptions -fno-check-new -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -c -o celestialbrowserbase.uic.o `test -f 'celestialbrowserbase.uic.cpp' || echo './'`celestialbrowserbase.uic.cpp
What is your $KDEDIR, /usr/kde/3/ or /usr/local/?
Do you get that error during 'make' or during 'make install'?
--
Christophe