Closed JimmyDeemo closed 4 years ago
Sorry about the error!
I was refactoring the Makefile when I started working on the Metal port and I accidentally checked in a half-cooked version. I just committed an update to the Makefile that should fix the problem.
Let me know if you have any more issues and thanks for the detailed bug report!
-Jeff
make full
works just fine now, so thanks for the fix.
No worries about the report; I always appreciate a good log when fixing something. Thank you for taking the time to do the OSX port. I've only just started on the handmade journey but this will be incredibly helpful. 👍
I wondered if someone could help me get this compiling. When I run
make full
I get the following output:Which implies that there is a problem with an OpenGl file. When I run the game (
./handmade
as suggested) then I get the following error.Here is what I have done;
code
from Casey's repo intocpp/code
directory withinosx_handmade
.tags
directory from Casey's repo into the root ofosx_handmade
.sources
) into the root ofosx_handmade
.sh fix_handmade_hero_source.sh
.make full
, this is where I get the error.Following this, calls to
make
without arguments complain about alock.tmp
file. I am able to runmake libhandmade_opengl.dylib
without issue, but it doesn't seem to help. I can alsomake HandmadeRendererTest
which will run but the graphics are all a bit messed up.I'm on a Macbook Pro with with Catalina 10.15.6 (19G2021), my version of Clang is 11.0.3 (clang-1103.0.32.62). Any help with what I might be doing wrong would be much appreciated.