Compile using MSYS issue/configure does not find librarys

This forum is about all development around libVLC.
Wojtek_user
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Nov 2013 09:49

Compile using MSYS issue/configure does not find librarys

Postby Wojtek_user » 10 Jan 2014 10:50

Hi,

I have a problem with compile my own vlc on windows. i am newbie in that topic so i followed the istuctions on vlc wiki https://wiki.videolan.org/Win32CompileMSYS/

Due the issue i needed to update m4 lib, becuase mingw said that i have too old version, i dont know maybe that is the problem ? i downloaded m4 for here http://downloads.sourceforge.net/mingw/ ... YS.tar.bz2


Anyway, i followed all the instuction on wiki and after the bootstrap in root folder i try to configure my compilation with command

Code: Select all

sh ../extras/package/win32/configure.sh --host=i686-w64-mingw32 --disable-nls
However this command returns some errors in loading custom libraries like:mad faad a52 and especially libgcrypt like :

Code: Select all

checking for NeAACDecOpen in -lfaad... no configure: error: Cannot find libfaad library...
Guided by https://wiki.videolan.org/Win32CompileM ... eShooting/ i tried to add path to contrib folder so my commands looked like that:

Code: Select all

sh ../extras/package/win32/configure.sh --host=i686-w64-mingw32 --with-contrib=/home/<username>/vlc/contrib/i686-w64-mingw32/ --disable-nls
but it hasn't changed anything. From config log i am sure that the files are in good place, i can find them there. inside i've got a message for missing libs

Code: Select all

c:/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.6.1/../../../../x86_64-w64-mingw32/bin/ld.exe: skipping incompatible C:/MinGW/MSys/home/<username>/vlc/contrib/i686-w64-mingw32/lib/libfaad.a when searching for -lfaad
I can disable them but disabling libgcrypt causes an error which says that program could not be updated without it.

I tried to update mingw, download the newest version of vlc (solution is for 2.1.x) but nothing solved the problem.

Any idea how to solve it?

thx in advance :)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Compile using MSYS issue/configure does not find library

Postby Jean-Baptiste Kempf » 10 Jan 2014 11:38

i686 and x86_64 are not the same thing. One is 32bits the other is 64bits.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Wojtek_user
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Nov 2013 09:49

Re: Compile using MSYS issue/configure does not find library

Postby Wojtek_user » 10 Jan 2014 11:41

so here is a problem :P

so i will try on os with 32 bit architecture

thanks Jean-Baptiste
Last edited by Wojtek_user on 10 Jan 2014 11:42, edited 1 time in total.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Compile using MSYS issue/configure does not find library

Postby Jean-Baptiste Kempf » 10 Jan 2014 11:42

You can install mingw-w64 in 32bits mode on Windows 64bits.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Wojtek_user
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Nov 2013 09:49

Re: Compile using MSYS issue/configure does not find library

Postby Wojtek_user » 10 Jan 2014 13:02

heh maybe i can but have no idea how :P

anyway one more time many thanks

Wojtek_user
Blank Cone
Blank Cone
Posts: 10
Joined: 04 Nov 2013 09:49

Re: Compile using MSYS issue/configure does not find library

Postby Wojtek_user » 10 Jan 2014 14:05

ok, so i manage to install mingw with 32 compiler(http://sourceforge.net/projects/tdm-gcc/files/ 4.8 version has it as option ) , additionaly i needed to istall lua.

after that there are some new libs that compiler can't find like dvd read or shout. i can live without them but i can't without AVCODEC and the sh command show me massage:

Code: Select all

sh ../extras/package/win32/configure.sh --host=i686-w64-mingw32 --disable-nls --with-contrib=/home/<username>/vlc/contrib/i686-w64-mingw32/ --disable-dvdread --disable-shout

Code: Select all

checking for AVCODEC... no configure: error: . Pass --disable-avcodec to ignore this error.
there is no info about it in config.log and avcodec for 100% is there. Any more solutions?


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 41 guests