<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>This question is most likely a problem with libkml. I
did post a message on the libkml forum as well. My apologies if you are
subscribed to both asnd getting this message twice.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I am working on an application that uses GDAL and
libKml. Everything was going fine until I added </span></font><font
size=2 face="Courier New"><span style='font-size:10.0pt;font-family:"Courier New"'>KmzFile::</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>CreateFromKmlFilepath
to create a kmz file. The application crashes in GDAL space during start
up while registering the plugins. The only common link I can find is both
applications are using zlib and minizip. I downloaded the latest version
of zlib which appears to be the same one currently used by libkml as well as
GDAL. Even though I use zlibstat.lib in my application I still get 15
unresolved externals. In the original setup I linked in minizip.lib but
minizip is only created as an executable in the current version. Some of
the unresolved externals are shohw at the end of this message.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Is there a known work around to this problem?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Error
19 error LNK2019: unresolved
external symbol _zipClose referenced in function "public: __thiscall
kmlengine::ZlibImpl::~ZlibImpl(void)"
(??1ZlibImpl@kmlengine@@QAE@XZ)
libkmlengine.lib <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Error
20 error LNK2019: unresolved
external symbol _unzClose referenced in function "public: __thiscall
kmlengine::ZlibImpl::~ZlibImpl(void)"
(??1ZlibImpl@kmlengine@@QAE@XZ)
libkmlengine.lib <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Error
21 error LNK2019: unresolved
external symbol _unzGoToFirstFile referenced in function "public: static
class kmlengine::KmzFile * __cdecl kmlengine::KmzFile::OpenFromString(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)"
(?OpenFromString@KmzFile@kmlengine@@SAPAV12@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
libkmlengine.lib <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Bruce<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
</div>
</body>
</html>
<pre>
This message and any enclosures are intended only for the addressee. Please
notify the sender by email if you are not the intended recipient. If you are
not the intended recipient, you may not use, copy, disclose, or distribute this
message or its contents or enclosures to any other person and any such actions
may be unlawful. Ball reserves the right to monitor and review all messages
and enclosures sent to or from this email address.</pre>