I was able to build revision 12972 with the patch on VS2008 Pro. If i remember correctly I had to add the two new files (sharedinfrastructure.cpp and sharedinfrastructure.h in the SRC directory) to the Visual Studio project file. The patch includes the modified project file for Visual Studio 2005 but the project file for Visual Studio 2008 is untouched.Anunnaki wrote:I was trying to patch your r12983_infrastructure_sharing_v0.2_fixed.patch to official clean openttd svn r12983 and r12991 too and then make win32 build (with MS VS2008), but the same problems in both cases. Can you look on that ?
...
And you really should select "Release" as build target because the debug version is very hard on system resources.
EDIT: To compile the most recent svn revision you have to modifiy two method calls in player_gui.cpp (near lines 1331 and 1372). The calls "DeleteWindow(w);" have to be replaced by "delete w;" (according to SVN log revision 12975).
Kind regards
Zombie