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

David R. Robison david.robison at openroadsconsulting.com
Wed Jul 23 16:40:32 CEST 2014

I was able to solve the problem as outlined in the following thread: 
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"

Doing that allowed the compile to complete.

David R Robison
Open Roads Consulting, Inc.
103 Watson Road, Chesapeake, VA 23320
phone: (757) 546-3401
e-mail: david.robison at openroadsconsulting.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/bookstore/bookdetail.php?PB_ISBN=9781597816526

On 7/22/2014 3:50 PM, David R. Robison wrote:
> I am trying to follow the instructions on Win32Compile () to cross
> compile VLC to Windows 64-bit from Ubuntu. I get to where I run the
> "make" command and I get the following link errors.
> make[7]: Entering directory
> `/home/david/Workspace/vlc/win32/modules/gui/qt4'
>     CXXLD    libqt4_plugin.la
> /usr/bin/x86_64-w64-mingw32-ld: cannot find -laudio
> /usr/bin/x86_64-w64-mingw32-ld: cannot find -lXt
> /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgobject-2.0
> /usr/bin/x86_64-w64-mingw32-ld: cannot find -lSM
> /usr/bin/x86_64-w64-mingw32-ld: cannot find -lICE
> /usr/bin/x86_64-w64-mingw32-ld: cannot find -lXi
> /usr/bin/x86_64-w64-mingw32-ld: cannot find -lXrender
> /usr/bin/x86_64-w64-mingw32-ld: cannot find -lXext
> /usr/bin/x86_64-w64-mingw32-ld: cannot find -lX11
> /usr/bin/x86_64-w64-mingw32-ld: cannot find -ldl
> /usr/bin/x86_64-w64-mingw32-ld: cannot find -lgthread-2.0
> /usr/bin/x86_64-w64-mingw32-ld: cannot find -lglib-2.0
> /usr/bin/x86_64-w64-mingw32-ld: cannot find -lrt
> collect2: error: ld returned 1 exit status
> I'm not sure what I've done wrong. Any ideas? David

This email communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed.
If you are not the intended recipient, please delete this email immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20140723/c05b6631/attachment.html>

More information about the vlc-devel mailing list