MaddTheSane / Boxer

The DOS game emulator that's fit for your Mac.
http://boxerapp.com/
GNU General Public License v2.0
419 stars 38 forks source link

cannot build with XCode 14.2 #54

Open nonoche2 opened 1 year ago

nonoche2 commented 1 year ago

My apologies if this is a stupid question with a very obvious answer for a more seasoned developer, but when attempting to build Boxer Standalone or Boxer Bundler with XCode 14.2, I'm getting an issue with ToolDependancies with the error "Command ExternalBuildToolExecution failed with a nonzero exit code", does anyone know how to fix it?

maikudou commented 1 year ago

Try adding cmake path to Vendor/OpenEmuShaders/3rdparty/find-cmake.sh like this:

known_cmake_paths="/usr/local/bin/cmake \
  /opt/local/bin/cmake \
  /Applications/CMake.app/Contents/bin/cmake \
  /opt/homebrew/bin/cmake"

For me it's in /opt/homebrew/bin/cmake, check with which cmake

nonoche2 commented 1 year ago

thanks for your answer! which cmake does return /opt/homebrew/bin/cmake, which is correctly included in the known paths of find-cmake.sh, so it must be something else :/ any other idea?

nonoche2 commented 1 year ago

nevermind, I cloned the repo from scratch and this time the path to my cmake wasn't included, I edited the file and everything works :) thanks a lot for the help!