Search code examples
c++visual-studio-2010libvlc

New to LibVLC - Trying out libVLC on VS2010


I downloaded vlc-2.2.4-win32.7z and extracted the files. I created an empty project in VS2010 and create a cpp file using the code I found on https://wiki.videolan.org/LibVLC_Tutorial/

On VS2010 project property, I added the include file folder and added Linker library folder and libvlc.lib, libvlccore.lib, vlc.lib, vlccore.lib to additional dependencies.

I got this build error --> D:\VLC\vlc-2.2.4\sdk\lib\vlccore.lib : fatal error LNK1107: invalid or corrupt file: cannot read at 0x16.

I have re-downloaded the file and still having the same error. Is there anything that I had done wrong .

Thanks,

Alex


Solution

  • For some reasons, the later versions do not work. I downloaded 2.1.3 and it worked.