2024-12-13, 06:51 AM
(This post was last modified: 2024-12-13, 06:52 AM by qwerty12. Edited 2 times in total.)
I've never built JMP from source, so take what you will from this.
Well, which is it: are you trying to cross-compile a 32-bit build of JMP on a 64-bit machine, or do you actually want a 64-bit build of JMP? If it's the former, I'd start by changing
Look at the workflow file for JMP. You'll notice it runs
(2024-12-13, 12:01 AM)raulo1985 Wrote: [...](on x64_x86 Cross Tools of VS 2022)[...]
Quote:lib /def:mpv\mpv.def /out:mpv\mpv.dll.lib /MACHINE:X64
LNK4272 warnings: library machine type 'x64' conflicts with target machine type 'X86'.
Well, which is it: are you trying to cross-compile a 32-bit build of JMP on a 64-bit machine, or do you actually want a 64-bit build of JMP? If it's the former, I'd start by changing
/MACHINE:X64
and if it's the latter, you should be running "x64 Native Tools Command Prompt for VS 2022" instead.Quote: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?
Look at the workflow file for JMP. You'll notice it runs
gendef
as part of the build process to produce a def file from a given libmpv.dll. If you want a copy of that program, you can take an executable from here: https://packages.msys2.org/packages/ming...-tools-git