Hello, I used to ask for your help. I would like to install mingw32-sfml-git to compile my code to Windows. I am developing a game primarily for Linux but I would also bring the project to Windows. I have installed mingw32, it compiles fine for Windows. Except that when installing sfml the dependent mingw32-flac does not compile and returns me this error:
stream_decoder.c: In function 'file_length_callback_': stream_decoder.c: 3346:17: error: storage size of 'filestats' Is not known stream_decoder.c: 3355:2: warning: implicit declaration of function '_fstat64' [-Wimplicit-function-declaration] stream_decoder.c: 3355:2: warning: nested extern declaration of '_fstat64' [-Wnested-externs] stream_decoder.c: 3346:17: warning: unused variable 'filestats' [-Wunused-variable] stream_decoder.c: 3364:1: warning: control Reaches end of non-void function [-Wreturn-type] make : *** [stream_decoder.lo] Error 1 make : we leave the directory "/ var/abs/local/yaourtbuild/mingw32-flac/src/flac-build/src/libFLAC" make : *** [all-recursive] Error 1 make : we leave the directory "/ var/abs/local/yaourtbuild/mingw32-flac/src/flac-build/src/libFLAC" make : *** [all-recursive] Error 1 make : we leave the directory "/ var/abs/local/yaourtbuild/mingw32-flac/src/flac-build/src" make : *** [all-recursive] Error 1 make : we leave the directory "/ var/abs/local/yaourtbuild/mingw32-flac/src/flac-build" make: *** [all] Error 2
I asked for help on AUR, but I do not have any answers. Can you help me? thank you
I tried and have the same error. Searched the web and tried a couple things without success, but it’s outside my expertise.
Do you actually need FLAC support? Maybe libsndfile can be compiled without FLAC support?
Thank you for your answer. I would have actually tried to compile without flac ... I'll try before mingw-w64 which has sfml 2 rc, I received an error message during compilation, it pissed me while I closed without trying to understand the problem.