[vlc-devel] Problems cross compiling to windows according to Win32Compile

Rémi Denis-Courmont remi at remlab.net
Wed Jul 23 17:02:09 CEST 2014


Le 2014-07-23 17:40, David R. Robison a écrit :
> I was able to solve the problem as outlined in the following thread:
> https://forum.videolan.org/viewtopic.php?f=13&t=118201 [1]
>  The trick was to undo the following change to configure.ac
>
>  - AS_IF([test "$build" = "$host" -o "$PKG_CONFIG_LIBDIR"], [
>  - export
> PKG_CONFIG_PATH="${CONTRIB_DIR}/lib/pkgconfig:$PKG_CONFIG_PATH"
>  - ], [
>  - export PKG_CONFIG_LIBDIR="${CONTRIB_DIR}/lib/pkgconfig"
>  - ])
>  + export
> PKG_CONFIG_PATH="${CONTRIB_DIR}/lib/pkgconfig:$PKG_CONFIG_PATH"

And that prevents importing cross-compilation packages from the 
system's cross-compilation environment. Maybe that works for you but 
that is wrong in general.

>  Doing that allowed the compile to complete.

In other words, you attempted to cross-compile with one or more build 
environment variables missing or set for native compilation.

-- 
Rémi Denis-Courmont



More information about the vlc-devel mailing list