c++ - Compilation of x264 project -
i had downloaded source of x264 library site
http://www.videolan.org/developers/x264.html
the version of x264 148.
for compilation of shared dlls using following command under msys environment:
./configure --disable-cli --enable-shared --prefix=.
the result following:
platform: x86_64 byte order: little-endian system: windows cli: no libx264: internal shared: yes static: no asm: yes interlaced: yes avs: no lavf: no ffms: no mp4: no gpl: yes thread: win32 opencl: yes filters: crop select_every debug: no gprof: no strip: no pic: yes bit depth: 8 chroma format:
after execution of make have following error:
common/win32thread.o:win32thread.c:(.text+0x60): undefined reference `_beginthreadex' common/win32thread.o:win32thread.c:(.text+0x60): relocation truncated fit: r_x86_64_pc32 against undefined symbol `_beginthreadex' collect2: error: ld returned 1 exit status makefile:192: recipe target 'libx264-148.dll' failed make: *** [libx264-148.dll] error 1
my working environment:
windows 10 pro
msys64 mingw64
microsoft visual studio 2015
thank help
best regards,
vladimir kharam
the configure command executed without errors, make gives me error described above.
./configure --enable-shared --enable-static --disable-thread
i had same problem. works disabled thread.
Comments
Post a Comment