H
H
homobinary2015-10-01 12:10:45
linux
homobinary, 2015-10-01 12:10:45

How to cross-compile VLC from Ubuntu 14.04 under Windows x64?

I'm trying to compile VLC on Ubuntu 14.04 following the instructions https://wiki.videolan.org/Win32Compile
I'm using x86_64-w64-mingw32 as a triplet. "Contribny" libraries I download ready.
But this raises an error:

CCLD     libdxva2_plugin.la
CC       codec/libx265_plugin_la-x265.lo
CCLD     libx265_plugin.la
/home/homob/vlc/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libx265.a(param.cpp.obj): In function `x265::parseCpuName(char const*, bool&)':
/home/jb/vlc-2.2/contrib/mingw-64/x265/source/common/param.cpp:775: undefined reference to `strtok_r'
/home/homob/vlc/vlc-2.2.0/contrib/x86_64-w64-mingw32/lib/libx265.a(param.cpp.obj): In function `x265::parseLambdaFile(x265_param*)':
/home/jb/vlc-2.2/contrib/mingw-64/x265/source/common/param.cpp:1332: undefined reference to `strtok_r'
collect2: error: ld returned 1 exit status
make[4]: *** [libx265_plugin.la] Error 1

I found a similar question on the Internet about this error, but there was no answer.
Some write that strtok_r is missing in mingw. But somehow vlc for Windows is assembled?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question