Opened 14 years ago

Closed 12 years ago

#1413 closed defect (fixed)

VS Express compilation support

Reported by: jng Owned by:
Priority: low Milestone: 2.3
Component: Build System Version: 2.2.0
Severity: major Keywords: haspatch
Cc: brucedechant External ID:

Description

I've been doing tests to see if MGOS can be built with Visual C++ 2008 Express Edition and all the errors are due to non-existent headers in the Express Edition.

Most (all?) of the .rc files reference the following header/resource files that do not exist in the express edition:

  • afxres.h
  • winres.h
  • afxres.rc

By replacing all these references with "winresrc.h", the entire MGOS source (Oem, Common, Server, WebTier) will build successfully.

Attached is a patch for all the affected rc files (and removes 2 unused MFC/ATL header #includes from CCoordinateSystemCatalog) which will make the source buildable with VC express.

This ticket does not cover the installer components, which I have made a separate ticket for (#1411)

Attachments (2)

mgos_vcexpress.patch (24.6 KB ) - added by jng 14 years ago.
Patch to support complation with Visual C++ 2008 Express Edition
oem_vcexpress.patch (2.4 KB ) - added by jng 14 years ago.
Patched Oem.sln that removes the SQLiteGUI project

Download all attachments as: .zip

Change History (8)

by jng, 14 years ago

Attachment: mgos_vcexpress.patch added

Patch to support complation with Visual C++ 2008 Express Edition

comment:1 by tomfukushima, 14 years ago

Cc: brucedechant added

comment:2 by brucedechant, 14 years ago

Milestone: 2.3
Resolution: fixed
Status: newclosed
Version: 2.2.0

Fixed in trunk r5068

comment:3 by jng, 14 years ago

Resolution: fixed
Status: closedreopened

by jng, 14 years ago

Attachment: oem_vcexpress.patch added

Patched Oem.sln that removes the SQLiteGUI project

comment:4 by jng, 14 years ago

Oem.sln doesn't load cleanly in VS express because it contains a C# SQLiteGUI project which is not used (confirm?).

Attached is a patch that removes this project. The solution file as-is can be built, but you just have to ignore an error loading the SQLiteGUI project. This patch is just for completeness.

comment:5 by zspitzer, 13 years ago

Keywords: haspatch added

comment:6 by jng, 12 years ago

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.