Error: cmake: unknown or unsupported macOS version: :dunno

9 min read

This error message suggests that the version of macOS you are running is not recognized or supported by cmake, a popular build system tool. It is difficult to provide an exact solution without more specific information, but here are a few general troubleshooting steps you can try:

  1. Check the version of macOS you are running: Open the Apple menu and select "About This Mac" to see your macOS version. Make sure it is a valid and supported version.

  2. Update cmake: If you are using an older version of cmake, try updating it to the latest version. Visit the cmake website, download the latest installer, and follow the installation instructions.

  3. Check your cmake configuration: If you have multiple versions of cmake installed on your system, make sure you are using the correct one. Check your PATH, environment variables, or build settings to ensure that the correct version is being used.

  4. Install or update Xcode Command Line Tools: cmake relies on certain tools that are provided by Xcode Command Line Tools. Make sure you have them installed and up to date. Open Terminal and run the command xcode-select --install to install or update them.

  5. Seek help from the cmake community: If none of the above steps resolve the issue, consider reaching out to the cmake community for further assistance. They have forums and mailing lists where you can ask questions and get help from experienced users.

Remember to provide more specific information about the error message, such as the exact version of macOS you are running and any other relevant errors or warning messages you encounter, as this will help others provide more targeted assistance.