Changeset 2390
- Timestamp:
- 09/20/03 09:36:09 (5 years ago)
- Files:
-
- branches/branch-4-0/mapserver/README.WIN32 (modified) (8 diffs)
- trunk/mapserver/README.WIN32 (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/branch-4-0/mapserver/README.WIN32
r1737 r2390 21 21 -------------------------------------------------------------------- 22 22 23 For the developers using MSVC++, a NMAKE makefile (Makefile.vc ) to24 build the MapServer library and executable programs is included with23 For the developers using MSVC++, a NMAKE makefile (Makefile.vc + nmake.opt) 24 to build the MapServer library and executable programs is included with 25 25 the distribution. 26 26 27 27 To build the package using the Makefile.vc and NMAKE: 28 28 29 - Edit Makefile.vcto select (or deselect) optional components of29 - Edit nmake.opt to select (or deselect) optional components of 30 30 the MapServer. Please read the notes below about each component 31 31 before you move ahead with the compilation. … … 64 64 65 65 If you are using a different version of GD, then it is very important 66 to make sure that you update the -DUSE_GD_* flags in all the Makefile.vc.66 to make sure that you update the -DUSE_GD_* flags in the nmake.opt. 67 67 68 68 You'll have to compile your own GD library with the options you want, … … 89 89 ftp://ftp.gnu.org/pub/gnu/regex/regex-0.12.tar.gz 90 90 91 The default case in the Makefile.vcis set to compile with GNU91 The default in the nmake.opt is set to compile with GNU 92 92 regex-0.12 located in the "regex-0.12" directory. 93 93 … … 122 122 the library. 123 123 124 - make sure the value of the -DUSE_GD_* flag in the gdft/Makefile.vc125 matches the version of GD that you are building with.126 127 - directory ./mapserver/gdft should not be compiled with DEBUG option128 124 129 125 -------------------------------------------------------------------- … … 138 134 the directory where the epsg file is located 139 135 * if you build this module, at the top of the makefile (./src/makefile.vc), you 140 can set the PROJ_LIB variable and this setting will be used to locates the141 files.136 can set the PROJ_LIB variable and this setting will be used to 137 locate the proj support files. 142 138 143 139 144 145 --------------------------------------------------------------------146 Notes libwww : used to support WMS client connection147 Depricated. Please refer to notes on libcurl below148 --------------------------------------------------------------------149 - the libaray is located at http://www.w3.org/Library/150 151 Notes on how to build it using MSVC:152 153 - before starting please refer to http://www.w3.org/INSTALL.html#Windows154 155 - Get the source code from CVS156 - Get the latest MSVC makefiles157 - Do the "bootstrap mechanism" : (http://www.w3.org/Library/cvs.html#Boot).158 You will need a Perl module for this.159 - you can then compile by opening the libwww/windows/world.dsw workspace160 and do a batch build of the whole thing.161 162 other notes : I had to define #define WWW_MSWINDOWS 1 in wwwsys.h163 before compiling.164 165 Notes on mapserver's makefile.vc modifications :166 167 - flag to add : -DUSE_WMS_LYR168 - include : -I../Libwww/library/src -I../libwww/modules/expat/xmlparse169 - libararies : ../Libwww/bin/wwwcore.lib ../Libwww/bin/wwwapp.lib170 ../Libwww/bin/wwwinit.lib ../Libwww/bin/wwwutils.lib171 172 Installation :173 174 - The best way is to get a precomiled binaries from the site. There is an175 windows install available at :176 ftp://ftp.idm.ru/libwww/Libwww_V5.3.2.exe177 178 - copy the following dll to a location where dll's can be loaded179 (ex : c:/winnt/syetem32) : gnu_regex.dll xmlparse.dll xmltok.dll180 (these dlls should be in .libwww/library/external after the build or181 available in your install directory)182 183 - You also needs the following dll files. These file are installed in your system directory when you install Libwww :184 185 * wwwapp.dll186 * wwwcache.dll187 * wwwcore.dll188 * wwwdir.dll189 * wwwdll.dll190 * wwwfile.dll191 * wwwftp.dll192 * wwwgophe.dll193 * wwwhtml.dll194 * wwwhttp.dll195 * wwwinit.dll196 * wwwmime.dll197 * wwwmux.dll198 * wwwnews.dll199 * wwwstream.dll200 * wwwtelnt.dll201 * wwwtrans.dll202 * wwwutils.dll203 * wwwwais.dll204 * wwwxml.dll205 * wwwzip.dll206 207 208 140 -------------------------------------------------------------------- 209 141 Notes libcurl : used to support WMS client connection 210 Mapserver 3.7is using libcurl instead of libwww for WMS client142 Mapserver 4.x is using libcurl instead of libwww for WMS client 211 143 support 212 144 -------------------------------------------------------------------- … … 215 147 Quick notes on how to build the library using MSVC++: 216 148 217 - Download and extract the library (at this time it is know to work218 with version 7.10.2 )149 - Download and extract the library (at this time it is known to work 150 with version 7.10.2 or more recent) 219 151 - Open the workspace curlib.dsw located under curl-XXX/lib 220 152 - Build libcurl.dll. Note that the default active configuraion of the project … … 223 155 224 156 225 Notes on mapserver's makefile.vcmodifications :157 Notes on mapserver's nmake.opt modifications : 226 158 227 159 - uncomment the flag WMSCLIENT= -DUSE_WMS_LYR … … 264 196 265 197 2) Build mapserver with PDF 266 - uncomment in the makefile.vc the flags related to PDF 267 268 198 - uncomment in the nmake.opt the flags related to PDF 269 199 270 200 trunk/mapserver/README.WIN32
r1737 r2390 21 21 -------------------------------------------------------------------- 22 22 23 For the developers using MSVC++, a NMAKE makefile (Makefile.vc ) to24 build the MapServer library and executable programs is included with23 For the developers using MSVC++, a NMAKE makefile (Makefile.vc + nmake.opt) 24 to build the MapServer library and executable programs is included with 25 25 the distribution. 26 26 27 27 To build the package using the Makefile.vc and NMAKE: 28 28 29 - Edit Makefile.vcto select (or deselect) optional components of29 - Edit nmake.opt to select (or deselect) optional components of 30 30 the MapServer. Please read the notes below about each component 31 31 before you move ahead with the compilation. … … 64 64 65 65 If you are using a different version of GD, then it is very important 66 to make sure that you update the -DUSE_GD_* flags in all the Makefile.vc.66 to make sure that you update the -DUSE_GD_* flags in the nmake.opt. 67 67 68 68 You'll have to compile your own GD library with the options you want, … … 89 89 ftp://ftp.gnu.org/pub/gnu/regex/regex-0.12.tar.gz 90 90 91 The default case in the Makefile.vcis set to compile with GNU91 The default in the nmake.opt is set to compile with GNU 92 92 regex-0.12 located in the "regex-0.12" directory. 93 93 … … 122 122 the library. 123 123 124 - make sure the value of the -DUSE_GD_* flag in the gdft/Makefile.vc125 matches the version of GD that you are building with.126 127 - directory ./mapserver/gdft should not be compiled with DEBUG option128 124 129 125 -------------------------------------------------------------------- … … 138 134 the directory where the epsg file is located 139 135 * if you build this module, at the top of the makefile (./src/makefile.vc), you 140 can set the PROJ_LIB variable and this setting will be used to locates the141 files.136 can set the PROJ_LIB variable and this setting will be used to 137 locate the proj support files. 142 138 143 139 144 145 --------------------------------------------------------------------146 Notes libwww : used to support WMS client connection147 Depricated. Please refer to notes on libcurl below148 --------------------------------------------------------------------149 - the libaray is located at http://www.w3.org/Library/150 151 Notes on how to build it using MSVC:152 153 - before starting please refer to http://www.w3.org/INSTALL.html#Windows154 155 - Get the source code from CVS156 - Get the latest MSVC makefiles157 - Do the "bootstrap mechanism" : (http://www.w3.org/Library/cvs.html#Boot).158 You will need a Perl module for this.159 - you can then compile by opening the libwww/windows/world.dsw workspace160 and do a batch build of the whole thing.161 162 other notes : I had to define #define WWW_MSWINDOWS 1 in wwwsys.h163 before compiling.164 165 Notes on mapserver's makefile.vc modifications :166 167 - flag to add : -DUSE_WMS_LYR168 - include : -I../Libwww/library/src -I../libwww/modules/expat/xmlparse169 - libararies : ../Libwww/bin/wwwcore.lib ../Libwww/bin/wwwapp.lib170 ../Libwww/bin/wwwinit.lib ../Libwww/bin/wwwutils.lib171 172 Installation :173 174 - The best way is to get a precomiled binaries from the site. There is an175 windows install available at :176 ftp://ftp.idm.ru/libwww/Libwww_V5.3.2.exe177 178 - copy the following dll to a location where dll's can be loaded179 (ex : c:/winnt/syetem32) : gnu_regex.dll xmlparse.dll xmltok.dll180 (these dlls should be in .libwww/library/external after the build or181 available in your install directory)182 183 - You also needs the following dll files. These file are installed in your system directory when you install Libwww :184 185 * wwwapp.dll186 * wwwcache.dll187 * wwwcore.dll188 * wwwdir.dll189 * wwwdll.dll190 * wwwfile.dll191 * wwwftp.dll192 * wwwgophe.dll193 * wwwhtml.dll194 * wwwhttp.dll195 * wwwinit.dll196 * wwwmime.dll197 * wwwmux.dll198 * wwwnews.dll199 * wwwstream.dll200 * wwwtelnt.dll201 * wwwtrans.dll202 * wwwutils.dll203 * wwwwais.dll204 * wwwxml.dll205 * wwwzip.dll206 207 208 140 -------------------------------------------------------------------- 209 141 Notes libcurl : used to support WMS client connection 210 Mapserver 3.7is using libcurl instead of libwww for WMS client142 Mapserver 4.x is using libcurl instead of libwww for WMS client 211 143 support 212 144 -------------------------------------------------------------------- … … 215 147 Quick notes on how to build the library using MSVC++: 216 148 217 - Download and extract the library (at this time it is know to work218 with version 7.10.2 )149 - Download and extract the library (at this time it is known to work 150 with version 7.10.2 or more recent) 219 151 - Open the workspace curlib.dsw located under curl-XXX/lib 220 152 - Build libcurl.dll. Note that the default active configuraion of the project … … 223 155 224 156 225 Notes on mapserver's makefile.vcmodifications :157 Notes on mapserver's nmake.opt modifications : 226 158 227 159 - uncomment the flag WMSCLIENT= -DUSE_WMS_LYR … … 264 196 265 197 2) Build mapserver with PDF 266 - uncomment in the makefile.vc the flags related to PDF 267 268 198 - uncomment in the nmake.opt the flags related to PDF 269 199 270 200
