<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Re: [Gdal-dev] Link errors with Ilwis in MS dotnet SDK</TITLE>
<STYLE type=text/css>BLOCKQUOTE {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
DL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
UL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
OL {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
LI {
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
</STYLE>
<META content="MSHTML 6.00.2800.1491" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=371222403-14042005>Howard,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=371222403-14042005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=371222403-14042005>yeah, that's what I did. But like I said, my DLL is now
misbehaving a bit. I was just wondering whether it had to do with me removing
it, since I am not sure what it is.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=371222403-14042005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=371222403-14042005>thanks,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=371222403-14042005></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=371222403-14042005>Jacob</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Howard Butler [mailto:hobu@iastate.edu]
<BR><B>Sent:</B> 14 April 2005 11:12<BR><B>To:</B> Delfos, Jacob;
'gdal-dev@xserve.flids.com'<BR><B>Subject:</B> Re: [Gdal-dev] Link errors with
Ilwis in MS dotnet SDK<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Jacob,</DIV>
<DIV><BR></DIV>
<DIV>You can disable the ilwis driver by editing the makefile.vc in the frmts
directory and removing the -DFRMT_ilwis variable in the EXTRAFLAGS line.</DIV>
<DIV><BR></DIV>
<DIV>Howard</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV>At 1:04 PM +1000 4/14/05, Delfos, Jacob wrote:</DIV>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial size=-1>Hi
List,</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial size=-1>When trying to
compile using the CVS version of April 13, I get some errors about
"ilwiscoordinatesystem.obj". I have tried to remove it from the makefile.vc,
which results in it compiling at least to the stage of the DLL (which is all I
need).</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial size=-1>Unfortunately, the
DLL doesn't quite seem to work, because php_mapscript_44 won't load. When
using "depends.exe", I get this error:</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial color=#ff0000
size=-1><B>Error: At least one module has an unresolved import due to a
missing export function in an implicitly dependent module.</B></FONT><BR><FONT
face=Arial size=-1>It shows gdal12.dll in red, although running "depends" on
gdal12.dll itself gives no errors.</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial size=-1>Can anyone tell me
whether "Ilwis" is essential, or what else the problem could be? Using the
same platform, I previously compiled a working DLL
(gdal125).</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial size=-1>The link errors I get
if I keep Ilwis included are:</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face="Courier New"
size=-1>msvcprt.lib(msvcp71imp.obj) : error LNK2005: "class
std::basic_istream<char,struct std::char_traits<char> > &
__cdecl st</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face="Courier New"
size=-1>d::operator>><char,struct std::char_traits<char>,class
std::allocator<char> >(class std::basic_istream<char,struct
std::</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face="Courier New"
size=-1>char_traits<char> > &,class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > &)" (??$?5</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face="Courier New"
size=-1>DU?$char_traits@D@std@@V?$allocator@D@1@@std@@YAAAV?$basic_istream@D<SPAN></SPAN>U?$char_traits@D@std@@@0@AAV10@AAV?$basic_string@DU?</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face="Courier New"
size=-1>$char_traits@D@std@@V?$allocator@D@2@@0@@Z) already defined in
ilwiscoordinatesystem.obj</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial
size=-1>[...]</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face="Courier New"
size=-1>msvcprt.lib(msvcp71imp.obj) : warning LNK4006: "class
std::basic_istream<unsigned short,struct
std::char_traits<unsigned</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face="Courier New"
size=-1> short> > & __cdecl std::getline<unsigned
short,struct std::char_traits<unsigned short>,class
std::allocator<unsigned sh</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face="Courier New" size=-1>ort>
>(class std::basic_istream<unsigned short,struct
std::char_traits<unsigned short> > &,class
std::basic_string<unsig</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face="Courier New" size=-1>ned
short,struct std::char_traits<unsigned short>,class
std::allocator<unsigned short> > &,unsigned short)"
(??$getline@</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face="Courier New"
size=-1>GU?$char_traits@G@std@@V?$allocator@G@2@@std@@YAAAV?$basic_istream@G<SPAN></SPAN>U?$char_traits@G@std@@@0@AAV10@AAV?$basic_string@GU?</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face="Courier New"
size=-1>$char_traits@G@std@@V?$allocator@G@2@@0@G@Z) already defined in
ilwiscoordinatesystem.obj; second definition ignored</FONT><BR><FONT
face="Courier New" size=-1> Creating library gdal_i.lib and object
gdal_i.exp</FONT><BR><FONT face="Courier New" size=-1>MSVCRT.lib(cinitexe.obj)
: warning LNK4098: defaultlib 'libc.lib' conflicts with use of other libs; use
/NODEFAULTLIB:li</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face="Courier New"
size=-1>brary</FONT><BR><FONT face="Courier New" size=-1>gdal12.dll : fatal
error LNK1169: one or more multiply defined symbols found</FONT><BR><FONT
face="Courier New" size=-1>NMAKE : fatal error U1077: 'link' : return code
'0x491'</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial
size=-1>Regards,</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial
size=-1>Jacob</FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><BR></BLOCKQUOTE>
<BLOCKQUOTE cite="" type="cite"><FONT face=Arial color=#009500><B>J<FONT
size=-2>ACOB</FONT> D<FONT size=-2>ELFOS<BR></FONT>S<FONT
size=-2>PATIAL</FONT> I<FONT size=-2>NFORMATION</FONT> A<FONT
size=-2>NALYST</FONT></B></FONT><B><BR></B><FONT face=Arial color=#000000
size=-1>Maunsell Australia Pty Ltd<BR>629 Newcastle Street, WA
6007</FONT><BR><FONT face=Arial color=#4e4e4e size=-1>PO Box 81, WA
6902</FONT><BR><FONT face=Arial color=#000000
size=-1>Leederville</FONT><BR><FONT face=Arial color=#000000 size=-1>Western
Australia</FONT><BR><FONT face=Arial color=#000000 size=-1>ABN 20 093 846
925<BR><BR>Tel + 61 8 9281
6185<BR>Fax + 61 8 9281 6297<BR></FONT><FONT face=Arial
color=#009c21 size=-1><U>jacob.delfos@maunsell.com</U></FONT><BR></BLOCKQUOTE>
<BLOCKQUOTE cite=""
type="cite"><BR>_______________________________________________<BR>Gdal-dev
mailing
list<BR>Gdal-dev@xserve.flids.com<BR>http://xserve.flids.com/mailman/listinfo/gdal-dev</BLOCKQUOTE>
<DIV><BR></DIV></BODY></HTML>