<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hi Jürgen:<BR>
&nbsp;<BR>
I tried to link mingw grass libraries with visual studio&nbsp;creating<BR>
import libraries with no success<BR>
cmake recognizes the libraries but in linking time I get errors like <BR>
&nbsp;<BR>
_Vect_get_num_areas&nbsp;undefined symbol&nbsp;<BR><BR>
The def file exports that function as Vect_get_num_areas without underscore<BR>
analizing the dll with dependency walker&nbsp;I have found that the function name<BR>
is Vect_get_num_areas&nbsp; also without underscore.<BR>
&nbsp;<BR>
Using: &nbsp;dumpbin /EXPORTS grass_vect.lib&nbsp;<BR>
&nbsp;<BR>
I found that the internal name is _Vect_get_num_areas<BR>
&nbsp;<BR>
I don't know why lib tool is adding the underscore to import library<BR>
&nbsp;<BR>
Any ideas on how to solve this problem?<BR>
&nbsp;<BR>
Regards<BR>
Godofredo Contreras<BR>
&nbsp;<BR>
<BR>&gt; Date: Tue, 9 Dec 2008 17:42:35 +0100<BR>&gt; From: jef@norbit.de<BR>&gt; To: qgis-developer@lists.osgeo.org<BR>&gt; Subject: Re: [Qgis-developer] question about current state of visual studio build system<BR>&gt; <BR>&gt; Hi Godofredo,<BR>&gt; <BR>&gt; On Tue, 09. Dec 2008 at 16:00:42 +0000, godofredo contreras wrote:<BR>&gt; &gt; I have compiled qgis with visual studio and qt 4.4 and<BR>&gt; &gt; it works nice. The install document says that grass and<BR>&gt; &gt; python are not supported. Do you know what are the<BR>&gt; &gt; problems to compile grass and python support?<BR>&gt; <BR>&gt; No, works here. Python shouldn't be a problem, but for GRASS you need<BR>&gt; to link with the mingw built libraries/dlls.<BR>&gt; <BR>&gt; <BR>&gt; Jürgen<BR>&gt; <BR>&gt; -- <BR>&gt; Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-20<BR>&gt; Dipl.-Inf. (FH) Rheinstraße 13 Fax. +49-4931-918175-50<BR>&gt; Software Engineer D-26506 Norden http://www.norbit.de<BR>&gt; <BR>&gt; -- <BR>&gt; norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH<BR>&gt; Rheinstrasse 13, 26506 Norden<BR>&gt; GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502<BR>&gt; <BR>&gt; _______________________________________________<BR>&gt; Qgis-developer mailing list<BR>&gt; Qgis-developer@lists.osgeo.org<BR>&gt; http://lists.osgeo.org/mailman/listinfo/qgis-developer<BR><BR><br /><hr />Suspicious message? There’s an alert for that.  <a href='http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_broad2_122008' target='_new'>Get your Hotmail® account now.</a></body>
</html>