Need help to compile mapserver-4.2.2 under windows
Frank Warmerdam
warmerdam at POBOX.COM
Wed Sep 1 08:45:43 PDT 2004
Jingyu Bai wrote:
> ========= compiler error message ========
> ....
> Creating library mapserver_i.lib and object mapserver_i.exp
> LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other
> libs; use /NODEFAULTLIB:library
> regex.obj : error LNK2001: unresolved external symbol _printchar
> cpl.lib(cpl_odbc.obj) : error LNK2001: unresolved external symbol
> _SQLFreeEnv at 4
> cpl.lib(cpl_odbc.obj) : error LNK2001: unresolved external symbol
> _SQLFreeConnect at 4
> cpl.lib(cpl_odbc.obj) : error LNK2001: unresolved external symbol
> _SQLDisconnect at 4
Hi,
For these SQL (ODBC) functions you will need to add odbc32.lib to your
link line.
For the regfree/regcomp/regexec stuff you need a regex library. If you can't
find it from another source I can send you the one I use for windows builds.
Contact me directly if you need that.
PS. Building MapServer on windows can be quite challenging. Good luck!
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the MapServer-users
mailing list