Building Celestia SVN in Fedora 17

Report bugs, bug fixes and workarounds here.
Topic author
NIGHTCAST2000
Posts: 146
Joined: 09.10.2006
With us: 14 years

Building Celestia SVN in Fedora 17

Post #1by NIGHTCAST2000 » 25.04.2012, 23:23

Hi all,
I've got a new machine fairly recently and I've downloaded the SVN version of Celestia for both Windows 7 and Fedora 17.

I believe I've downloaded the required packages to build Celestia in the KDE4 Desktop of Fedora 17,but I'm getting a compile problem.
I've tried to compile with options of qt,kde and gtk,but to all no avail.

Here are the configure options I currently run after I run "autorenconf -iv" first:

Code: Select all

./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/usr/etc --localstatedir=/var --libdir=/usr/lib64 --includedir=/usr/include --enable-cairo --enable-theora --enable-dependency-tracking --enable-debug=full --enable-pch --with-qt --with-lua


And here is the error message I am getting:

Code: Select all

mv -f .deps/celestia-eclipsefinder.Tpo .deps/celestia-eclipsefinder.Po
g++ -DCONFIG_DATA_DIR='"/usr/share/celestia"' -DLOCALEDIR='"/usr/share/locale"' -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../thirdparty/Eigen -I../../thirdparty/glew/include   -DLUA_VER=0x050100 -DCELX   -Wl,--no-as-needed -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -g -O2 -ffast-math -fexpensive-optimizations -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT celestia-favorites.o -MD -MP -MF .deps/celestia-favorites.Tpo -c -o celestia-favorites.o `test -f 'favorites.cpp' || echo './'`favorites.cpp
favorites.cpp:74:5: warning: "CELVEC" is not defined [-Wundef]
favorites.cpp:85:5: warning: "CELVEC" is not defined [-Wundef]
favorites.cpp:138:5: warning: "CELVEC" is not defined [-Wundef]
mv -f .deps/celestia-favorites.Tpo .deps/celestia-favorites.Po
g++ -DCONFIG_DATA_DIR='"/usr/share/celestia"' -DLOCALEDIR='"/usr/share/locale"' -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../thirdparty/Eigen -I../../thirdparty/glew/include   -DLUA_VER=0x050100 -DCELX   -Wl,--no-as-needed -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -g -O2 -ffast-math -fexpensive-optimizations -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -MT celestia-imagecapture.o -MD -MP -MF .deps/celestia-imagecapture.Tpo -c -o celestia-imagecapture.o `test -f 'imagecapture.cpp' || echo './'`imagecapture.cpp
imagecapture.cpp: In function ‘bool CaptureGLBufferToPNG(const string&, int, int, int, int)’:
imagecapture.cpp:184:40: error: ‘Z_BEST_COMPRESSION’ was not declared in this scope
make[4]: *** [celestia-imagecapture.o] Error 1
make[4]: Leaving directory `/home/steve/celestia/celestia/src/celestia'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/steve/celestia/celestia/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/steve/celestia/celestia/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steve/celestia/celestia'


I hope somebody can help me.
Regards,
NIGHTCAST2000
Motherboard:Asus Sabretooth 990FX
Processor: AMD Athlon II X3 46
Memory: 4 Gb DDR3 SDRAM
Graphics Card: Nvidia 560 GTX 1Gb
SoundCard: Asus onboard
Hardrive:Seagate Barracuda 1TB GB 7200rpm SATA 23Mb Cache

Avatar
John Van Vliet
Posts: 2749
Joined: 28.08.2002
With us: 18 years 1 month

Re: Building Celestia SVN in Fedora 17

Post #2by John Van Vliet » 26.04.2012, 00:22

--- edit ---
Last edited by John Van Vliet on 19.10.2013, 05:50, edited 1 time in total.

Topic author
NIGHTCAST2000
Posts: 146
Joined: 09.10.2006
With us: 14 years

Re: Building Celestia SVN in Fedora 17

Post #3by NIGHTCAST2000 » 26.04.2012, 00:47

Hi there John,
I know Fedora 17 is in Beta,but it is not far from release (Fedora 18 is a lot more Rawhide in my opinion).

I've looked at the rest of your reply,and I'll see if I can download a lower version of libpng,and gcc-4.6.

Regards,
NIGHCAST2000
Motherboard:Asus Sabretooth 990FX
Processor: AMD Athlon II X3 46
Memory: 4 Gb DDR3 SDRAM
Graphics Card: Nvidia 560 GTX 1Gb
SoundCard: Asus onboard
Hardrive:Seagate Barracuda 1TB GB 7200rpm SATA 23Mb Cache

Avatar
John Van Vliet
Posts: 2749
Joined: 28.08.2002
With us: 18 years 1 month

Re: Building Celestia SVN in Fedora 17

Post #4by John Van Vliet » 26.04.2012, 00:55

--- edit ---
Last edited by John Van Vliet on 19.10.2013, 05:50, edited 1 time in total.

ajtribick
Developer
Posts: 1810
Joined: 11.08.2003
With us: 17 years 2 months
Location: Switzerland

Re: Building Celestia SVN in Fedora 17

Post #5by ajtribick » 26.04.2012, 05:22

You may be interested in the Celestia developers' mailing list. Archives are available here and the page to subscribe is here.

We do have a discussion about libpng15 and also another about various gcc-related fixes ongoing at the moment. Please could you test these?

Related threads:
[PATCH] Missing libpng15 include
PATCH - valgrind errors, out-of-source build, gcc warnings

Would be useful to get some feedback on this!

Topic author
NIGHTCAST2000
Posts: 146
Joined: 09.10.2006
With us: 14 years

Re: Building Celestia SVN in Fedora 17

Post #6by NIGHTCAST2000 » 26.04.2012, 09:51

Hi John and Ajtribick,
I've subscribed to the mailing list,and have posted a messege about the patches. I might download and install a earlier version of gcc, but I'll wait on that one as I know it will take sometime to configure and install that. A previous version of libpng should be very easy to configure and install.

Regards,
NIGHTCAST2000
Motherboard:Asus Sabretooth 990FX
Processor: AMD Athlon II X3 46
Memory: 4 Gb DDR3 SDRAM
Graphics Card: Nvidia 560 GTX 1Gb
SoundCard: Asus onboard
Hardrive:Seagate Barracuda 1TB GB 7200rpm SATA 23Mb Cache

ajtribick
Developer
Posts: 1810
Joined: 11.08.2003
With us: 17 years 2 months
Location: Switzerland

Re: Building Celestia SVN in Fedora 17

Post #7by ajtribick » 01.05.2012, 21:18

Please let me know if the latest SVN commit has fixed the libpng issue for you.

Topic author
NIGHTCAST2000
Posts: 146
Joined: 09.10.2006
With us: 14 years

Re: Building Celestia SVN in Fedora 17

Post #8by NIGHTCAST2000 » 01.05.2012, 23:00

Hi there Ajtribick,
The good news is your openpng15 commit does fix the build.
The bad news is I can only compile SVN Celestia with the GTK interface. The only interfaces that I haven't tried are Gnome and building Celestia with Visual Studio 2010.
I did raise this in a reply to one of the devs in the Celestia Mailing list.
The glut error is here:

Code: Select all

mv -f .deps/celestia-glutmain.Tpo .deps/celestia-glutmain.Po
/bin/sh ../../libtool --tag=CXX   --mode=link g++ -DLUA_VER=0x050100 -DCELX   -Wl,--no-as-needed -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -g -O2 -ffast-math -fexpensive-optimizations -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common   -o celestia celestia-celestiacore.o celestia-configfile.o celestia-destination.o celestia-eclipsefinder.o celestia-favorites.o celestia-imagecapture.o celestia-url.o celestia-scriptmenu.o celestia-celx.o celestia-celx_celestia.o celestia-celx_frame.o celestia-celx_gl.o celestia-celx_object.o celestia-celx_observer.o celestia-celx_phase.o celestia-celx_position.o celestia-celx_rotation.o celestia-celx_vector.o celestia-glutmain.o     -llua -lm -ldl    ../celengine/libcelengine.a ../celephem/libcelephem.a ../celmodel/libcelmodel.a ../celtxf/libceltxf.a ../cel3ds/libcel3ds.a ../celmath/libcelmath.
a ../celutil/libcelutil.a  -lpng -ljpeg -lglut -lGLU -lz
libtool: link: g++ -DLUA_VER=0x050100 -DCELX -Wl,--no-as-needed -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -g -O2 -ffast-math -fexpensive-optimizations -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -o celestia celestia-celestiacore.o celestia-configfile.o celestia-destination.o celestia-eclipsefinder.o celestia-favorites.o celestia-imagecapture.o celestia-url.o celestia-scriptmenu.o celestia-celx.o celestia-celx_celestia.o celestia-celx_frame.o celestia-celx_gl.o celestia-celx_object.o celestia-celx_observer.o celestia-celx_phase.o celestia-celx_position.o celestia-celx_rotation.o celestia-celx_vector.o celestia-glutmain.o  -llua -lm -ldl ../celengine/libcelengine.a ../celephem/libcelephem.a ../celmodel/libcelmodel.a ../celtxf/libceltxf.a ../cel3ds/libcel3ds.a ../celmath/libcelmath.a ../celutil/libcelutil.a -lpng -ljpeg -
lglut -lGLU -lz
/usr/bin/ld: ../celengine/libcelengine.a(libcelengine_a-renderglsl.o): undefined reference to symbol 'glColorMask'
/usr/bin/ld: note: 'glColorMask' is defined in DSO /lib64/libGL.so.1 so try adding it to the linker command line
/lib64/libGL.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[4]: *** [celestia] Error 1
make[4]: Leaving directory `/home/steve/celestia/celestia/src/celestia'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/steve/celestia/celestia/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/steve/celestia/celestia/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steve/celestia/celestia'
make: *** [all] Error 2


