ue4plugins / VlcMedia

Media Framework plug-in using the Video LAN Codec (libvlc).
BSD 3-Clause "New" or "Revised" License
267 stars 145 forks source link

Building VLC 4.0.0 on Linux won't build libvlc.so, but 3.0.0 does #55

Open NuLL3rr0r opened 6 years ago

NuLL3rr0r commented 6 years ago

Right now we are using VlcMedia with 4.19 and we've built VLC third-party dependency using the provided script in the repo and it works fine in the engine and the editor.

I'm trying to build and use it on 4.20; So, I checked out the master branch and rebuilt the dependencies. When the editor loads it says it cannot load VlcMedia plugin due to 'No such file or directory: libvlc.so'. I checked the third-party directory and it's not there.

This is the list of files inside Linux third-party directory built using Vlc4LinuxCloneMakeInstall.sh for 4.19 and VLC 3.0.0.

This is the list of files inside Linux third-party directory built using Vlc4LinuxCloneMakeInstall.sh for 4.20 and VLC 4.0.0.

1897 files vs 595 files and there is no libvlc.so.

NuLL3rr0r commented 6 years ago

OK, after a bit of investigation I found out the build fails inside chromecast module. So adding --disable-chromecast to the configure command inside the build scripts solved the issue for me.