2024-12-13, 12:01 AM
(This post was last modified: 2024-12-13, 12:09 AM by raulo1985. Edited 3 times in total.)
Hi:
I'm trying to build JMP from source (for Windows) by following the Github page instructions, but when I run this command line (on x64_x86 Cross Tools of VS 2022):
I get many LNK4017 warnings (but it does create a mpv.dll.lib and a mpv.dll.exp file). Then, when I run the ninja command line, I get this:
Just to try something, since I can't find a libmpv-2.dll.lib file in any folder, I renamed the created mpv.dll.lib file to libmpv-2.dll.lib, run ninja again, and this time I get many:
It ends with a fatal error LNK1120, and then ninja: build stopped: subcommand failed.
I'm obviously out of my comfort zone with these commands, but I tried to look for an answer (Google) and didn't find anything (tried a couple of things, but got the same error messages).
What am I doing wrong? Any guidance would be highly appreciated.
Thanks in advance!
PS: on a side note, I can only get to that point with older versions of libmpv1, because newer ones don't include a mpv.def file, which is required apparently. How can I try with a newer libmpv1 version without the mpv.def file? Or you can just use one that came with an older version?
I'm trying to build JMP from source (for Windows) by following the Github page instructions, but when I run this command line (on x64_x86 Cross Tools of VS 2022):
Quote:lib /def:mpv\mpv.def /out:mpv\mpv.dll.lib /MACHINE:X64
I get many LNK4017 warnings (but it does create a mpv.dll.lib and a mpv.dll.exp file). Then, when I run the ninja command line, I get this:
Quote:fatal error LNK1104 (and it says it can't open the 'mpv\libmpv-2.dll.lib' file).
Just to try something, since I can't find a libmpv-2.dll.lib file in any folder, I renamed the created mpv.dll.lib file to libmpv-2.dll.lib, run ninja again, and this time I get many:
Quote:LNK4272 warnings: library machine type 'x64' conflicts with target machine type 'X86'.
It ends with a fatal error LNK1120, and then ninja: build stopped: subcommand failed.
I'm obviously out of my comfort zone with these commands, but I tried to look for an answer (Google) and didn't find anything (tried a couple of things, but got the same error messages).
What am I doing wrong? Any guidance would be highly appreciated.
Thanks in advance!
PS: on a side note, I can only get to that point with older versions of libmpv1, because newer ones don't include a mpv.def file, which is required apparently. How can I try with a newer libmpv1 version without the mpv.def file? Or you can just use one that came with an older version?