The KDE error is here:

Code: Select all

/usr/include/kde/kfilemetainfo.h:1237:34: warning: type qualifiers ignored on function return type [-Wignored-qualifiers]
kdeapp.cpp: In constructor ‘KdeApp::KdeApp(std::string, std::string, std::vector<std::basic_string<char> >, bool, bool)’:
kdeapp.cpp:156:47: error: ‘chdir’ was not declared in this scope
kdeapp.cpp: In member function ‘void KdeApp::initActions()’:
kdeapp.cpp:762:94: warning: ‘KToggleAction* KStdAction::showToolbar(const QObject*, const char*, KActionCollection*, const char*)’ is deprecated (declared at /usr/include/kde/kstdaction.h:501) [-Wdeprecated-declarations]
make[5]: *** [libkdegui_a-kdeapp.o] Error 1
make[5]: *** Waiting for unfinished jobs....
mv -f .deps/libkdegui_a-kdeglwidget.Tpo .deps/libkdegui_a-kdeglwidget.Po
In file included from kdepreferencesdialog.cpp:39:0:
kdepreferencesdialog.h:30:14: warning: declaration ‘class astro::Date’ does not declare anything [enabled by default]
mv -f .deps/libkdegui_a-kdepreferencesdialog.Tpo .deps/libkdegui_a-kdepreferencesdialog.Po
make[5]: Leaving directory `/home/steve/celestia/celestia/src/celestia/kde'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/steve/celestia/celestia/src/celestia/kde'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/steve/celestia/celestia/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/steve/celestia/celestia/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steve/celestia/celestia'
make: *** [all] Error 2


And the QT error is here:

Code: Select all

mv -f .deps/celestia-celx_rotation.Tpo .deps/celestia-celx_rotation.Po
mv -f .deps/celestia-celx.Tpo .deps/celestia-celx.Po
/bin/sh ../../libtool --tag=CXX   --mode=link g++ -DLUA_VER=0x050100 -DCELX   -Wl,--no-as-needed -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -g -O2 -ffast-math -fexpensive-optimizations -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common   -o celestia celestia-celestiacore.o celestia-configfile.o celestia-destination.o celestia-eclipsefinder.o celestia-favorites.o celestia-imagecapture.o celestia-url.o celestia-scriptmenu.o celestia-celx.o celestia-celx_celestia.o celestia-celx_frame.o celestia-celx_gl.o celestia-celx_object.o celestia-celx_observer.o celestia-celx_phase.o celestia-celx_position.o celestia-celx_rotation.o celestia-celx_vector.o     -lQtOpenGL -lQtGui -lQtCore   qt/libqtgui.a -llua -lm -ldl    ../celengine/libcelengine.a ../celephem/libcelephem.a ../celmodel/libcelmodel.a ../celtxf/libceltxf.a ../cel3ds/libcel3ds.
a ../celmath/libcelmath.a ../celutil/libcelutil.a  -lpng -ljpeg -lGLU -lz
libtool: link: g++ -DLUA_VER=0x050100 -DCELX -Wl,--no-as-needed -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -fno-builtin -g3 -fno-inline -g -O2 -ffast-math -fexpensive-optimizations -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -o celestia celestia-celestiacore.o celestia-configfile.o celestia-destination.o celestia-eclipsefinder.o celestia-favorites.o celestia-imagecapture.o celestia-url.o celestia-scriptmenu.o celestia-celx.o celestia-celx_celestia.o celestia-celx_frame.o celestia-celx_gl.o celestia-celx_object.o celestia-celx_observer.o celestia-celx_phase.o celestia-celx_position.o celestia-celx_rotation.o celestia-celx_vector.o  -lQtOpenGL -lQtGui -lQtCore qt/libqtgui.a -llua -lm -ldl ../celengine/libcelengine.a ../celephem/libcelephem.a ../celmodel/libcelmodel.a ../celtxf/libceltxf.a ../cel3ds/libcel3ds.a ../celmath/libcelmath.a ../celutil/
libcelutil.a -lpng -ljpeg -lGLU -lz
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.7.0/../../../../lib64/libQtOpenGL.so: undefined reference to symbol 'glColorMask'
/usr/bin/ld: note: 'glColorMask' is defined in DSO /lib64/libGL.so.1 so try adding it to the linker command line
/lib64/libGL.so.1: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[4]: *** [celestia] Error 1
make[4]: Leaving directory `/home/steve/celestia/celestia/src/celestia'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/steve/celestia/celestia/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/steve/celestia/celestia/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steve/celestia/celestia'
make: *** [all] Error 2


