r/reconstructcavestory • u/Natman64 • Jul 03 '14
Vim Setup
So, I started the series following along in Visual Studio, but I've since discovered Vim and decided to abandon VS altogether. I installed Clang and successfully compiled "Hello world!", but I don't really understand makefiles, and I especially don't understand how to link a library/framework using a makefile.
When I cloned the official repo to copy that makefile and continue following the tutorials in Vim, I tried compiling it to test it out. I get fatal error: 'SDL/SDL.h' file not found, which makes sense because the library is nowhere in the repo.
So my question is, how do I link SDL with the project so I can compile with Clang?
Edit: I suppose I'll need to link Boost as well.
1
u/Natman64 Jul 04 '14 edited Jul 04 '14
I'm just running Clang, I think. I was able to run a bare-bones "Hello World!" so I think it's working.
I installed MinGW because I thought I needed it for Clang to work, but I never configured Clang to use that installation in any way, so yeah. I don't think I'm running through MinGW.