When I try to compile the latest build I get this error:
Severity Code Description Project File Line Suppression State
Error C2011 'timespec': 'struct' type redefinition Simutrans-Experimental C:\Users\Victor\Documents\GitHub\OpenTTD\shared\include\pthread.h 320
May I ask which compiler that you are using?
I use msvs 2015 on Windows 10
This was the same problem as I had and fixed to make it work with Visual Studio 2015: see this thread (http://forum.simutrans.com/index.php?topic=14705.0) for some tips for compiling in that environment.
I have Windows 7 and I get this error also on attempt to compile.
I have been compiling in this evironment for a very long time without problems, the problem started just now. Did you have to recompile some of you libraries? The forum thread seems to suggest that one should download DrSupergoods patch and recompile a bunch of stuff, and I was really hoping that I could avoid that.
The patch has been applied, so there is no need to apply it again. You will need to recompile bzlib, however,and get the latest libraries from Open TTD.
I updated to the latest bundle off ottd website and updated those, and I never compiled bzlib myself to begin with, and I still get it.