Moderator: OpenTTD Developers
I'm trying to compile OpenTTD with Visual Studio 2015 Community edition update 3.
I've follow all the instructions. Get the latest source with svn, get the latest OpenTTD essentials and configure VS to point to it (include and library path).
But when I start to compile, I get a lot of error on fttypes.h system include file while compiling crashlog.cpp
The first (of over 280) is:
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file ..\src\crashlog.cpp) openttd C:\Program Files (x86)\Windows Kits\10\Include\10.0.10586.0\shared\fttypes.h 38
Basically it seems that LONGLONG is not defined when included fttypes.h
Undefining WITH_FREETYPE doesn't help.
Thank you for your help.
It seems that in the new windows SDK that come with VS 2915 Update 3 there is an incompatible fttypes.h include file.
The solution is to put the directory of OpenTTD essentials before the predefined include directories in VC++ Directories/Include Directories option.
Users browsing this forum: No registered users and 3 guests