ParadoxSpiral / libmpv-rs

A libmpv abstraction written in rust that's easy to use and provides the ability to read next to all video and audio codecs.
GNU Lesser General Public License v2.1
100 stars 36 forks source link

Unable to build on Windows #26

Open n00kii opened 2 years ago

n00kii commented 2 years ago

README says

For windows targets this is expected to be already built, with a directory named MPV_SOURCE/64 or /32 containing build artifacts for 64-bit and 32-bit targets respectively.

but the link provided is dead. Unsure exactly what "build artifacts" is supposed to be, do I need to build mpv myself from source? (Kinda sucks since the process is a little convoluted on Windows)

There are multiple downloads of different forms of mpv available, can I use one of those somehow? For example, there's

For reference, I've already tried pointing the environment variable to each of these directories, nested inside a 64 folder as per the README but cargo complains that

= note: LINK : fatal error LNK1181: cannot open input file 'mpv.lib'
n00kii commented 2 years ago

Managed to build mpv, but there is still no "mpv.lib" file anywhere. Am I missing something?

image

moxun33 commented 2 years ago

same error.

olehbozhok commented 2 years ago

I build mpv.lib using https://github.com/Ivshti/libmpv but have error (exit code: 0xc0000135, STATUS_DLL_NOT_FOUND)

ParadoxSpiral commented 1 year ago

Yeah the situation seems to have changed a bit. I will try getting the build to work on Windows, only got access to a Windows machine recently.

prayag17 commented 1 year ago

Any updates on this?

maulik9898 commented 1 year ago

Also facing same issue error: process didn't exit successfully: target\debug\mpv-rs.exe (exit code: 0xc0000135, STATUS_DLL_NOT_FOUND)

voidentente commented 1 year ago