Making my first own Brief Renderer (for Study OpenGL)
- Downloaded the codes from ssloy/tinyrenderer. Link
- Figured out how to run the codes with GNU make.
I didn't even know how to make output with these codes. I googled tga output, makefiles, xcode and finally figured out how they work.
SYSCONF_LINK = g++
You can check it out at ./Makefile
I installed homebrew and with brew, I installed arm-gcc-bin and coreutils.
Brew
brew tap osx-cross/arm
brew install arm-gcc-bin
brew install coreutils
.
Move to the directory where Makefile is.
make
Run the .exe file.
./main
Then the output is created.
No targets specified and no makefile found. Stop.
I had to move to the exact directory(where Makefile is).
missing seperator. Stop.
I had to edit Makefile. It requires real tab instead of 4 white spaces. I edited it with text editor.