🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

upgrade to xorg stops code working

Started by
1 comment, last by GameDev.net 18 years ago
Hello. i've upgraded to etch which uses xorg rather than xfree86 (debian sarge to etch). I've finally got it work. However I've written some code on sarge, which I've ported across, based on the nehe glx examples. However when I've went to compile I get on error on #include "X11/extentions/xf86vmode.h" on exploration the file doesn't exist, presumable change to the xorg version. Can anyone advise what header this needs to be replaced by? thanks
Advertisement
I'm using Xorg 7.0, and these things are working fine for me. Here is the top of my code:
#include <X11/Xlib.h>#include <X11/Xutil.h>#include <X11/extensions/xf86vmode.h>
Maybe you need some extra development package?
thanks yes someone has told me you need "apt-get install libxxf86vm-dev" with etch, this gets things working

This topic is closed to new replies.

Advertisement