Regards,
NIGHTCAST2000
Motherboard:Asus Sabretooth 990FX
Processor: AMD Athlon II X3 46
Memory: 4 Gb DDR3 SDRAM
Graphics Card: Nvidia 560 GTX 1Gb
SoundCard: Asus onboard
Hardrive:Seagate Barracuda 1TB GB 7200rpm SATA 23Mb Cache

Avatar
John Van Vliet
Posts: 2749
Joined: 28.08.2002
With us: 18 years 1 month

Re: Building Celestia SVN in Fedora 17

Post #9by John Van Vliet » 02.05.2012, 00:28

--- edit ---
Last edited by John Van Vliet on 19.10.2013, 05:49, edited 1 time in total.

Topic author
NIGHTCAST2000
Posts: 146
Joined: 09.10.2006
With us: 14 years

Re: Building Celestia SVN in Fedora 17

Post #10by NIGHTCAST2000 » 02.05.2012, 10:45

Hi there John,
I'm not using the Nvidia proprietary driver. I am building Celestia pointing to the packaged Fedora Mesa. I do also have all the git versions of DRM,Mesa, the Nouveau kernel and the git version of the Nouveau driver. I build them quite regular when there are significant commits. I could build Celestia against the git version of Mesa,but I wasn't quite sure on how to build the Glew libraries.

