[Scummvm-tracker] [ScummVM] #10405: Building on MSYS2/Mingw-w64 currently completely broken

Lothar Serra Mari trac at scummvm.org
Thu Jan 18 10:22:05 CET 2018


#10405: Building on MSYS2/Mingw-w64 currently completely broken
-----------------------+--------------------
Reporter:  rootfather  |      Owner:  (none)
    Type:  defect      |     Status:  new
Priority:  high        |  Component:  Ports
Keywords:              |       Game:
-----------------------+--------------------
 After some time of absence, I tried to build ScummVM on a freshly updated
 MSYS2/Mingw-w64 environment. It seems that building is currently broken. I
 tried to build v2.0.0 which worked fine in the past but it failed too, so
 this might be introduced by some update to the toolchain.


 {{{
 In file included from C:/msys64/mingw64/include/SDL2/SDL_stdinc.h:66:0,
                  from C:/msys64/mingw64/include/SDL2/SDL_main.h:25,
                  from C:/msys64/mingw64/include/SDL2/SDL.h:32,
                  from ./backends/platform/sdl/sdl-sys.h:151,
                  from ./backends/mixer/sdl/sdl-mixer.h:26,
                  from ./gui/EventRecorder.h:40,
                  from base/main.cpp:45:
 C:/msys64/mingw64/x86_64-w64-mingw32/include/wchar.h:55:23: error:
 conflicting declaration of C function 'FAKE_FILE* __acrt_iob_func(unsigned
 int)'
  _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index);
                        ^~~~~~~~~~~~~~~
 }}}

 wjp suggested to build with --disable-eventrecorder, but this results in
 many more errors in backends/graphics/:

 {{{
     C++      backends/graphics/opengl/pipelines/clut8.o
 In file included from C:/msys64/mingw64/include/SDL2/SDL_stdinc.h:66:0,
                  from C:/msys64/mingw64/include/SDL2/SDL_main.h:25,
                  from C:/msys64/mingw64/include/SDL2/SDL.h:32,
                  from ./backends/platform/sdl/sdl-sys.h:151,
                  from ./backends/graphics/opengl/opengl-sys.h:30,
                  from backends/graphics/opengl/context.cpp:23:
 C:/msys64/mingw64/x86_64-w64-mingw32/include/wchar.h:55:23: error:
 conflicting declaration of C function 'FAKE_FILE* __acrt_iob_func(unsigned
 int)'
  _CRTIMP FILE *__cdecl __acrt_iob_func(unsigned index);

 ...

 make: *** [Makefile.common:103: backends/graphics/opengl/debug.o] Fehler 1
 make: *** Es wird auf noch nicht beendete Prozesse gewartet....
 make: *** [Makefile.common:103: backends/graphics/opengl/context.o] Fehler
 1
 make: *** [Makefile.common:103: backends/graphics/opengl/framebuffer.o]
 Fehler 1
 make: *** [Makefile.common:103: backends/graphics/opengl/shader.o] Fehler
 1
 make: *** [Makefile.common:103: backends/graphics/opengl/opengl-
 graphics.o] Fehler 1
 make: *** [Makefile.common:103: backends/graphics/opengl/texture.o] Fehler
 1
 make: *** [Makefile.common:103:
 backends/graphics/opengl/pipelines/clut8.o] Fehler 1
 make: *** [Makefile.common:103:
 backends/graphics/opengl/pipelines/fixed.o] Fehler 1
 make: *** [Makefile.common:103:
 backends/graphics/opengl/pipelines/pipeline.o] Fehler 1
 make: *** [Makefile.common:103:
 backends/graphics/opengl/pipelines/shader.o] Fehler 1
 make: *** [Makefile.common:103: backends/events/sdl/sdl-events.o] Fehler 1
 }}}

--
Ticket URL: <https://bugs.scummvm.org/ticket/10405>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list