The International Simutrans Forum

 

Author Topic: 112.x merge - problem compiling with mingw  (Read 1109 times)

0 Members and 1 Guest are viewing this topic.

Offline Milko

  • Devotee
  • *
  • Posts: 829
112.x merge - problem compiling with mingw
« on: January 02, 2013, 12:49:21 PM »
Hello James

I'm trying to compile Sim-Exp 112.x merge (last update on github) using the procedure: http://forum.simutrans.com/index.php?topic=6512.msg74962#msg74962

I have a problem, I attach the error obtained.

Giuseppe

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18763
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: 112.x merge - problem compiling with mingw
« Reply #1 on: January 02, 2013, 01:11:06 PM »
Hmm, this uses the makefile, doesn't it? Perhaps Bernd needs to look at updating the makefile for the merge, as I believe that he, like I, uses MSVC++.

Offline Bernd Gabriel

  • *
  • Posts: 230
  • Addicted to Simutrans: since 2003
    • Fast Function Factory
  • Languages: DE, EN, C++
Re: 112.x merge - problem compiling with mingw
« Reply #2 on: January 03, 2013, 03:10:05 PM »
Oops, abs() is Visual C++ specific.

Changed to standard C fabs() in my "112.x merge" branch.

Offline Milko

  • Devotee
  • *
  • Posts: 829
Re: 112.x merge - problem compiling with mingw
« Reply #3 on: January 04, 2013, 10:08:47 AM »
Hello Bernd

Thank's, now it's ok!  :)

Giuseppe

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18763
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: 112.x merge - problem compiling with mingw
« Reply #4 on: January 04, 2013, 11:15:10 AM »
Excellent!