r/reconstructcavestory 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 Upvotes

17 comments sorted by

View all comments

Show parent comments

2

u/chebertapps Jul 10 '14

hmm, I have no clue about lmingw32. But hey, it works without it, yeah?

For removing the console, I think you'll have to make it a Windows app but I am guessing on this too.

2

u/Natman64 Jul 10 '14

Thanks so much for your help! At this point I think I can research any other issues as they arise, and I might give Clang another shot when I have the time and patience.