objconv/basemaker/sprite.h:9: fatal error: glut.h
-
- 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
I have never actually tried to build vegastrike in cygwin, either with autotools or cmake. I could try it, but just the idea of adding yet another layer of dependencies and slowdowns... unappealing.
make me a sandwich
make: *** No rule to make target 'me'. Stop.
make: *** No rule to make target 'me'. Stop.
-
- Bounty Hunter
- Posts: 152
- Joined: Thu Sep 02, 2010 8:00 pm
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
While I generally agree with this move, it may be a bit premature just yet.klauss wrote: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.
I had to install the following packages to get cmake to succeed:
- libxmu-dev
- libavcodec-dev
- libavformat-dev
- libavutil-dev
- libswscale-dev
-
- 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
They're all part of ffmpeg. I think ffmpeg was added as a requirement in the cmakefiles.
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
Ya, but I remember making ffmpeg optional even in cmake.
Maybe I made a mistake somewhere in those scripts... but it should be optional.
Maybe I made a mistake somewhere in those scripts... but it should be optional.
-
- Bounty Hunter
- Posts: 152
- Joined: Thu Sep 02, 2010 8:00 pm
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
You call find_package(FFMPEG) without the REQUIRED option, so it looks ok.klauss wrote:Ya, but I remember making ffmpeg optional even in cmake.
Maybe I made a mistake somewhere in those scripts... but it should be optional.
The problem is caused by FindFFMPEG.cmake (which is called by find_package(FFMPEG)). I do not know cmake very well, but I suspect that we have found a bug in it.
FindFFMPEG.cmake is looking for four libraries (libavcodec, libavformat, libavutil, and libswscale.) The first three must be found before FFMPEG is considered found. As we do not require FFMPEG, everything should be just fine. However, it seems that the missing FFMPEG libraries somehow causes the whole configuration process to fail.
I tried to remove the REQUIRED keywords from FindFFMPEG.cmake, and it worked just fine. That is unfortunately not the real fix to the problem.
-
- ISO Party Member
- Posts: 461
- Joined: Fri Sep 03, 2010 12:10 pm
Re: objconv/basemaker/sprite.h:9: fatal error: glut.h
You need to execute cmake out of cygwin and then use /usr/include, instead of c:\cygwin\usr/include
For example.
Then execute eclipse from te cygwin command shell, too. It will find all paths and gcc.
For example.
Then execute eclipse from te cygwin command shell, too. It will find all paths and gcc.
plz visit my vegastrike project branch here
plz support VegaOgre by donating to it!
My systems: Mac mini 1, 4gig RAM;
i5 Quad Core 2400, 300mbit WLAN, 1,3Tbyte HD, 60 GB SSD,
nvidia geforce 8400gs 512MB, 6gig RAM with Ubuntu 11.4,
win7 and hackintosh installed
plz support VegaOgre by donating to it!
My systems: Mac mini 1, 4gig RAM;
i5 Quad Core 2400, 300mbit WLAN, 1,3Tbyte HD, 60 GB SSD,
nvidia geforce 8400gs 512MB, 6gig RAM with Ubuntu 11.4,
win7 and hackintosh installed