• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Can't build JMP from source, LNK4017 / LNK4272 warnings, then LNK1120 fatal error

     
    • 0 Vote(s) - 0 Average

    Can't build JMP from source, LNK4017 / LNK4272 warnings, then LNK1120 fatal error

    raulo1985
    Offline

    Junior Member

    Posts: 45
    Threads: 9
    Joined: 2024 Jul
    Reputation: 0
    Country:Chile
    #1
    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):

    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?
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Can't build JMP from source, LNK4017 / LNK4272 warnings, then LNK1120 fatal error - by raulo1985 - 2024-12-13, 12:01 AM
    RE: Can't build JMP from source, LNK4017 / LNK4272 warnings, then LNK1120 fatal error - by qwerty12 - 2024-12-13, 06:51 AM
    RE: Can't build JMP from source, LNK4017 / LNK4272 warnings, then LNK1120 fatal error - by raulo1985 - 2024-12-14, 02:37 PM
    RE: Can't build JMP from source, LNK4017 / LNK4272 warnings, then LNK1120 fatal error - by qwerty12 - 2024-12-15, 01:07 PM
    RE: Can't build JMP from source, LNK4017 / LNK4272 warnings, then LNK1120 fatal error - by raulo1985 - 2024-12-17, 11:16 PM
    RE: Can't build JMP from source, LNK4017 / LNK4272 warnings, then LNK1120 fatal error - by qwerty12 - 2024-12-18, 08:46 PM
    RE: Can't build JMP from source, LNK4017 / LNK4272 warnings, then LNK1120 fatal error - by raulo1985 - 2024-12-21, 12:51 AM
    RE: Can't build JMP from source, LNK4017 / LNK4272 warnings, then LNK1120 fatal error - by qwerty12 - 2024-12-22, 05:42 PM
    RE: Can't build JMP from source, LNK4017 / LNK4272 warnings, then LNK1120 fatal error - by raulo1985 - 2024-12-26, 08:59 PM
    RE: Can't build JMP from source, LNK4017 / LNK4272 warnings, then LNK1120 fatal error - by qwerty12 - 2025-01-01, 11:55 AM
    RE: Can't build JMP from source, LNK4017 / LNK4272 warnings, then LNK1120 fatal error - by raulo1985 - 2024-12-31, 08:35 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode