Problems with BM under linux

BlitzMax Forums/BlitzMax Beginners Area/Problems with BM under linux

Hi. When i try to compile a file i get the following error :
/usr/bin/ld: cannot find -lXxf86vm
collect2: ld returned 1 exit status
Build Error: Failed to link

When i tried to compile/rebuild the modules, i get the error :
38: X11/extensions/xf86vmode.h: File or directory not found

I used to run BMax with no problems in the past... and i have a nvidia video-card with the official nvidia driver installed. And i use GNU/Debian Linux.

How can i solve this problem ? Thanks.

You need to install the x windows developer package.

I've searched for many x11 dev packages and they all are installed.. damn. I'll try searching again...
by the way, im using x.org, is there any difference because of that ?

Well it is looking for a library specific to XFree86. Which Linux distro are you using?

GNU/Debian
i cant find this xf86vmode.h anywhere in my sistem, and cant find it in any Debian package also.. (www.apt-get.org)

any help is welcome..

problem solved.. thanks everybody.

Solution :
i had to install both
libxxf86vm1_6.8.2.dfsg.1-10_i386.deb
libxxf86vm-dev_6.8.2.dfsg.1-10_i386.deb

They are UNSTABLE, and my system is testing so i had outdated versions of those libs.. i had to download them and install with dkpg.

You can install them stable (as of Debian Sarge) using apt-get install x-dev (which will install all x related development files, including the viewmode library) or apt-get install libxxf86vm.

libxxf86vm was already installed from the testing repository, but thats an older version and i could not make blitz 1.12 work with this. X-dev was also already installed.