Menu

#2 Cannot install.

2.0
closed
None
2025-10-27
2025-10-27
No

I am trying to install your library using only cmake.
The first line of your documentation cmake -DCMAKE_INSTALL_PREFIX=$HOME/local seems to work. But entering the second line cmake --build build results in the following error:
.../libmp4tag-2.0.1/build is not a directory.

What am I doing wrong?

Discussion

  • Brad Lanam

    Brad Lanam - 2025-10-27

    My apologies. I don't use cmake from the command line much, and put the wrong instructions in the README.

    You will need to remove the libmp4tag-2.0.1/ directory, and unpack the .zip/.tar.gz file again, as cmake created a bunch of files in there.

    The correct instructions should be:

    cmake -B build -DCMAKE_INSTALL_PREFIX=$HOME/local
    cmake --build build
    cmake --install build
    
     
  • Patrick Buntsma

    Patrick Buntsma - 2025-10-27

    Okay, thanks.

     
  • Brad Lanam

    Brad Lanam - 2025-10-27
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB