MVSE 2013 VCMI Build

So, after try build vcmi with c::b, CMake, I update my win, and try to build vcmi with MVSE 2013. But again I have fucking errors xD

Error	6	error LNK1181: cannot open input file 'zlib.lib'	C:\Users\Vampir\Source\Repos\vcmi\lib\minizip\LINK	minizip
Error	15	error MSB6006: "link.exe" exited with code 1181.	C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets	607	5	VCMI_lib
Error	16	error LNK1181: cannot open input file 'minizip.lib'	C:\Users\Vampir\Source\Repos\vcmi\lib\LINK	VCMI_lib
Error	23	error C3861: 'avcodec_alloc_frame': identifier not found	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	154	1	VCMI_client
Error	24	error C2065: 'PIX_FMT_YUV420P' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	188	1	VCMI_client
Error	25	error C2065: 'PixelFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	194	1	VCMI_client
Error	26	error C2146: syntax error : missing ';' before identifier 'screenFormat'	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	194	1	VCMI_client
Error	27	error C2065: 'screenFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	194	1	VCMI_client
Error	28	error C2065: 'PIX_FMT_NONE' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	194	1	VCMI_client
Error	29	error C2065: 'screenFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	200	1	VCMI_client
Error	30	error C2065: 'PIX_FMT_BGR565' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	200	1	VCMI_client
Error	31	error C2065: 'screenFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	201	1	VCMI_client
Error	32	error C2065: 'PIX_FMT_BGR24' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	201	1	VCMI_client
Error	33	error C2065: 'screenFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	202	1	VCMI_client
Error	34	error C2065: 'PIX_FMT_BGR32' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	202	1	VCMI_client
Error	35	error C2065: 'screenFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	211	1	VCMI_client
Error	36	error C2065: 'PIX_FMT_RGB565' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	211	1	VCMI_client
Error	37	error C2065: 'screenFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	212	1	VCMI_client
Error	38	error C2065: 'PIX_FMT_RGB24' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	212	1	VCMI_client
Error	39	error C2065: 'screenFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	213	1	VCMI_client
Error	40	error C2065: 'PIX_FMT_RGB32' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	213	1	VCMI_client
Error	41	error C2065: 'screenFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	219	1	VCMI_client
Error	42	error LNK1181: cannot open input file 'VCMI_lib.lib'	C:\Users\Vampir\Source\Repos\vcmi\server\LINK	VCMI_server

Anyone? Any help? :frowning:

“cannot open input file ‘zlib.lib’”, “‘avcodec_alloc_frame’: identifier not found” - looks like ALL required libraries are missing.

wiki.vcmi.eu/index.php?title=How … Windows%29

So, I’m so close xD but still I have problem with this.

Error	16	error C2065: 'PIX_FMT_BGR24' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	201	1	VCMI_client
Error	18	error C2065: 'PIX_FMT_BGR32' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	202	1	VCMI_client
Error	14	error C2065: 'PIX_FMT_BGR565' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	200	1	VCMI_client
Error	12	error C2065: 'PIX_FMT_NONE' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	194	1	VCMI_client
Error	22	error C2065: 'PIX_FMT_RGB24' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	212	1	VCMI_client
Error	24	error C2065: 'PIX_FMT_RGB32' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	213	1	VCMI_client
Error	20	error C2065: 'PIX_FMT_RGB565' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	211	1	VCMI_client
Error	8	error C2065: 'PIX_FMT_YUV420P' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	188	1	VCMI_client
Error	9	error C2065: 'PixelFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	194	1	VCMI_client
Error	11	error C2065: 'screenFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	194	1	VCMI_client
Error	13	error C2065: 'screenFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	200	1	VCMI_client
Error	15	error C2065: 'screenFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	201	1	VCMI_client
Error	17	error C2065: 'screenFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	202	1	VCMI_client
Error	19	error C2065: 'screenFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	211	1	VCMI_client
Error	21	error C2065: 'screenFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	212	1	VCMI_client
Error	23	error C2065: 'screenFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	213	1	VCMI_client
Error	25	error C2065: 'screenFormat' : undeclared identifier	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	219	1	VCMI_client
Error	10	error C2146: syntax error : missing ';' before identifier 'screenFormat'	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	194	1	VCMI_client
Error	7	error C3861: 'avcodec_alloc_frame': identifier not found	C:\Users\Vampir\Source\Repos\vcmi\client\CVideoHandler.cpp	154	1	VCMI_client

I have everything what is needed to build this.

All this PIX_* is from FFMPEG (libavutil\pixfmt.h).

