Closed drxjason closed 2 years ago
do you have xcode installed? normally i think build tools are included with homebrew but it looks like they might be missing.
do you have xcode installed? normally i think build tools are included with homebrew but it looks like they might be missing.
Yes i have xcode and its build utilities installed using xcode-select
I can confirm this by going into the directory the build tools were installed and is/are working properly
I'm sorry but I don't think that this is an USC issue, Things to try, maybe reinstall xcode or cmake (might be cmake) but this is an early fail of CMake for C compilation meaning we can't do anything to fix it on our side. Might try to look at this issue on stack overflow ? https://stackoverflow.com/questions/56156520/gfortran-error-ld-library-not-found-for-lsystem-when-trying-to-compile Or maybe this github issue ? https://github.com/ponylang/ponyc/issues/3684
hinara's solution worked... it compiled successfully ~but now i get an incompatible framework error when i try to run it~
jason@Jasons-Mac unnamed-sdvx-clone % ./bin/usc-game
dyld[61138]: Library not loaded: @rpath/../Frameworks/ogg.framework/Versions/A/ogg
Referenced from: /Users/jason/games-test/unnamed-sdvx-clone/bin/usc-game
Reason: tried: '/Library/Frameworks/ogg.framework/Versions/A/ogg' (fat file, but missing compatible architecture (have 'i386,x86_64', need 'arm64e')), '/System/Library/Frameworks/ogg.framework/Versions/A/ogg' (no such file)
zsh: abort ./bin/usc-game
UPDATE: i had to copy the arm64 versions of required dependencies ogg
vorbis
freetype
from /usr/local/lib
to the /Library/Frameworks/
directory and it worked now. Im closing this issue... anyone who has problems like mine can refer to this issue
I recently did a
git pull
to the game's source code, then i executed./mac-cmake.sh
and i get this errorTo reproduce this:
git clone
the game's repositorygit pull
thats exactly what i did2020 MacBook Air SoC: Apple M1