Building Celestia QT

The place to discuss creating, porting and modifying Celestia's source code.
Topic author
Guckytos
Posts: 439
Joined: 01.06.2004
With us: 20 years 5 months
Location: Germany

Re: Building Celestia QT

Post #21by Guckytos » 02.09.2010, 07:50

john Van Vliet wrote:

Code: Select all

cd /usr/lib
ls -l libpng*

Okay John, mine looks like this:
[Chris@Quantum ~]$ cd /usr/lib
[Chris@Quantum lib]$ ls -l libpng*
lrwxrwxrwx. 1 root root 18 5. Jul 17:49 libpng12.so -> libpng12.so.0.44.0
lrwxrwxrwx. 1 root root 18 4. Jul 14:41 libpng12.so.0 -> libpng12.so.0.44.0
-rwxr-xr-x. 1 root root 163736 29. Jun 21:07 libpng12.so.0.44.0
lrwxrwxrwx. 1 root root 11 5. Jul 17:49 libpng.so -> libpng12.so
lrwxrwxrwx. 1 root root 16 4. Jul 14:41 libpng.so.3 -> libpng.so.3.44.0
-rwxr-xr-x. 1 root root 171364 29. Jun 21:07 libpng.so.3.44.0

--> So this means that I don't have libpng14 installed. Should make things easier when trying to build Celestia, shouldn't it?

and the first lines png.h are the same as in your post:

/* png.h - header file for PNG reference library
*
* libpng version 1.2.44 - June 26, 2010
* Copyright (c) 1998-2010 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)

Regards,

Guckytos

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: Building Celestia QT

Post #22by John Van Vliet » 02.09.2010, 09:26

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

Topic author
Guckytos
Posts: 439
Joined: 01.06.2004
With us: 20 years 5 months
Location: Germany

Re: Building Celestia QT

Post #23by Guckytos » 09.09.2010, 17:08

Okay,

I am back and testing different settings in the GNOME configure.h file at the moment.

john Van Vliet wrote:make sure that the <gl???L lines are correct
#############
/* Define to 1 if you have the <GL/glut.h> header file. */
/* #undef HAVE_GL_GLUT_H */
###### change to - if /usr/include/GL/glut.h IS there ##########2.6.0
/* Define to 1 if you have the <GL/glut.h> header file. */
#define HAVE_GL_GLUT_H */
###########
and check the rest

Hmm, John just found that I don't have the glut.h installed. The graphical paket-manager found the following installed with my system (still not soo good with commandline yum :oops: ) -devel is also not installed, so this is probably the cause of glut.h missing
freeglut-2.6.0-5.fc13

Is that good or should I install another GLUT library (Haskel GLUT library: ghc-GLUT-2.1.2.1-3.fc13)?

Regards,

Guckytos

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Re: Building Celestia QT

Post #24by chris » 09.09.2010, 18:55

Guckytos wrote:Okay,

I am back and testing different settings in the GNOME configure.h file at the moment.

john Van Vliet wrote:make sure that the <gl???L lines are correct
#############
/* Define to 1 if you have the <GL/glut.h> header file. */
/* #undef HAVE_GL_GLUT_H */
###### change to - if /usr/include/GL/glut.h IS there ##########2.6.0
/* Define to 1 if you have the <GL/glut.h> header file. */
#define HAVE_GL_GLUT_H */
###########
and check the rest

Hmm, John just found that I don't have the glut.h installed. The graphical paket-manager found the following installed with my system (still not soo good with commandline yum :oops: ) -devel is also not installed, so this is probably the cause of glut.h missing
freeglut-2.6.0-5.fc13

Is that good or should I install another GLUT library (Haskel GLUT library: ghc-GLUT-2.1.2.1-3.fc13)?

You shouldn't need GLUT in order to build Celestia Qt. It's only required for the minimally functional GLUT front end for Celestia, which I don't think anyone is using now. The Haskell GLUT library is presumably a set of GLUT bindings for the Haskell programming language, so that's not needed for Celestia Qt.

--Chris

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: Building Celestia QT

Post #25by John Van Vliet » 09.09.2010, 20:36

--- edit ---


Return to “Development”