Search found 2 matches

Go to advanced search

by Turbo_Slowpoke
02 Aug 2022 14:01
Forum: Development around libVLC
Topic: vlc-rs 0.3.0 can't link to 'vlc.lib' (3.0.17.4) on windows
Replies: 1
Views: 388

Re: vlc-rs 0.3.0 can't link to 'vlc.lib' (3.0.17.4) on windows

Okay, so I made it work. Apparently, my linker didn't like vlc.lib, so I duplicated libvlc and renamed it into vlc.lib.
I also had to add support for legacy stdio definitions:

build.rs:

Code: Select all

fn main() { println!("cargo:rustc-link-lib=dylib=legacy_stdio_definitions"); }
by Turbo_Slowpoke
31 Jul 2022 07:40
Forum: Development around libVLC
Topic: vlc-rs 0.3.0 can't link to 'vlc.lib' (3.0.17.4) on windows
Replies: 1
Views: 388

vlc-rs 0.3.0 can't link to 'vlc.lib' (3.0.17.4) on windows

Hello, I'm trying to compile the example from the vlc-rs package and I'm facing this issue: x86_64-pc-windows-msvc\lib\vlc.lib : fatal error LNK1107: invalid or corrupt file: cannot read at 0x12 According to this guide https://code.videolan.org/videolan/vlc-rs, all I need to do is to set the env var...

Go to advanced search