Well, title says it all. I'm a C# programmer (done a lot of C/C++ stuff in the past) and I consider myself quite advanced with PCs, but I just don't get this.
So, I want to compile OpenXCom for myself since I want to add some debug output to debug air combat (
https://openxcom.org/bugs/openxcom/issues/717). I downloaded the code from git. I have VS2010 installed, so I open the sln file. I compile and it fails - needs yaml's header. Okay, I'm looking at the readme and it says I need five libs:
- SDL (libsdl1.2):
https://www.libsdl.org- SDL_mixer (libsdl-mixer1.2):
https://www.libsdl.org/projects/SDL_mixer/- SDL_gfx (libsdl-gfx1.2), version 2.0.22 or later:
https://www.ferzkopp.net/joomla/content/view/19/14/- SDL_image (libsdl-image1.2):
https://www.libsdl.org/projects/SDL_image/- yaml-cpp, version 0.5.1 or later:
https://code.google.com/p/yaml-cpp/Okay, I start with yaml-cpp. I download it - it's a folder with folders inside. Where do I put them? How do I tell VS2010 where to look for them? Okay, I guess I go into project properties and add an include path to the folder that contains the folder that contains yaml's header. But now it complains about some "boost/shared_ptr.hpp"... what is an hpp anyway? I only remember there being "h" files and "cpp" or "c" files! Anyway, I look at the yaml's google code page and readme and it doesn't tell me I need any other library to use yaml... I google and it seems I do need this "boost" so I download it... another folder, with another bunch of folders... do I add it again to the "include" paths? But then I'm looking at SDL site, and no download option offers "libsdl1.2"... or does it mean I need to get source codes?....
You see, I'm kinda getting nowhere here... and I don't even know where to read about this. It seems it's so trivial to other people since nowhere it explains how to do it! And I don't even know how to google for this, because... well, I don't know what to ask for!
Can anyone who has already done this please tell me how am I supposed to do it properly?
Thanks in advance!