Yes It was it. But now:

Error	5	error C2039: 'asctime' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	20	1	VCMI_server
Error	29	error C2039: 'asctime' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	20	1	VCMI_client
Error	7	error C2039: 'clock' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	20	1	VCMI_server
Error	31	error C2039: 'clock' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	20	1	VCMI_client
Error	3	error C2039: 'clock_t' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	18	1	VCMI_server
Error	27	error C2039: 'clock_t' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	18	1	VCMI_client
Error	9	error C2039: 'ctime' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	20	1	VCMI_server
Error	33	error C2039: 'ctime' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	20	1	VCMI_client
Error	11	error C2039: 'difftime' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	21	1	VCMI_server
Error	35	error C2039: 'difftime' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	21	1	VCMI_client
Error	13	error C2039: 'gmtime' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	21	1	VCMI_server
Error	37	error C2039: 'gmtime' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	21	1	VCMI_client
Error	25	error C2039: 'gmtime' : is not a member of 'std'	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\boost\date_time\c_time.hpp	110	1	VCMI_server
Error	49	error C2039: 'gmtime' : is not a member of 'std'	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\boost\date_time\c_time.hpp	110	1	VCMI_client
Error	15	error C2039: 'localtime' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	21	1	VCMI_server
Error	39	error C2039: 'localtime' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	21	1	VCMI_client
Error	23	error C2039: 'localtime' : is not a member of 'std'	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\boost\date_time\c_time.hpp	101	1	VCMI_server
Error	47	error C2039: 'localtime' : is not a member of 'std'	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\boost\date_time\c_time.hpp	101	1	VCMI_client
Error	17	error C2039: 'mktime' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	22	1	VCMI_server
Error	41	error C2039: 'mktime' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	22	1	VCMI_client
Error	19	error C2039: 'strftime' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	22	1	VCMI_server
Error	43	error C2039: 'strftime' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	22	1	VCMI_client
Error	21	error C2039: 'time' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	22	1	VCMI_server
Error	45	error C2039: 'time' : is not a member of '`global namespace''	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	22	1	VCMI_client
Error	26	error C2660: 'boost::date_time::c_time::gmtime' : function does not take 1 arguments	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\boost\date_time\c_time.hpp	110	1	VCMI_server
Error	50	error C2660: 'boost::date_time::c_time::gmtime' : function does not take 1 arguments	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\boost\date_time\c_time.hpp	110	1	VCMI_client
Error	24	error C2660: 'boost::date_time::c_time::localtime' : function does not take 1 arguments	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\boost\date_time\c_time.hpp	101	1	VCMI_server
Error	48	error C2660: 'boost::date_time::c_time::localtime' : function does not take 1 arguments	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\boost\date_time\c_time.hpp	101	1	VCMI_client
Error	6	error C2873: 'asctime' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	20	1	VCMI_server
Error	30	error C2873: 'asctime' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	20	1	VCMI_client
Error	8	error C2873: 'clock' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	20	1	VCMI_server
Error	32	error C2873: 'clock' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	20	1	VCMI_client
Error	4	error C2873: 'clock_t' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	18	1	VCMI_server
Error	28	error C2873: 'clock_t' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	18	1	VCMI_client
Error	10	error C2873: 'ctime' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	20	1	VCMI_server
Error	34	error C2873: 'ctime' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	20	1	VCMI_client
Error	12	error C2873: 'difftime' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	21	1	VCMI_server
Error	36	error C2873: 'difftime' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	21	1	VCMI_client
Error	14	error C2873: 'gmtime' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	21	1	VCMI_server
Error	38	error C2873: 'gmtime' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	21	1	VCMI_client
Error	16	error C2873: 'localtime' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	21	1	VCMI_server
Error	40	error C2873: 'localtime' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	21	1	VCMI_client
Error	18	error C2873: 'mktime' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	22	1	VCMI_server
Error	42	error C2873: 'mktime' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	22	1	VCMI_client
Error	20	error C2873: 'strftime' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	22	1	VCMI_server
Error	44	error C2873: 'strftime' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	22	1	VCMI_client
Error	22	error C2873: 'time' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	22	1	VCMI_server
Error	46	error C2873: 'time' : symbol cannot be used in a using-declaration	C:\Program Files\Microsoft Visual Studio 12.0\VC\include\ctime	22	1	VCMI_client

Now there are some RTL- related problems. No idea how to solve. Wrong solution/project configuration?

Hmm I use another ffmpeg and boost version, again download vcmi source but still nothing. Maybe with my VSE there is something wrong?