since days i try to setup my system for compiling Ember. Im using Fedora13_64 on a AMD dualcore with a 9800GT gfx card and 6gig ram. My system is mainly RPM driven, using Fedora repos, so i get the nvidia drivers i.e. from the Fusion repo. Now the nvidia driver will install these 32bit OpenGL compatibility libs in /usr/libs and the 64bit driver in /usr/lib64 .
So when i try to compile Ember, i get a GL error, incompatible symbols in /usr/lib . I like to do it the "right" way, but i have no idea, how ...
I tried "export LDFLAGS="/usr/lib64" i.e., what works ... sometimes, i dont know why only sometimes. I tried to ./configure and edit the Mainfiles after that, where it sets the LIBS, so i added "-L/usr/lib64 -lGL" i.e., what had no effect at all.
I thing the LDFLAGS are overwritten at some point, so my question:
How can i permanently set/configure Ember to make use of the GL libs in /usr/lib64 ?
by looking into this, i found out that the nvidia driver overwrites the GL/gl.h and it needs to reinstall a working GL header, so i reinstalled the mesa-libGL-devel rpm.
this is solved so far reinstalled mesa-libGL and mesa-libGL-devel and had also to place the pkg-config file for gl.pc to the right location.
everything fine now, except another glitch, "Can not find codec for 'png' image format"
some research on this error said, its about the former Fedora Ogre packets, what is pretty mutch the source of all the problems:
the currect ogre distro shipped with Fedora13 depends on cegui-0.6.2, what is too low. so out of this, i have some mixed ogre installation problem, what im solving actually.