I've been dealing with this issue for the past four hours and I can't seem to figure out any way to make this work.
The first error I received was when I followed the standard steps:
1. "git pull <dolphin github link>" into wherever I wanted it to go
2. "mkdir build"
3. "cmake .."
but here it gives me the error
```
CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message):
The imported target "Qt5::Core" references the file
"/usr/local/.//mkspecs/macx-clang"
but this file does not exist. [...]
```
after attempting to install qt5 the standard way (I presumed I was supposed to go to "https://www.qt.io/download" and choose the open source version), I got the same error.
that's when I resorted to trying to build through the QT-Creator application. This seemed to work initially. It went through and configured CMake properly, but then upon attempting to build the default configuration, it decided to fail at ~82% completion here:
```
[color=#0000aa]17:20:06: Starting: "/Applications/CMake.app/Contents/bin/cmake" --build . --target all[/color]
[color=#000000][ 1%] Built target bdisasm[/color]
[color=#000000][ 1%] Built target cpp-optparse[/color]
[color=#000000][ 5%] Built target glslang[/color]
[color=#000000][ 5%] Built target pugixml[/color]
[color=#000000][ 6%] Built target enet[/color]
[color=#000000][ 7%] Built target xxhash[/color]
[color=#000000][ 7%] Built target lzo2[/color]
[color=#000000][ 9%] Built target png[/color]
[color=#000000][ 10%] Built target SoundTouch[/color]
[color=#000000][ 10%] Built target sfml-system[/color]
[color=#000000][ 11%] Built target sfml-network[/color]
[color=#000000][ 13%] Built target miniupnpc[/color]
[color=#000000][ 13%] Built target discord-rpc[/color]
[color=#000000][ 15%] Built target speex[/color]
[color=#000000][ 16%] Built target cubeb[/color]
[color=#000000][ 17%] Built target audiocommon[/color]
[color=#000000][ 23%] Built target mbedcrypto[/color]
[color=#000000][ 24%] Built target mbedx509[/color]
[color=#000000][ 25%] Built target mbedtls[/color]
[color=#000000][ 32%] Built target common[/color]
[color=#000000][ 32%] Built target traversal_server[/color]
[color=#000000][ 35%] Built target discio[/color]
[color=#000000][ 36%] Built target usb[/color]
[color=#000000][ 36%] Built target hidapi[/color]
[color=#000000][ 39%] Built target inputcommon[/color]
[color=#000000][ 41%] Built target videosoftware[/color]
[color=#000000][ 41%] Built target videonull[/color]
[color=#000000][ 44%] Built target videoogl[/color]
[color=#000000][ 51%] Built target videocommon[/color]
[color=#000000][ 81%] Built target core[/color]
[color=#000000][ 82%] Built target uicommon[/color]
[color=#000000][ 82%] Automatic MOC for target dolphin-emu[/color]
[color=#000000][ 82%] Built target dolphin-emu_autogen[/color]
[color=#000000][ 82%] Generating zh_TW/dolphin-emu.mo[/color]
[color=#aa0000]/bin/sh: cmake: command not found[/color]
[color=#aa0000]make[2]: *** [Source/Core/DolphinQt/zh_TW/dolphin-emu.mo] Error 127 <--- this is supposedly the root of the issue according to the creator[/color]
[color=#aa0000]make[1]: *** [Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/all] Error 2[/color]
[color=#aa0000]make: *** [all] Error 2[/color]
[color=#aa0000]17:20:08: The process "/Applications/CMake.app/Contents/bin/cmake" exited with code 2.[/color]
[color=#aa0000]Error while building/deploying project dolphin-emu (kit: Desktop Qt 5.12.0 clang 64bit)[/color]
[color=#aa0000]When executing step "CMake Build"[/color]
```
Does anyone have any ideas about how to fix this error?
The first error I received was when I followed the standard steps:
1. "git pull <dolphin github link>" into wherever I wanted it to go
2. "mkdir build"
3. "cmake .."
but here it gives me the error
```
CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message):
The imported target "Qt5::Core" references the file
"/usr/local/.//mkspecs/macx-clang"
but this file does not exist. [...]
```
after attempting to install qt5 the standard way (I presumed I was supposed to go to "https://www.qt.io/download" and choose the open source version), I got the same error.
that's when I resorted to trying to build through the QT-Creator application. This seemed to work initially. It went through and configured CMake properly, but then upon attempting to build the default configuration, it decided to fail at ~82% completion here:
```
[color=#0000aa]17:20:06: Starting: "/Applications/CMake.app/Contents/bin/cmake" --build . --target all[/color]
[color=#000000][ 1%] Built target bdisasm[/color]
[color=#000000][ 1%] Built target cpp-optparse[/color]
[color=#000000][ 5%] Built target glslang[/color]
[color=#000000][ 5%] Built target pugixml[/color]
[color=#000000][ 6%] Built target enet[/color]
[color=#000000][ 7%] Built target xxhash[/color]
[color=#000000][ 7%] Built target lzo2[/color]
[color=#000000][ 9%] Built target png[/color]
[color=#000000][ 10%] Built target SoundTouch[/color]
[color=#000000][ 10%] Built target sfml-system[/color]
[color=#000000][ 11%] Built target sfml-network[/color]
[color=#000000][ 13%] Built target miniupnpc[/color]
[color=#000000][ 13%] Built target discord-rpc[/color]
[color=#000000][ 15%] Built target speex[/color]
[color=#000000][ 16%] Built target cubeb[/color]
[color=#000000][ 17%] Built target audiocommon[/color]
[color=#000000][ 23%] Built target mbedcrypto[/color]
[color=#000000][ 24%] Built target mbedx509[/color]
[color=#000000][ 25%] Built target mbedtls[/color]
[color=#000000][ 32%] Built target common[/color]
[color=#000000][ 32%] Built target traversal_server[/color]
[color=#000000][ 35%] Built target discio[/color]
[color=#000000][ 36%] Built target usb[/color]
[color=#000000][ 36%] Built target hidapi[/color]
[color=#000000][ 39%] Built target inputcommon[/color]
[color=#000000][ 41%] Built target videosoftware[/color]
[color=#000000][ 41%] Built target videonull[/color]
[color=#000000][ 44%] Built target videoogl[/color]
[color=#000000][ 51%] Built target videocommon[/color]
[color=#000000][ 81%] Built target core[/color]
[color=#000000][ 82%] Built target uicommon[/color]
[color=#000000][ 82%] Automatic MOC for target dolphin-emu[/color]
[color=#000000][ 82%] Built target dolphin-emu_autogen[/color]
[color=#000000][ 82%] Generating zh_TW/dolphin-emu.mo[/color]
[color=#aa0000]/bin/sh: cmake: command not found[/color]
[color=#aa0000]make[2]: *** [Source/Core/DolphinQt/zh_TW/dolphin-emu.mo] Error 127 <--- this is supposedly the root of the issue according to the creator[/color]
[color=#aa0000]make[1]: *** [Source/Core/DolphinQt/CMakeFiles/dolphin-emu.dir/all] Error 2[/color]
[color=#aa0000]make: *** [all] Error 2[/color]
[color=#aa0000]17:20:08: The process "/Applications/CMake.app/Contents/bin/cmake" exited with code 2.[/color]
[color=#aa0000]Error while building/deploying project dolphin-emu (kit: Desktop Qt 5.12.0 clang 64bit)[/color]
[color=#aa0000]When executing step "CMake Build"[/color]
```
Does anyone have any ideas about how to fix this error?