Quantcast
Viewing all articles
Browse latest Browse all 2341

New Post: Compiling questions

Hey guys, I'm following the instructions here but it seems I'm still missing something.

This should be able to compile with VS2013 right? I'm running VS2013 Community which as I understand should be very similar to the normal VS pro versions.

It kinda looks like I need newer versions of 'cqlib.lib' and 'spatialindex-mw.lib'. I found them in support/lib/v100 but when I copied all that into a v120 folder it came up with an error that looks like it's saying the spatial index lib wants an older compiler.

This is what that error looks like:
error LNK2038: mismatch detected for '_MSC_VER': value '1600' doesn't match value '1800' in Identifier.obj C:\dev\MapwinGIS\src\SpatialIndex-mw.lib(DiskStorageManager.obj) MapWinGIS

I don't know if it's important but I had to make a couple changes just to make it this far.
  • Comment out line 58 in MapWinGIS.cpp
    I read something about AfxSetAmbientActCtx(bool) not being supported in VS2013 so maybe that's why it was giving an error?
  • Change the version number in the linker from 4.9.3.4 to 4.9
    Again, found something that said this changed recently and version numbers with more decades had to go somewhere else.
  • Remove mfcs100.lib from the linker input dependancies
    A holdout from an older version of VS?

Viewing all articles
Browse latest Browse all 2341

Trending Articles