The ./configure script claims I have no openGL

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Antongarou
Greenhorn
Posts: 7
Joined: 20 Jan 2010, 08:46

The ./configure script claims I have no openGL

Post by Antongarou »

I'm trying to reinstall the latest svn/trunk version of warzone2100 on an Ubuntu 10.04 machine(my hardware profile is attached) I've the relevant X.org driver installed, and have many OpenGL packages installed, including QuesoGLC. And yet the configuration script consistently returns the "OpenGL library not found" error when I run it. Which packages can I download that will be compatible with the game?
You do not have the required permissions to view the files attached to this post.
User avatar
JDW
Regular
Regular
Posts: 1669
Joined: 18 May 2010, 20:44

Re: The ./configure script claims I have no openGL

Post by JDW »

Maybe this will help,

viewtopic.php?f=4&t=2883#p27880

Looks like a similar problem to yours, but if whatever you tried fails again, do report back on what you tried. And also let us know if, and how, you succeeded.
"Speak when you are angry and you will make the best speech you will ever regret."
-- Ambrose Bierce
User avatar
ODDity
Trained
Trained
Posts: 73
Joined: 23 Oct 2009, 04:56

Re: The ./configure script claims I have no openGL

Post by ODDity »

If you are missing the -dev packages required for building, you can issue command:

sudo apt-get build-dep warzone2100

to install most (if not all) of the required dev libraries
Antongarou
Greenhorn
Posts: 7
Joined: 20 Jan 2010, 08:46

Re: The ./configure script claims I have no openGL

Post by Antongarou »

ODDity wrote:If you are missing the -dev packages required for building, you can issue command:

sudo apt-get build-dep warzone2100

to install most (if not all) of the required dev libraries
Just tried that- it installed libsdl-net1.2-dev 1.2.7-2 but the ./configure script still claims I don't have OpenGL. I'm currently going through the other packages installing the -dev versions, hope it will work.

PS. does anyone have a list of the packages the game needs, graphics-wise?
User avatar
ODDity
Trained
Trained
Posts: 73
Joined: 23 Oct 2009, 04:56

Re: The ./configure script claims I have no openGL

Post by ODDity »

It should have installed more than just that. The only reasons I can think of right now as to why it's not working are, you didn't execute the command as I wrote it, or not all the necessary repositories are enabled/you're using a custom sources.list.

The procedure for building is to first execute ./autogen.sh followed by ./configure && make

I have just this minute checked out and built the latest trunk SVN source r11371 on ubuntu 10.04 using this method.
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: The ./configure script claims I have no openGL

Post by stiv »

No idea what your setup and installed packages are, but here is the basic deal:

Linux packages come in two parts. For any package, say foo, there is plain foo that contains libraries you need to *run* programs. There is also a foo-dev or foo-devel (depending on the packaging system) that contains the header files you need to *compile* programs.

Configure is complaining because you are missing the -dev (-devel) packages.