| 1 | = Building MapGuide trunk with Visual C++ Express Edition = |
| 2 | |
| 3 | == Environment Setup == |
| 4 | |
| 5 | * [http://www.microsoft.com/express/Downloads/Download-2008.aspx Microsoft Visual C++ 2008 Express Edition] |
| 6 | * [http://www.microsoft.com/downloads/details.aspx?FamilyID=e6e1c3df-a74f-4207-8586-711ebe331cdc&displaylang=en Windows SDK for Windows Server 2008 and .NET Framework 3.5] |
| 7 | |
| 8 | The Windows SDK provides us with the x64 native/cross compilers if you want to build MapGuide in 64-bit. |
| 9 | |
| 10 | == Setting up x64 compilers == |
| 11 | |
| 12 | If you don't intend to build 64-bit MapGuide you can skip this section. |
| 13 | |
| 14 | == Build Oem == |
| 15 | |
| 16 | === Manual === |
| 17 | |
| 18 | Open Oem.sln in Visual C++ Express and build the solution using your configuration of choice. You will get an error about a particular project not loading (SQLiteGUI). This is because VS express doesn't support solutions with mixed project types. Fortunately, this project is not required and the error can be safely ignored. |
| 19 | |
| 20 | === Automated === |
| 21 | |
| 22 | ... |
| 23 | |
| 24 | == A note about building CS-Map in 64-bit == |
| 25 | |
| 26 | When building the OpenSource.sln in a 32-bit system using the 64-bit cross compiler, you will get a post-build error. This is because the Compiler project has a post-build step that runs the compiled executable to compile the Coordinate System dictionaries. The compiled executable being a 64-bit binary, will not run on a 32-bit system. |
| 27 | |
| 28 | To workaround this, build the OpenSource.sln (Compiler and Library) in 32-bit first, this will trigger the post-build event and compile your CS dictionaries. Then only build the Library project in 64-bit. |
| 29 | |
| 30 | == Build Server == |
| 31 | |
| 32 | === Manual === |
| 33 | |
| 34 | Open Server.sln in Visual C++ Express and build the solution using your configuration of choice. |
| 35 | |
| 36 | === Automated === |
| 37 | |
| 38 | ... |
| 39 | |
| 40 | == Build WebTier == |
| 41 | |
| 42 | === Manual === |
| 43 | |
| 44 | Open WebTier.sln in Visual C++ Express and build the solution using your configuration of choice. |
| 45 | |
| 46 | === Automated === |
| 47 | |
| 48 | ... |