My Graphics Card is a:
01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:1201] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:83b5]
Flags: bus master, fast devsel, latency 0, IRQ 24
Memory at fc000000 (32-bit, non-prefetchable) [size=32M]
Memory at d0000000 (64-bit, prefetchable) [size=128M]
Memory at d8000000 (64-bit, prefetchable) [size=64M]
I/O ports at e000 [size=128]
Expansion ROM at fe000000 [disabled] [size=512K]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [b4] Vendor Specific Information: Len=14 <?>
Capabilities: [100] Virtual Channel
Capabilities: [128] Power Budgeting <?>
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Kernel driver in use: nouveau
Here is the output of glxinfo:

Code: Select all

name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_INTEL_swap_event
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_create_context, GLX_ARB_create_context_profile,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_create_context_es2_profile, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap, GLX_INTEL_swap_event
GLX version: 1.4
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap
OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NVCE
OpenGL version string: 2.1 Mesa 8.0.2
OpenGL shading language version string: 1.30
OpenGL extensions:
    GL_ARB_multisample, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_copy_texture,
    GL_EXT_polygon_offset, GL_EXT_subtexture, GL_EXT_texture_object,
    GL_EXT_vertex_array, GL_EXT_compiled_vertex_array, GL_EXT_texture,
    GL_EXT_texture3D, GL_IBM_rasterpos_clip, GL_ARB_point_parameters,
    GL_EXT_draw_range_elements, GL_EXT_packed_pixels, GL_EXT_point_parameters,
    GL_EXT_rescale_normal, GL_EXT_separate_specular_color,
    GL_EXT_texture_edge_clamp, GL_SGIS_generate_mipmap,
    GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
    GL_SGIS_texture_lod, GL_ARB_framebuffer_sRGB, GL_ARB_multitexture,
    GL_EXT_framebuffer_sRGB, GL_IBM_multimode_draw_arrays,
    GL_IBM_texture_mirrored_repeat, GL_ARB_texture_cube_map,
    GL_ARB_texture_env_add, GL_ARB_transpose_matrix,
    GL_EXT_blend_func_separate, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
    GL_EXT_secondary_color, GL_EXT_texture_env_add,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
    GL_INGR_blend_func_separate, GL_NV_blend_square, GL_NV_light_max_exponent,
    GL_NV_texgen_reflection, GL_NV_texture_env_combine4, GL_S3_s3tc,
    GL_SUN_multi_draw_arrays, GL_ARB_texture_border_clamp,
    GL_ARB_texture_compression, GL_EXT_framebuffer_object,
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_MESA_window_pos, GL_NV_packed_depth_stencil,
    GL_NV_texture_rectangle, GL_ARB_depth_texture, GL_ARB_occlusion_query,
    GL_ARB_shadow, GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
    GL_ARB_window_pos, GL_EXT_stencil_two_side, GL_EXT_texture_cube_map,
    GL_NV_depth_clamp, GL_NV_fog_distance, GL_APPLE_packed_pixels,
    GL_APPLE_vertex_array_object, GL_ARB_draw_buffers,
    GL_ARB_fragment_program, GL_ARB_fragment_shader, GL_ARB_shader_objects,
    GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ATI_draw_buffers,
    GL_ATI_texture_env_combine3, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
    GL_MESA_pack_invert, GL_NV_primitive_restart, GL_ARB_depth_clamp,
    GL_ARB_fragment_program_shadow, GL_ARB_half_float_pixel,
    GL_ARB_occlusion_query2, GL_ARB_point_sprite, GL_ARB_shading_language_100,
    GL_ARB_sync, GL_ARB_texture_non_power_of_two, GL_ARB_vertex_buffer_object,
    GL_ATI_blend_equation_separate, GL_EXT_blend_equation_separate,
    GL_OES_read_format, GL_ARB_color_buffer_float, GL_ARB_pixel_buffer_object,
    GL_ARB_texture_compression_rgtc, GL_ARB_texture_rectangle,
    GL_ATI_texture_compression_3dc, GL_EXT_packed_float,
    GL_EXT_pixel_buffer_object, GL_EXT_texture_compression_dxt1,
    GL_EXT_texture_compression_rgtc, GL_EXT_texture_mirror_clamp,
    GL_EXT_texture_rectangle, GL_EXT_texture_sRGB,
    GL_EXT_texture_shared_exponent, GL_ARB_framebuffer_object,
    GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample,
    GL_EXT_packed_depth_stencil, GL_ARB_vertex_array_object,
    GL_ATI_separate_stencil, GL_ATI_texture_mirror_once, GL_EXT_draw_buffers2,
    GL_EXT_draw_instanced, GL_EXT_gpu_program_parameters,
    GL_EXT_texture_array, GL_EXT_texture_compression_latc,
    GL_EXT_texture_integer, GL_EXT_texture_sRGB_decode, GL_EXT_timer_query,
    GL_OES_EGL_image, GL_MESA_texture_array, GL_ARB_copy_buffer,
    GL_ARB_depth_buffer_float, GL_ARB_draw_instanced,
    GL_ARB_half_float_vertex, GL_ARB_instanced_arrays,
    GL_ARB_map_buffer_range, GL_ARB_texture_rg, GL_ARB_texture_swizzle,
    GL_ARB_vertex_array_bgra, GL_EXT_separate_shader_objects,
    GL_EXT_texture_swizzle, GL_EXT_vertex_array_bgra,
    GL_NV_conditional_render, GL_AMD_conservative_depth,
    GL_AMD_draw_buffers_blend, GL_ARB_ES2_compatibility,
    GL_ARB_draw_buffers_blend, GL_ARB_draw_elements_base_vertex,
    GL_ARB_explicit_attrib_location, GL_ARB_fragment_coord_conventions,
    GL_ARB_provoking_vertex, GL_ARB_sampler_objects, GL_ARB_seamless_cube_map,
    GL_ARB_shader_texture_lod, GL_EXT_provoking_vertex, GL_EXT_texture_snorm,
    GL_MESA_texture_signed_rgba, GL_NV_texture_barrier, GL_ARB_robustness,
    GL_ARB_transform_feedback2, GL_ARB_conservative_depth,
    GL_ARB_texture_storage, GL_EXT_transform_feedback

