Build fails using latest commit on MacOs

Issue #378 resolved
Matthew Oliver created an issue

-- Found yasm: /usr/local/bin/yasm (found version "1.3.0") -- Found Yasm 1.3.0 to build assembly primitives -- hg found at /usr/local/bin/hg -- x265 version 2.5+55-dd9772385d15 -- The ASM_YASM compiler identification is YASM -- Found assembler: /usr/local/bin/yasm -- Looking for strtok_r -- Looking for strtok_r - found -- Looking for include file getopt.h -- Looking for include file getopt.h - found CMake Error: Attempt to add a custom rule to output "/x265/build/linux/8bit/CMakeFiles/UNINSTALL.rule" which already has a custom rule. -- Configuring incomplete, errors occurred! See also "/x265/build/linux/8bit/CMakeFiles/CMakeOutput.log". See also "/x265/build/linux/8bit/CMakeFiles/CMakeError.log". make: *** No targets specified and no makefile found. Stop.

Comments (10)

  1. Mythreyi Pugazhendhi

    Build is fine.

    [ Found yasm: /usr/local/bin/yasm (found version "1.2.0") -- Found Yasm 1.2.0 to build assembly primitives -- hg found at /usr/local/bin/hg -- x265 version 2.5+55-dd9772385d15 -- The ASM_YASM compiler identification is unknown -- Found assembler: /usr/local/bin/yasm -- Looking for strtok_r -- Looking for strtok_r - found -- Looking for include file getopt.h -- Looking for include file getopt.h - found -- Configuring done -- Generating done -- Build files have been written to: /Users/mcw/x265temp/x265/build/linux

  2. Pradeep Ramachandran Account Deactivated

    @matthewoliver - what MacOS version are you using, and are you looking to build from inside build/linux folder? Can you please remove the cmake/ folder created by the previous build and rebuild? If it still doesn't work, please attach your CMakeError.log so that we can look into the error. Thanks!

  3. Pradeep Ramachandran Account Deactivated

    Ok - I see the problem. We have a duplication in the CMakeLists.txt where we install an uninstall target twice. We will fix this tomorrow.

  4. Log in to comment