Closed joekarl closed 9 years ago
nvm, figured it out. Needed to define HANDMADE_INTERNAL=1 as a preprocessor directive.
Glad you got it sorted out. I ran into that too when I started the port. You might also want to define HANDMADE_SLOW if you want Casey's Assert() macro to be active.
Good luck with the Swift version. I'll be interested to see it in action.
Heh, yeah I'm learning swift as I go so should be interesting lol. Wish the code was actually C not C++ though, oh well ¯(ツ)/¯
Well, look on the bright side - when you have it up and running alongside C and C++ code, you'll know even that much more about Swift.
If you're looking at my OS X version and have any questions, let me know. I'm happy to help, or at least explain what I did.
I'm in the midst of doing a swift version of the platform layer and am running into some issues with compiling the handmade source. In particular I'm getting errors finding the following types:
Did you run into this?