[x264-devel] compilation issue on windows using MinGW: windres.exe: preprocessing failed

Jürgen Waser jwaser at vrvis.at
Tue Jan 27 23:43:27 CET 2015


Hello Everyone,

I'm trying to compile x264 on windows using MingGW.  I run ./configure 
and receive the following error: "No working C compiler found".  The 
attached config.log shows that there is an issue with windres.exe. What 
can I do to resolve this issue?

Thank you,
Jürgen
-------------- next part --------------
checking whether windres works... no
Failed commandline was:
--------------------------------------------------
windres --target=pe-i386  -o conftest.o conftest.rc
C:\MinGW\bin\windres.exe: preprocessing failed.
--------------------------------------------------
Failed program was:
--------------------------------------------------
0 RCDATA {0}
--------------------------------------------------
x264 configure script
Command line options: "--enable-shared"

checking whether gcc works... no
Failed commandline was:
--------------------------------------------------
gcc conftest.c -m32  -Wall -I. -I$(SRCPATH) -march=i686 -mfpmath=sse -msse    -lshell32 -m32   -Wl,--large-address-aware -Wl,--nxcompat -Wl,--dynamicbase -o conftest
--------------------------------------------------
Failed program was:
--------------------------------------------------
int main (void) {  return 0; }
--------------------------------------------------
DIED: No working C compiler found.


More information about the x264-devel mailing list