Problems with self-build Qt

  • Hey there,

    I have a project in which I use the LibVLC library. Normally I work on my self-build Qt5 version on Windows 7 (64-bit) and everything worked smoothly until now. I haven't done anything on this project for about a month and as I tried to rebuild it today, there emerged these errors concerning my LibVLC library:

    :-1: error: skipping incompatible ../libraries/vlc/lib/libvlc.dll.a when searching for -lvlc
    :-1: error: skipping incompatible ../libraries/vlc/lib/libvlc.dll.a when searching for -lvlc
    :-1: error: cannot find -lvlc
    collect2.exe:-1: error: error: ld returned 1 exit status

    I haven't changed anything since it worked the last time and when I try to build the code on a pre-build downloadable version of Qt it works fine. So at the moment, I have no idea why these errors emerge.

    Does somebody else have an explanation for this?

  • HI, make sure both your libVLC and Qt library compiled using the same complier.

Log in to reply