Version 16 (modified by 14 years ago) ( diff ) | ,
---|
Compilation Guide on Windows XP/7
work in progress
Environment Setup
- Checkout the source from Subversion to, for example, C:\
cd c:\ svn checkout http://svn.osgeo.org/mapguide/branches/2.2/MgDev mgdev OR svn export http://svn.osgeo.org/mapguide/branches/2.2/MgDev mgdev
- Download FDO 3.5 CR1 SDK tarball from Here to C:\mgdev\Oem\FDO\ created in step 1.
cd C:\mgdev\Oem\FDO tar xvvf <tar> cd Bin mkdir Release
Move all contents under Bin to Release folder. The structure of fdo should be like this:
C:\mgdev\Oem\FDO\Bin\Release C:\mgdev\Oem\FDO\Inc C:\mgdev\Oem\FDO\Lib
- Install the following dependencies and set the environment variabls
- JAVA SDK 1.6
- ANT 1.7 or above
JAVA_HOME ANT_HOME
Build Process
- Build OEM tree
- Launch Microsoft Visual Studio
- File->Open->Project/Solution and browse to oem.sln and click Ok. this will open all 35 Oem projects in Visual Studio
- In Solution Explorer tree, select Solution 'oem', then click Build->Build Solution, build process will start and should be successful.
- Build CSMap. Though CSMap is under folder Oem, it is a totally different project from other Oem projects, and it should be built seperately
- File->Open->Project/Solution and browse to Oem/CsMap/OpenSource.sln, click Ok to open CsMap project in Visual Studio
- In Solution Explorer tree, select Solution OpenSource, then click Build->Build Solution, build process will start and should be successful.
- Build MapGuide Server
- File->Open->Project/Solution and browse to c:\mgdev\Server\server.sln, click Ok to open 29 server projects in Visual Studio
- In Solution Explorer tree, select Solution Server, then click Build->Build Solution, build process will start and should be successful.
- Build Web Extension
- File->Open->Project/Solution and browse to c:\mgdev\Web\src\WebTier.sln, click Ok to open 30 web extension projects in Visual Studio
- In Solution Explorer tree, select Solution Web Tier, then click Build->Build Solution, build process will start and should be successful.
Install MapGuide Server and Web Extension
cd c:\mgdev mkdir Release build.bat -a install -c server --source=Release build.bat -a install -c web --source=Release
Testing Installation
- Start MapGuide Server
- Start MapGuide Web Extension
- Open a browser to
Attachments (1)
-
build64.bat
(21.5 KB
) - added by 14 years ago.
modified build file with a new target "uninstall"
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.