OpenGL problems
sandiro
sandi_ro at yahoo.com
Wed Aug 30 16:14:17 UTC 2006
Tony Dietrich <td <at> transoft-adsl.demon.co.uk> writes:
>
> On Monday 06 March 2006 22:50, Ali Helmy wrote:
> > I cant seem to get it with "yum install tuxracer"... what am i doing wrong?
> >
> > On 07/03/06, Sean Bruno <sean.bruno <at> dsl-only.net> wrote:
> > > On Tue, 2006-03-07 at 00:15 +0200, Ali Helmy wrote:
> > > > Hey lads,
> > > >
> > > > I need to ask some help of you... here's my dilemma:
> > > >
> > > > I wanted to install the TuxRacer game, so i downloaded the .tar.gz
> > > > file, and unpacked... on running ./configure though, i got the
> > > > following message:
> > > >
> > > > configure: error: Your copy of glx.h is out of date. You can get a
> > > > more recent copy from the latest Mesa distribution
> > > > (http://mesa3d.sourceforge.net).
> > > >
> > > > So, I strolled over to mesa3d and downloaded their latest installed
> > > > library pack... then when trying to install it by make install, i got:
> > > >
> > > > mkdir ${INCLUDE_DIR}
> > > > mkdir: cannot create directory `/usr/local/include': File exists
> > > > mkdir ${INCLUDE_DIR}/GL
> > > > mkdir: cannot create directory `/usr/local/include/GL': File exists
> > > > mkdir ${INCLUDE_DIR}/GLES
> > > > mkdir: cannot create directory `/usr/local/include/GLES': File exists
> > > > mkdir ${LIB_DIR}
> > > > mkdir: cannot create directory `/usr/local/lib': File exists
> > > > cp -f ${TOP}/include/GL/*.h ${INCLUDE_DIR}/GL
> > > > cp -f ${TOP}/src/glw/*.h ${INCLUDE_DIR}/GL
> > > > # NOT YET: cp -f ${TOP}/include/GLES/*.h ${INCLUDE_DIR}/GLES
> > > > cp ${CP_FLAGS} ${TOP}/lib*/lib* ${LIB_DIR}
> > > >
> > > > echo "Done."
> > > > Done.
> > > >
> > > > Now, when i try and install tuxracer, i get the same message of the
> > > > out-dated glx header... so, i don't really know what to do...
> > > >
> > > > Ideas?
> > >
> > > B4 u go much further, tuxracer is in extras...it might be easier to get
> > > in to install from there...
> > >
> > > Sean
> > >
> > > --
> > > fedora-list mailing list
> > > fedora-list <at> redhat.com
> > > To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> >
> > --
> > A. Helmy
> Make sure the Extras repo is configured?
>
Hi,
I could compile and run from sources on fc5 after I changed a bit :
and changed some nasty macros in game_config.c:
1) init macros changed to :
#define INIT_PARAM( nam, val, typename, commnt ) \
pParams->nam.loaded = False; \
pParams->nam.name = #nam; \
pParams->nam.deflt.typename##_val = val; \
pParams->nam.comment = commnt;
#define INIT_PARAM_STRING( nam, val, commnt ) \
INIT_PARAM( nam, val, string, commnt ); \
pParams->nam.type = PARAM_STRING;
#define INIT_PARAM_CHAR( nam, val, commnt ) \
INIT_PARAM( nam, val, char, commnt ); \
pParams->nam.type = PARAM_CHAR;
#define INIT_PARAM_INT( nam, val, commnt ) \
INIT_PARAM( nam, val, int, commnt ); \
pParams->nam.type = PARAM_INT;
#define INIT_PARAM_BOOL( nam, val, commnt ) \
INIT_PARAM( nam, val, bool, commnt ); \
pParams->nam.type = PARAM_BOOL;
2) and function macros changed to:
#define FN_PARAM( name, typename, type ) \
type getparam_##name() { \
if ( !Params.name.loaded ) { \
fetch_param_##typename( &( Params.name ) ); \
} \
return Params.name.val.typename##_val; \
} \
void setparam_##name( type val) { \
set_param_##typename( &( Params.name ), val ); }
also comented out some check in configure.in like this
dnl Check for glXGetProcAddressARB
dnl AC_CHECK_FUNCS( glXGetProcAddressARB, has_glx_get_proc=yes,
dnl has_glx_get_proc=no )
and caled auto tools to recreate the configure script.
Seems that the message about outdated glx.h is misleading as I could compile
without reinstalling mesa.
Hope this helps.
More information about the fedora-list
mailing list