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?
I had exactly the same… nevertheless I redid the whole thing from scratch…
From a fresh repository I had to:
move VCMI…/libs/. into VCMI…/libs/x86/.
In VCMILauncher I had to go to .prj and replace all QT paths
In VCAI I had to create a new macro called FUZZYLITE with value …/FuzzyLite/FuzzyLite
ERM project is not compiling -> out of build configuration (I just dont care about it)