Tim,<div><br></div><div>What is the version of SWIG you use. I'm using SWIG 1.3.39 which appears to generate compilable code.</div><div><br></div><div>Best regards,</div><div><br></div><div>Tamas</div><div><br></div><div>
<br><br><div class="gmail_quote">2012/10/15 Tim Banchi <span dir="ltr"><<a href="mailto:tim.banchi@gmail.com" target="_blank">tim.banchi@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Hello,<br></div><div><br></div><div>when I try to compile the csharp mapscript module of mapserver 6.2.0.rc1 I get the following error:</div><div><br></div><div>mapscriptPINVOKE.cs(192,10): error CS0111: A member `OSGeo.MapServer.mapscriptPINVOKE.mapscriptPINVOKE()' is already defined. Rename this member or use different parameter types.</div>

<div><br></div><div>I tried to delete the dubble entry of the member mapscriptPINVOKE() in the mapscriptPINVOKE.cs file but this file seems to be autogenerated by the compilation process. I do understand too little of the make process to adapt the compile script (probably somebody can help me with that?).</div>

<div><br></div><div>I configured, compiled and installed the mapserver with the following options:</div><div>./configure --with-wfs --with-wcs --with-sos --with-wmsclient --with-wfsclient --with-proj --with-gdal --with-ogr --with-geos --with-gd --with-tiff --with-jpeg --with-agg --with-eppl --with-postgis --with-sde --with-freetype --with-threads --with-experimental-png</div>

<div><br></div><div>but also other configurations (without any parameters or disabling fastcgi because there is a post of 2006 with problems with the csharp module if fastcgi enabled) doesn't make any difference. also with older versions of mapserver (eg stable the latest stable version 6.0.3. or the latest stable version of 5.8.x) I get exactly the same error message.</div>

<div><br></div><div>I run ubuntu 12.04 x86 and have mapserver installed via the packaging system (I could not not find any csharp-mapscript package),<br></div><div><br></div><div>can anybody help me with</div><div>- find a precompiled csharp_mapscript package for ubuntu 12.04 x86</div>

<div>- adapt the compile script so the member mapscriptPINVOKE is not written twice</div><div>- help me with the configuration of the mapserver to solve the compile problem</div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>Tim</div><div><br></div>
<div><br></div><div><br></div>
</font></span><br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
<br></blockquote></div><br></div>