[mapguide-internals] Broken Linux build post-VS2015 migration

Andy Zhang Andy.Zhang at autodesk.com
Wed Oct 28 18:22:16 PDT 2015


Hi Jackie,

We are working on the Linux build now. For the problems you encounter, I prefer to use #ifdef back in the original code for Linux.

Best Regards
Andy

-----Original Message-----
From: mapguide-internals [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Jackie Ng
Sent: Thursday, October 29, 2015 7:01 AM
To: mapguide-internals at lists.osgeo.org
Subject: [mapguide-internals] Broken Linux build post-VS2015 migration

Hi All,

I've been trying to build MapGuide on (Ubuntu) Linux after the VS2015 migration and have ran into several compiler errors:

Oem/DWFTK/develop/global/src/dwf/package/DefinedObject.cpp:

It's complaining about LONG_PTR being undefined. This seems to be a windows-only typedef. What should be used on Linux (go back to long as it was originally)?

Various files under Oem/geos:

It's complaining about std::fmax being undefined. This is a new function in the C++11 standard library, should we be compiling all our code as C++11 (-std=c++11), or just #ifdef back in the original code for Linux?

There's probably others I've yet to encounter.

- Jackie





--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Broken-Linux-build-post-VS2015-migration-tp5233213.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.
_______________________________________________
mapguide-internals mailing list
mapguide-internals at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-internals


More information about the mapguide-internals mailing list