The International Simutrans Forum

 

Author Topic: Having trouble compiling nightly with my new patch  (Read 3530 times)

0 Members and 1 Guest are viewing this topic.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20805
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Having trouble compiling nightly with my new patch
« on: December 14, 2008, 12:55:35 AM »
After I uploaded my patch, 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 assist with solving this issue?

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • I'm the constructor, the architect
    • Escala real
Re: Having trouble compiling nightly with my new patch
« Reply #1 on: December 14, 2008, 01:05:05 AM »
perhaps you may get some info from the svn changelog...

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20805
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Having trouble compiling nightly with my new patch
« Reply #2 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.

Offline vilvoh

  • One of the good guys
  • Administrator (Inactive)
  • *
  • Posts: 4504
  • I'm the constructor, the architect
    • Escala real
Re: Having trouble compiling nightly with my new patch
« Reply #3 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.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20805
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Having trouble compiling nightly with my new patch
« Reply #4 on: December 14, 2008, 07:33:26 PM »
Yes, indeed - I've solved it now :-)