The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Topic started by: Milko on January 02, 2013, 12:49:21 PM

Title: 112.x merge - problem compiling with mingw
Post by: Milko 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
Title: Re: 112.x merge - problem compiling with mingw
Post by: jamespetts 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++.
Title: Re: 112.x merge - problem compiling with mingw
Post by: Bernd Gabriel 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.
Title: Re: 112.x merge - problem compiling with mingw
Post by: Milko on January 04, 2013, 10:08:47 AM
Hello Bernd

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

Giuseppe
Title: Re: 112.x merge - problem compiling with mingw
Post by: jamespetts on January 04, 2013, 11:15:10 AM
Excellent!