Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-dev] building SUMO in Visual 2017

Hello,

has anyone had luck building Sumo on Visual 2017 (I'm using the community version)? Or is this just a bad idea?

I also have Visual 2013 installed, and Visual 2017 indicates that all projects contained in the solution will be built with version 2013 (using the file prj.sln in /build/msvc17).

However, that are many errors regarding CSTDLIB and CMATH, such as:

c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.10.25017\include\cstdlib(18): error C2589: '(': illegal token on right side of '::' c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.10.25017\include\cstdlib(18): error C2146: syntax error: missing ')' before identifier 'fabs' c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.10.25017\include\cmath(19): error C2589: '(': illegal token on right side of '::' c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.10.25017\include\cmath(19): error C2146: syntax error: missing ')' before identifier 'acos'

Etc. It would seem some include files belonging to MSVC 2017 are incompatible with the SUMO sources.

Everything builds fine when Visual 2013 directly. I can live with building on Visual 2013, but if there is an easy fix to allow building with 2017 I'd be happy to hear it, cause I have git, etc. set up just for 2017.

Kind regards,

Menno van der Woude


Back to the top