<div dir="ltr"><p class="MsoNormal">I am trying to build x265 on Cygwin.</p>
<p class="MsoNormal">After I type make it fails at the 85% completion mark with
the error below. I am clueless</p><p class="MsoNormal"><br></p><p class="MsoNormal"><br></p><div><div>[ 85%] Built target encoder</div><div>Linking CXX shared library cygx265-60.dll</div><div>/usr/lib/gcc/i686-pc-cygwin/4.9.2/../../../libcygwin.a(libcmain.o): In function `main':</div><div>/usr/src/debug/cygwin-2.0.2-1/winsup/cygwin/lib/libcmain.c:39: undefined reference to `WinMain@16'</div><div>collect2: error: ld returned 1 exit status</div><div>CMakeFiles/x265-shared.dir/build.make:214: recipe for target 'cygx265-60.dll' failed</div><div>make[2]: *** [cygx265-60.dll] Error 1</div><div>CMakeFiles/Makefile2:158: recipe for target 'CMakeFiles/x265-shared.dir/all' failed</div><div>make[1]: *** [CMakeFiles/x265-shared.dir/all] Error 2</div><div>Makefile:117: recipe for target 'all' failed</div></div><div><br></div><div><br></div></div>