objconv/basemaker/sprite.h:9: fatal error: glut.h
-
- Atmospheric Pilot
- Posts: 1
- Joined: Thu Dec 16, 2010 11:46 am
objconv/basemaker/sprite.h:9: fatal error: glut.h
Im trying to compile via svn in ubuntu 10.10 x64 and getting this error:
In file included from objconv/basemaker/base_maker.cpp:9:
objconv/basemaker/sprite.h:9: fatal error: glut.h: No such file or directory
compilation terminated.
make[1]: *** [objconv/basemaker/base_maker.o] Error 1
Here is my config.log file.
In file included from objconv/basemaker/base_maker.cpp:9:
objconv/basemaker/sprite.h:9: fatal error: glut.h: No such file or directory
compilation terminated.
make[1]: *** [objconv/basemaker/base_maker.o] Error 1
Here is my config.log file.
You do not have the required permissions to view the files attached to this post.
-
- Hunter
- Posts: 67
- Joined: Wed Sep 29, 2010 3:06 am
- Location: Lost in an adventure
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
Nearly identical error here, on Debian squeeze amd64, with
$ make clean
$ ./configure
$ make
$ make clean
$ ./configure
$ make
Code: Select all
In file included from objconv/basemaker/base_maker.cpp:9:
objconv/basemaker/sprite.h:9:18: error: glut.h: No such file or directory
make[1]: *** [objconv/basemaker/base_maker.o] Error 1
-
- Confed Special Operative
- Posts: 381
- Joined: Thu Jan 31, 2008 3:25 am
- Location: hiding in a dark corner
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
You need the developer glut library - in Ubuntu IIRC it's freeglut3-dev.
make me a sandwich
make: *** No rule to make target 'me'. Stop.
make: *** No rule to make target 'me'. Stop.
-
- Elite
- Posts: 1567
- Joined: Tue Jan 26, 2010 2:03 am
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
Basemaker was changed when I tried to make it work for windows. I split off sprite.h and sprite.cpp from inside base_maker.cpp. If you want to make it work (the way it was before my changes) uncomment the sprite.h and sprite.cpp sections in the main file and do NOT use the external files I created. Easiest way to do this is to pull revision 12977 or download the attached 12977
I do not believe that glut.h was an include for the pre-merge version. Windwos gave me an error about it though so I added it in.
I do not believe that glut.h was an include for the pre-merge version. Windwos gave me an error about it though so I added it in.
You do not have the required permissions to view the files attached to this post.
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
@greenfreedom: The dependency on glut might be new, but after installing freeglut3-dev I did manage to build VS in debian squeeze.
-
- ISO Party Member
- Posts: 443
- Joined: Thu May 01, 2008 5:14 pm
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
Just a tip for people compiling on Debian and Ubuntu:
whenever the compiler warns about a missing file (typically some_header.h) you can search for packages providing that file;
- go to http://packages.debian.org/ or http://packages.ubuntu.com/
- scroll down to the section "Search the contents of packages" and enter the filename
- pick your distro
- check the option you prefer (I generally use "packages that contain files whose names contain the keyword")
- click "Search"
Besides, an estabilished convention in package naming for Debian and Ubuntu is to have header files and others needed for compiling in packages named *-dev
whenever the compiler warns about a missing file (typically some_header.h) you can search for packages providing that file;
- go to http://packages.debian.org/ or http://packages.ubuntu.com/
- scroll down to the section "Search the contents of packages" and enter the filename
- pick your distro
- check the option you prefer (I generally use "packages that contain files whose names contain the keyword")
- click "Search"
Besides, an estabilished convention in package naming for Debian and Ubuntu is to have header files and others needed for compiling in packages named *-dev
CLoneWolf a.k.a. copyc4t - http://www.olografix.org/groucho/mymusic/ - http://soundcloud.com/copyc4t
-
- Atmospheric Pilot
- Posts: 1
- Joined: Fri Dec 17, 2010 11:56 am
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
can someone please compile a working copy of the latest svn and package a deb for ubuntu 10.10? I'm getting errors galore.
-
- Venturer
- Posts: 537
- Joined: Sat May 14, 2005 10:51 am
- Location: milkyway->the sol system->earth->Europe->The Nederland->Soud Holland->Leiden
- Contact:
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
one tip use "make vegastrike" instate of make
All Your Base Are Belong To Us
-
- Bounty Hunter
- Posts: 152
- Joined: Thu Sep 02, 2010 8:00 pm
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
Apply attached patch with:BreezeWater wrote:In file included from objconv/basemaker/base_maker.cpp:9:
objconv/basemaker/sprite.h:9: fatal error: glut.h: No such file or directory
Code: Select all
patch -p0 < base_maker.diff
You do not have the required permissions to view the files attached to this post.
-
- Hunter
- Posts: 67
- Joined: Wed Sep 29, 2010 3:06 am
- Location: Lost in an adventure
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
freeglut3-dev 2.6.0-1 is installed already.klauss wrote:after installing freeglut3-dev I did manage to build VS in debian squeeze
Okay, I will try that later; thanks.www2 wrote:one tip use "make vegastrike" instate of make
-
- Confed Special Operative
- Posts: 381
- Joined: Thu Jan 31, 2008 3:25 am
- Location: hiding in a dark corner
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
Here you are, LinuxMaster9.LinuxMaster9 wrote:can someone please compile a working copy of the latest svn and package a deb for ubuntu 10.10? I'm getting errors galore.
Compiled on ubuntu 9.10, split into 2M chunks after compression (max size allowed as attachment here). Recombine the 2 parts with cat (cat vegastrike-12983.split* > vegastrike-12983.bz2), uncompress with bunzip2 and drop the binary in the data folder, it should work.
You do not have the required permissions to view the files attached to this post.
make me a sandwich
make: *** No rule to make target 'me'. Stop.
make: *** No rule to make target 'me'. Stop.
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
Assuming you're using cmake, after installing/uninstalling packages you have to re-configure. And that is more than just launch ccmake, you have to remove the CMakeCache inside the build/ directory (or wherever you build from).greenfreedom10 wrote:freeglut3-dev 2.6.0-1 is installed already.klauss wrote:after installing freeglut3-dev I did manage to build VS in debian squeeze
Okay, I will try that later; thanks.www2 wrote:one tip use "make vegastrike" instate of make
-
- Elite
- Posts: 1567
- Joined: Tue Jan 26, 2010 2:03 am
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
Either they are trying to build basemaker of using make instead of cmake.. or something else that is trying to build basemaker as well as everything else. Cmake does NOT include basemaker. Only setup, vegaserver, and vegastrike are part of cmake.
I think the make files need to be updated to reflect the fact that basemaker is not suppose to be included in the build (as per cmake). I will look into the make files and see what its actually trying to do.
I think the make files need to be updated to reflect the fact that basemaker is not suppose to be included in the build (as per cmake). I will look into the make files and see what its actually trying to do.
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
-
- Elite
- Posts: 1567
- Joined: Tue Jan 26, 2010 2:03 am
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
yeah, for whatever reason basemaker is still included in the makefile. To compile vegastrike use cmake instead, there is a gui version you can get if your using ubuntu.
I don't think that basemaker is supported anymore though its possible it might be.
I don't think that basemaker is supported anymore though its possible it might be.
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
-
- Elite Mercenary
- Posts: 1329
- Joined: Thu Mar 27, 2003 11:51 pm
- Location: Manchester, UK
- Contact:
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
If the makefile isn't supported, it should be removed, no?
Free Gamer - free software games compendium and commentary!
FreeGameDev forum - open source game development community
FreeGameDev forum - open source game development community
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
Yep, I think it should.
cmake has been running smothly for a while now. For a time, we supported both during the transition period (when cmake didn't work 100% right), but atm I've been working exclusively with cmake with absolutely no problem whatsoever.
So I'd support the removal of all autotools stuff.
cmake has been running smothly for a while now. For a time, we supported both during the transition period (when cmake didn't work 100% right), but atm I've been working exclusively with cmake with absolutely no problem whatsoever.
So I'd support the removal of all autotools stuff.
-
- Elite Mercenary
- Posts: 1329
- Joined: Thu Mar 27, 2003 11:51 pm
- Location: Manchester, UK
- Contact:
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
EDIT: wrong thread!
Last edited by charlieg on Mon Dec 20, 2010 4:13 am, edited 1 time in total.
Free Gamer - free software games compendium and commentary!
FreeGameDev forum - open source game development community
FreeGameDev forum - open source game development community
-
- Confed Special Operative
- Posts: 381
- Joined: Thu Jan 31, 2008 3:25 am
- Location: hiding in a dark corner
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
If only cmake worked in Windows! But my personal experience with it says that it won't.
make me a sandwich
make: *** No rule to make target 'me'. Stop.
make: *** No rule to make target 'me'. Stop.
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
Yeah, but autotools works even lessshenle wrote:If only cmake worked in Windows! But my personal experience with it says that it won't.
-
- Confed Special Operative
- Posts: 381
- Joined: Thu Jan 31, 2008 3:25 am
- Location: hiding in a dark corner
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
Except in cygwin *shudder*klauss wrote:Yeah, but autotools works even lessshenle wrote:If only cmake worked in Windows! But my personal experience with it says that it won't.
make me a sandwich
make: *** No rule to make target 'me'. Stop.
make: *** No rule to make target 'me'. Stop.
-
- Elite
- Posts: 1567
- Joined: Tue Jan 26, 2010 2:03 am
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
cmake does work in windows but its a real bitch to get it running properly. For starters windows doesn't have all the libraries preinstalled or easily installed like linux so you have to download anything that is missing from the vega-vcx folder. The real show stopper lately is gtk2. It searches for this and can't find it because the win32 build is still using gtk1. I have slated in my many things to do for win32 to update to gtk2 but I keep falling behind when we get irritating bugs popping up like the planet shader/texture bug.
So, under linux use cmake not make.. and someone who know what files go with make.am make a list and I can rid the svn of them or you can update them to follow cmake and they can be updated until we can find time to be rid of them.
So, under linux use cmake not make.. and someone who know what files go with make.am make a list and I can rid the svn of them or you can update them to follow cmake and they can be updated until we can find time to be rid of them.
Because of YOU Arbiter, MY kids? can't get enough gas. OR NIPPLE! How does that mkae you feeeel? ~ Halo
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
If I'm given the green light, I'll get rid of all autotools stuff.
But what about cygwin? Are we supporting it? Isn't there a cmake for cygwin?
But what about cygwin? Are we supporting it? Isn't there a cmake for cygwin?
-
- Hunter
- Posts: 67
- Joined: Wed Sep 29, 2010 3:06 am
- Location: Lost in an adventure
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
So this wiki page is incorrect?
http://vegastrike.sourceforge.net/wiki/ ... #Compiling
http://vegastrike.sourceforge.net/wiki/ ... #Compiling
-
- Elite
- Posts: 7243
- Joined: Mon Apr 18, 2005 2:40 pm
- Location: LS87, Buenos Aires, República Argentina
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
Autotools should still work.
We're only talking of getting rid of it since most of the devs are using a newer, easier to work with tool called cmake, and maintaining both build systems synched is quite a chore.
But the instructions there should still be valid.
We're only talking of getting rid of it since most of the devs are using a newer, easier to work with tool called cmake, and maintaining both build systems synched is quite a chore.
But the instructions there should still be valid.
-
- Elite Mercenary
- Posts: 1329
- Joined: Thu Mar 27, 2003 11:51 pm
- Location: Manchester, UK
- Contact:
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
Apparently cmake for cygwin works fine:klauss wrote:But what about cygwin? Are we supporting it? Isn't there a cmake for cygwin?
http://stackoverflow.com/questions/3586 ... for-cygwin
(Interesting MATLAB gotcha described there too)
Free Gamer - free software games compendium and commentary!
FreeGameDev forum - open source game development community
FreeGameDev forum - open source game development community