It works fine on other games and apps and I get an impressive 1030 fps on glxgears

Regards,
NIGHTCAST2000
Motherboard:Asus Sabretooth 990FX
Processor: AMD Athlon II X3 46
Memory: 4 Gb DDR3 SDRAM
Graphics Card: Nvidia 560 GTX 1Gb
SoundCard: Asus onboard
Hardrive:Seagate Barracuda 1TB GB 7200rpm SATA 23Mb Cache

Avatar
John Van Vliet
Posts: 2749
Joined: 28.08.2002
With us: 18 years 1 month

Re: Building Celestia SVN in Fedora 17

Post #11by John Van Vliet » 03.05.2012, 07:41

--- edit ---
Last edited by John Van Vliet on 19.10.2013, 05:49, edited 1 time in total.

Avatar
John Van Vliet
Posts: 2749
Joined: 28.08.2002
With us: 18 years 1 month

Re: Building Celestia SVN in Fedora 17

Post #12by John Van Vliet » 25.01.2013, 07:27

--- edit ---
Last edited by John Van Vliet on 19.10.2013, 03:52, edited 1 time in total.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 18
With us: 18 years 6 months
Location: Hamburg, Germany

Re: Building Celestia SVN in Fedora 17

Post #13by t00fri » 25.01.2013, 08:31

