Errors compiling libvlc on MinGW/MSYS environment

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
mannermoe
New Cone
New Cone
Posts: 2
Joined: 25 Aug 2011 20:00

Errors compiling libvlc on MinGW/MSYS environment

Postby mannermoe » 25 Aug 2011 20:23

Hi, i´m trying to build vlc 1.1.11 for windows.
I have already installed an up to date and working mingw/msys environment.
When trying to build libvlc i get following errors:

Code: Select all

... libvlc.c: In function `libvlc_InternalInit` libvlc.c:335: error: `usr` undeclared (first use this function) libvlc.c:335: error: (Each undeclared ..... libvlc.c:335: error: `win32` undeclared (first use this function) libvlc.c:335: error: `lib` undeclared (first use this function) libvlc.c:335: error: `pkgconfig` undeclared (first use this function) libvlc.c:335: error: syntax error before string constant ...

any idea what causes this errors?
It seems that the compiler finds the pkgconfig path inside libvlc.c.
I tried gcc 4.4.0 (shipped with Qt SDK) and gcc 4.5.2 /gcc 3.4.5 (from TDM MinGW Installer) in a separately installed MinGW environment.
Always the same errors.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Errors compiling libvlc on MinGW/MSYS environment

Postby VLC_help » 27 Aug 2011 14:55

Something is expanding incorrectly since AFAIK libvlc.c in VLC 1.1.11 doesn't contain any usr part.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: dahaihai and 27 guests