Errors compiling libvlc on MinGW/MSYS environment
Posted: 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:
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.
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.