Talk:Compiling ScummVM/MinGW

From ScummVM :: Wiki
Jump to navigation Jump to search


I (dumbly) tried to follow this guide today, and came across these two problems:


FLAC portion says the latest full version is 1.1.3 - the current version is 1.2.3, which does not build. It might have to do with the GCC version used in the mingw the guide told me to install. I tried with the following versions:

  • flac-1.1.3 compiles
  • flac-1.1.4 fails
  • flac-1.2.0 fails ( bitreader.c:43:42: netinet/in.h: No such file or directory )
  • flac-1.2.1 fails ( alloc.h:120: error: `SIZE_T_MAX' undeclared )
  • flac-1.2.3 fails


The guide told me to run "make install prefix=/mingw" - since it also didn't tell me to compile anything beforehand, make install told me "nothing to do"

The guide furthermore told me to "copy all the files in SDL's include folder in MinGW's include folder" - I found this ambiguous, since SDL's include folder again contained an "SDL" folder, which I moved to mingw's include folder (instead of moving just the header files in that folder to mingw's include folder)

Also I did not have to rename i386-mingw32msvc-sdl-config to sdl-config because it was already named that way.

I'm not expert enough to edit the guide page myself, so I'm posting this here. (clem 23:36, 24 April 2008 (CEST))