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)
Change History (8)
by , 14 years ago
Attachment: | mgos_vcexpress.patch added |
---|
comment:1 by , 14 years ago
Cc: | added |
---|
comment:2 by , 14 years ago
Milestone: | → 2.3 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Version: | → 2.2.0 |
Fixed in trunk r5068
comment:3 by , 14 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
by , 14 years ago
Attachment: | oem_vcexpress.patch added |
---|
Patched Oem.sln that removes the SQLiteGUI project
comment:4 by , 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 , 13 years ago
Keywords: | haspatch added |
---|
comment:6 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Patch to support complation with Visual C++ 2008 Express Edition