Visual Studio 2015 Community edition wont compile
Posted: 29 Oct 2016 13:36
Hi all
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.
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.