The International Simutrans Forum

Development => Patches & Projects => Topic started by: jamespetts on December 14, 2008, 12:55:35 am

Title: Having trouble compiling nightly with my new patch
Post by: jamespetts on December 14, 2008, 12:55:35 am
After I uploaded my patch (http://forum.simutrans.com/index.php?topic=980.0), I downloaded the latest nightly build with the intention of re-applying my patch to it, and running the latest version. However, it seems that there have been so many changes to the code since last week that, when I try to run it, I get over 100 compiler errors. The problem seems to come from simmain.cc calling lots of members of umgebung_t which are no longer in umgebung_t. Can anyone ****ist with solving this issue?
Title: Re: Having trouble compiling nightly with my new patch
Post by: vilvoh on December 14, 2008, 01:05:05 am
perhaps you may get some info from the svn changelog...
Title: Re: Having trouble compiling nightly with my new patch
Post by: jamespetts on December 14, 2008, 01:32:44 pm
Thank you for your reply: I managed to get it to compile by downloading the latest .vcproj file: the problem, I think, was that there were new .cc files added to the project since the revision that I was using that did not appear in my version of the .vcproj file.
Title: Re: Having trouble compiling nightly with my new patch
Post by: vilvoh on December 14, 2008, 07:20:34 pm
If I remember correctly, VS send to Prissi an updated version of that file some time ago (2 weeks as much) so as you said, that could be the problem.
Title: Re: Having trouble compiling nightly with my new patch
Post by: jamespetts on December 14, 2008, 07:33:26 pm
Yes, indeed - I've solved it now :-)