|
Zhonghai, The buildkit was compiled originally with VS2003, compiling with VS2005
is not so straightforward. When compiling gdal you probably link against several libs
compiled with VS2003 previously so you should compile those libraries with
VS2005 first. See nmake.opt and search for the .lib references to locate those
libraries. I suggest to disable the libraries not really needed for your
application. (Even with mapserver and gdal) I cannot confirm if all of the libraries could be enabled easily. In my
application ORACLE, SDE, XERCES, GEOS, ECW were disabled. (however these are
enabled by default). However some folks might have gone forward with the libraries mentioned
previously as well. Best Regards, Tamas Szekeres From: UMN MapServer
Users List [mailto:[EMAIL PROTECTED] On Behalf Of Zhonghai Wang hi guys, I am trying to compile MapServer with VS2005 now, and I've struggle
with it for almost one day, but I am still in the dark...the following is done
for the compilation, and any ideas from you will be so helpful. 1.source code download: -- the MapServer BuildKit from Howard
Butler and I have downloaded the latest package version "mapserver-4.8.3-2-msvc71-buildk-kit.zip" 2.and I follow the compilation guide here: to compile MapServer, according to this doc, I should at
first compile the GDAL package, and then come to the MapServer package. But
when I am trying to compile the GDAL package under VS2005 command prompt with the command
"nmake /f makefile.vc", there are
some error messages appears, the scenario is: ******************************** *C:\buildkit\gdal-1.3.2>nmake /f makefile.vc
clean *C:\buildkit\gdal-1.3.2>nmake /f makefile.vc * * * *and here come the error messages, I paste only the first one here,
because I think if I fix this problem, the other error may be fixed at the same
time: * *msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_string<char,struct
s *@[EMAIL PROTECTED]@std@@[EMAIL PROTECTED]@2@@[EMAIL PROTECTED]@[EMAIL PROTECTED])
already defined in geos * ********************************* Because I want to use CSharp/MapScript under the .NET FW 2.0, and I've
also got some info from the Doc:http://mapserver.gis.umn.edu/docs/howto/mapscriptcscompile
, it says that I should compile MapServer and the related libraries using
VS2005 for .NET FW 2.0, I begin with the VS2005 command prompt instead of
following the compilation guide in the mapserver README.WIN32, which gives: *** To build
the package using the Makefile.vc and NMAKE: -
Edit nmake.opt to select (or deselect) optional components of -
Open a DOS prompt window -
Run the VCVARS32.BAT script to initialize the VC++ environment -
Then start the build with: This will
create "mapserv.exe" (the main MapServer CGI program), the *** I am now
just wondering if it's possible to compile MapServer and related libraries with
VS2005, since the MSVCP80.dll can always not be found. Did anyone have some
experiences about that? I would
really appreciate it if you give me some HINTS for my compilation. zhonghai -- -- |
- [UMN_MAPSERVER-USERS] Compile MapSevrer with VS2005 (MapSer... Zhonghai Wang
- [UMN_MAPSERVER-USERS] Compile MapSevrer with VS2005 (M... Zhonghai Wang
- Re: [UMN_MAPSERVER-USERS] Compile MapSevrer with V... Tamas Szekeres
- Re: [UMN_MAPSERVER-USERS] Compile MapSevrer wi... Zhonghai Wang
- Re: [UMN_MAPSERVER-USERS] Compile MapSevre... Tamas Szekeres
