Xonotic Forums
[NEEDS INFO] NetRadiant fails to compile with latest nvidia driver - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4)
+--- Thread: [NEEDS INFO] NetRadiant fails to compile with latest nvidia driver (/showthread.php?tid=5409)



NetRadiant fails to compile with latest nvidia driver - Maddin - 03-23-2015

Hello!

So again NetRadiant does not compile. This is the output:
Code:
user@localhost:~/Programs/netradiant$ make

checking that the build tools exist
Checking for /bin/sh (bash (or another shell))... found.
Checking for echo (coreutils)... found.
Checking for echo -n (coreutils)... found.
Checking for cat (coreutils)... found.
Checking for mkdir -p (coreutils)... found.
Checking for cp (coreutils)... found.
Checking for cp -r (coreutils)... found.
Checking for rm -f (coreutils)... found.
Checking for rm -f -r (coreutils)... found.
Checking for mv (coreutils)... found.
Checking for echo test | tee /dev/stderr (coreutils)... found.
Checking for sed (sed)... found.
Checking for find (findutils)... found.
Checking for diff (diff)... found.
Checking for cc (gcc)... found.
Checking for g++ (g++)... found.
Checking for ranlib (binutils)... found.
Checking for ar (binutils)... found.
Checking for pkg-config (pkg-config)... found.
Checking for unzip (unzip)... found.
Checking for git (git-core)... found.
Checking for svn (subversion)... found.
Checking for wget (wget)... found.
Checking for ldd  (libc6)... found.
All required tools have been found!

checking that the dependencies exist
Checking for jpeglib.h (libjpeg8-dev)... found and links.
Checking for glib.h (libglib2.0-dev)... found and links.
Checking for libxml/xpath.h (libxml2-dev)... found and links.
Checking for png.h (libpng12-dev)... found and links.
Checking for GL/gl.h (mesa-common-dev (or another OpenGL library))... found but does not link, please install it or set PKG_CONFIG_PATH right!
To see the failed commands, set DEPENDENCIES_CHECK=verbose
To proceed anyway, set DEPENDENCIES_CHECK=off
Checking for gtk/gtkdialog.h (libgtk2.0-dev)... found and links.
Checking for pango/pangoft2.h (libpango1.0-dev)... found and links.
Checking for gtk/gtkglwidget.h (libgtkglext1-dev)... found but does not link, please install it or set PKG_CONFIG_PATH right!
To see the failed commands, set DEPENDENCIES_CHECK=verbose
To proceed anyway, set DEPENDENCIES_CHECK=off
Checking for dlfcn.h (libc6-dev)... found and links.
Checking for zlib.h (zlib1g-dev)... found and links.
Makefile:276: recipe for target 'dependencies-check' failed
make: *** [dependencies-check] Error 1
All dependencies are installed and found but some still won´t be used.

Using a nvidia GTX960 I had to install the latest driver from their website to get it working. I hope this won´t have any effect on the libraries or something...

Any ideas how this can be fixed?

My OS is Debian 8 Jessie 32bit.


RE: NetRadiant fails to compile with latest nvidia driver - Mr. Bougo - 03-24-2015

Hey! Is that git netradiant?


RE: NetRadiant fails to compile with latest nvidia driver - Maddin - 03-24-2015

Yes. I cloned
Code:
https://gitlab.com/xonotic/netradiant.git

Even trying to compile netradiant from my xonotic git clone fails. (which I assume is the same thing anyway... )


RE: NetRadiant fails to compile with latest nvidia driver - Mr. Bougo - 03-24-2015

It is the same thing indeed. I don't know how to fix that as I haven't encountered it myself, however... Have you tried reinstalling the packages that provide gtkglwidget.h and gl.h?

If that fails, can you provide the verbose output? Just add DEPENDENCIES_CHECK=verbose after "make".


RE: NetRadiant fails to compile with latest nvidia driver - Maddin - 03-24-2015

Reinstalling doesn´t help. Tried that with all required packages.

This is the output: https://gist.github.com/mschwan/b80bcea28d394988d77b


RE: NetRadiant fails to compile with latest nvidia driver - Mr. Bougo - 03-25-2015

Okay, do you have libgl1-mesa-dev installed? It seems like the only issue here is that ldd complains about "-lGL"


RE: NetRadiant fails to compile with latest nvidia driver - Maddin - 03-25-2015

Yes, I have this package installed. I also checked for the gl.h header file and it actually exists in the right place! Though I do not know whether the header file or the library (.so file) is needed. Maybe there is the issue? I read in another forum that people had similar problems with GL where the library just wasn´t correctly linked... as the warning message here suggest anyway.