Download libraries separately. You need boost and zlib, additionally for VCMI_client you need sdl2 and ffmpeg. Boost, sdl2 and ffmpeg are easy to download from their websites. And you can get zlib using nuget package manager shipped with visual studio 2015: nuget.org/packages/zlib/
You also need qt for launcher but I do not play with launcher project.
Ye, I know - I know, my point is that the msvc bundle link is outdated and that the link that works, which is supposedly for msvc too, in fact only provides mingw libs
It will be good, if someone provides step-by-step instruction how to compile VCMI under VS2015.
I tried to do this not long ago (and still want to try), but got some compile errors not solved by me yet.
Anyone succeeded in compiling in VS2015? I followed the wiki, installed zlib, boost, ffmpeg, configured the lib path and include path, still have about 20 err (mostly missing include and LINK error)
âNo such file or directoryâ - canât find include file. This is perfectly clear to me. The same goes for linker which canât find .lib files.
If VCMI_Liblib is not created at all (compilation failed) or is created in wrong directory, you get this error.
Just navigate project settings (for each projectr, starting from VCMI_Lib) and make sure files are in specified include directories. Or, more precisely, make sure the directories are set where files are.
I didnât encounter this error. Not sure if this would help but I found QtWidgets in my boost folder.
Anyway, I was finally successfully solved those âcannot findâŚâ errors. Now the only type of error I have left is the LINK error (there are like ~10 LINK errors). I looked it up and it seems like it has something to do with Linker -> Input under Properties. Any ideas to solve this?
Ok I have the file aswell. I just thought its must be a .h or .hpp.
The next problem is that it works if I use an absolute path, but no matter what I put in Additional Include directories it does not find the file
this works: #include âc:\Home\Krs\Work\VCMI\Qt\5.7\msvc2015\include\QtWidgets\QtWidgetsâ
this does not #include (with #include âc:\Home\Krs\Work\VCMI\Qt\5.7\msvc2015\include\QtWidgetsâ in Include additional dirs for project VCMI_Launcher)