[mapserver-dev] Compliation error in mapserver 6.2
Jeff McKenna
jmckenna at gatewaygeomatics.com
Wed Aug 21 09:36:33 PDT 2013
On 2013-08-21 2:03 AM, Chan Alpha K.W. wrote:
> Creating library mapserver_i.lib and object mapserver_i.exp
> LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of
> other libs; use /NODEFAULTLIB:library
> LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of
> other libs; use /NODEFAULTLIB:library
I have hit this warning/error many times. MapServer is compiled with
the /MD flag, and all of your dependent libraries should be also
compiled that way (otherwise you will have this problem). In the MSVC
interface this is set in /Project/Properties/Configuration
Properties/C-C++/Code Generation
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
More information about the mapserver-dev
mailing list