mingw compilation problem
Posted: Mon Aug 25, 2008 3:37 pm
Hi all,
I'm running Windows XP so I had to compile using mingw. Some time before this I couldn't even get scons to work, but it works now, problem solved by installing in C:\ rather than G:\ (I thought I meant to install in my actual OS drive).
Now I have a new problem:
YeeQin@YEEQIN ~/glob2_source
$ scons mingw=true
scons: Reading SConscript files ...
Checking for C library SDL... no
Could not find libSDL
Checking for C library SDL_ttf... yes
Checking for C library SDL_image... yes
Checking for C library SDL_net... yes
Checking for C library speex... no
Could not find libspeex or could not find 'speex/speex.h'
Checking for C library vorbisfile... no
Could not find libvorbisfile
Checking for C library vorbis... no
Could not find libvorbis
Checking for C library ogg... no
Could not find libogg
Checking for C++ header file zlib.h... yes
Checking for C library z... no
Checking for C library zlib1... no
Could not find libz or zlib1.dll
Checking for C++ header file regex.h... no
Could not find regex.h
Checking for C library boost_thread... no
Checking for C library boost_thread-mt... no
Could not find libboost_thread or libboost_thread-mt or boost/thread/thread.hpp
Checking for C++ header file boost/shared_ptr.hpp... yes
Checking for C++ header file boost/tuple/tuple.hpp... yes
Checking for C++ header file boost/tuple/tuple_comparison.hpp... yes
Checking for C++ header file boost/logic/tribool.hpp... yes
Checking for C++ header file boost/lexical_cast.hpp... yes
Checking for C++ header file boost/date_time/posix_time/posix_time.hpp... yes
Checking for C library GL... no
Checking for C library GL... no
Checking for C library opengl32... yes
Checking for C++ header file GL/gl.h... no
Could not find libGL or opengl32, or could not find GL/gl.h or OpenGL/gl.h
Checking for C library GLU... no
Checking for C library GLU... no
Checking for C library glu32... yes
Checking for C++ header file GL/glu.h... no
Could not find libGLU or glu32, or could not find GL/glu.h or OpenGL/glu.h
Checking for C library fribidi... no
Checking for C library portaudio... no
Missing SDL
Missing speex
Missing vorbisfile
Missing vorbis
Missing ogg
Missing zlib
Missing regex
Missing libboost_thread
Missing OpenGL
Missing GLU
Does this look familiar to anyone? Any advice will be appreciated, thanks.
By the way, in the mingw compilation instructions page http://globulation2.org/wiki/Mingw_compilation, does the 'Compiling Prerequisites' mean to tell us how to compile the prerequisites? Or is it just telling us what is required before compiling? So there's a bit of ambiguity there, now since in that section we're not actually told to compile anything, i've assumed the latter but if it actually means the former then I suppose it requires correction.
I'm running Windows XP so I had to compile using mingw. Some time before this I couldn't even get scons to work, but it works now, problem solved by installing in C:\ rather than G:\ (I thought I meant to install in my actual OS drive).
Now I have a new problem:
YeeQin@YEEQIN ~/glob2_source
$ scons mingw=true
scons: Reading SConscript files ...
Checking for C library SDL... no
Could not find libSDL
Checking for C library SDL_ttf... yes
Checking for C library SDL_image... yes
Checking for C library SDL_net... yes
Checking for C library speex... no
Could not find libspeex or could not find 'speex/speex.h'
Checking for C library vorbisfile... no
Could not find libvorbisfile
Checking for C library vorbis... no
Could not find libvorbis
Checking for C library ogg... no
Could not find libogg
Checking for C++ header file zlib.h... yes
Checking for C library z... no
Checking for C library zlib1... no
Could not find libz or zlib1.dll
Checking for C++ header file regex.h... no
Could not find regex.h
Checking for C library boost_thread... no
Checking for C library boost_thread-mt... no
Could not find libboost_thread or libboost_thread-mt or boost/thread/thread.hpp
Checking for C++ header file boost/shared_ptr.hpp... yes
Checking for C++ header file boost/tuple/tuple.hpp... yes
Checking for C++ header file boost/tuple/tuple_comparison.hpp... yes
Checking for C++ header file boost/logic/tribool.hpp... yes
Checking for C++ header file boost/lexical_cast.hpp... yes
Checking for C++ header file boost/date_time/posix_time/posix_time.hpp... yes
Checking for C library GL... no
Checking for C library GL... no
Checking for C library opengl32... yes
Checking for C++ header file GL/gl.h... no
Could not find libGL or opengl32, or could not find GL/gl.h or OpenGL/gl.h
Checking for C library GLU... no
Checking for C library GLU... no
Checking for C library glu32... yes
Checking for C++ header file GL/glu.h... no
Could not find libGLU or glu32, or could not find GL/glu.h or OpenGL/glu.h
Checking for C library fribidi... no
Checking for C library portaudio... no
Missing SDL
Missing speex
Missing vorbisfile
Missing vorbis
Missing ogg
Missing zlib
Missing regex
Missing libboost_thread
Missing OpenGL
Missing GLU
Does this look familiar to anyone? Any advice will be appreciated, thanks.
By the way, in the mingw compilation instructions page http://globulation2.org/wiki/Mingw_compilation, does the 'Compiling Prerequisites' mean to tell us how to compile the prerequisites? Or is it just telling us what is required before compiling? So there's a bit of ambiguity there, now since in that section we're not actually told to compile anything, i've assumed the latter but if it actually means the former then I suppose it requires correction.