[geos-devel] Problems with BufferOp when using BufferParameters

Mateusz Łoskot mateusz at loskot.net
Wed Nov 2 20:03:01 EDT 2011


On 2 November 2011 23:31, Markus Meyer <meyer at mesw.de> wrote:
> Hi everyone,
>
> just to let you know:
>
> I had an interesting evening with CMake and Visual Studio and noticed that
> the test by Mateusz runs fine even with my own data. Turns out my problem
> was that I was using the build created by NMake with a Visual Studio 2008
> project which somehow corrupted memory, even when using the correct C
> runtime library.

It may indicate that NMake provides messy compilation flags.
For example, it used to use /MD for Debug build by default.
I don't use NMake config myself.

> I am now using CMake to create a .sln file instead and
> build the DLL with "shared multithreaded" runtime library support (which is
> the default in the .sln files created by CMake anyway).

Simply, CMake generates project files with default settings
as suggested by Visual Studio.
Good to know CMake works for you :-)

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org


More information about the geos-devel mailing list