Troubles with regex-0.12
Frank Warmerdam
fwarmerdam at GMAIL.COM
Wed Dec 15 09:04:36 PST 2004
Karel,
I would suggest you review:
http://mapserver.gis.umn.edu/doc44/win32_compile-howto.html
In particular there is a section that reads:
Regex Build Problems.
regex.obj : error LNK2001: unresolved external symbol _printchar
libmap.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
This occurs if you use the stock regex-0.12 we referenced. I work
around this by commenting out the "extern" statement for the
printchar() function, and replacing it with a stub implementation in
regex-0.12\regex.c.
//extern void printchar ();
void printchar( int i ) {}
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