John,

not sure what to make of your bug report. Which branch? Trunk? Here Makefile.am is not needed to build celestia (Qt). Just a valid Qt installation and celestia.pro. The Makefile is generated via the familiar qmake call. In celestia.Sci I have even deleted all auto-tools...

In openSuSE 12.1 and 32bit I never encountered your problem. I seem to remember that with pre-fabricated NVIDIA drivers, a crucial libGL link has been missing occasionally. Doesn't occur or is repaired if one builds the NVIDIA drivers oneself during installation(which is close to trivial).

Fridger
Image

Avatar
John Van Vliet
Posts: 2749
Joined: 28.08.2002
With us: 18 years 1 month

Re: Building Celestia SVN in Fedora 17

Post #14by John Van Vliet » 25.01.2013, 09:25

--- edit ---
Last edited by John Van Vliet on 19.10.2013, 03:52, edited 1 time in total.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 18
With us: 18 years 6 months
Location: Hamburg, Germany

Re: Building Celestia SVN in Fedora 17

Post #15by t00fri » 25.01.2013, 10:08

John,

you don't need qtcreator to build trunk/celestia or (celestia.Sci) without autotools.
As pioneered by me in DEV, celestia.pro now also includes a make install target and deals with distro-dependent name ambiguities via pkgconfig!

F.

PS:
Let me know if you don't manage to figure it out.

PPS:
qtconfig represents of course an "overkill" for mere compiling e.g. of celestia. But it is extemely useful for actual Qt development work. There are so many handy features, like switching between headers and sources, finding the definitions of classes or methods with a click, intelligent completions, bracket testing, notably the Qt widget designer GUI, built-in debugger and profiler tools, flipping compilers, ...
Image


Return to “Bugs”

Who is online