[Mapserver-users] java mapscript getPoints is already defined error
gabriel hunter
gabrielhunterd at yahoo.com
Wed Jun 9 09:27:09 PDT 2004
--0-324196658-1086798429=:14229
Content-Type: text/plain; charset=us-ascii
Hi all,
I'm new to mapserver, I tried to compile java mapscript but I can't go any further without some help.
I followed the JavaMapScriptHowTo, but executing
javac edu/umn/gis/mapscript/*.java
without patching, gives an error about functions already defined:
setExtension and setMimetype in file outputFormatObj.java
getPoints in file symbolObj.java
and an "attempting to use incompatible return type" on function clone in file mapObj.java.
when I apply the patch I can see that change are made to files outpuFormatObj.java and mapObj.java, but no changes are made to symbolObj.java
so I compiled again and get:
symbolObj.java:207: getPoints() is already defined
I'm using mapserver 4.2, gdal 1.2.0b, gd 2.0.20, swig 1.3.21 on slackware 9.1
What can I do?
Thanks in advance.
Gabriel Hunter
---------------------------------
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger
--0-324196658-1086798429=:14229
Content-Type: text/html; charset=us-ascii
<DIV>Hi all,</DIV>
<DIV> </DIV>
<DIV>I'm new to mapserver, I tried to compile java mapscript but I can't go any further without some help.</DIV>
<DIV> </DIV>
<DIV>I followed the <A href="http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?JavaMapScriptHowTo">JavaMapScriptHowTo</A>, but executing</DIV>
<DIV> </DIV>
<DIV>javac edu/umn/gis/mapscript/*.java<BR></DIV>
<DIV>without patching, gives an error about functions already defined:</DIV>
<DIV> </DIV>
<DIV>setExtension and setMimetype in file outputFormatObj.java</DIV>
<DIV>getPoints in file symbolObj.java</DIV>
<DIV> </DIV>
<DIV>and an "attempting to use incompatible return type" on function clone in file mapObj.java.</DIV>
<DIV> </DIV>
<DIV>when I apply the patch I can see that change are made to files outpuFormatObj.java and mapObj.java, but no changes are made to symbolObj.java</DIV>
<DIV> </DIV>
<DIV>so I compiled again and get:</DIV>
<DIV> </DIV>
<DIV>symbolObj.java:207: getPoints() is already defined</DIV>
<DIV> </DIV>
<DIV>I'm using mapserver 4.2, gdal 1.2.0b, gd 2.0.20, swig 1.3.21 on slackware 9.1</DIV>
<DIV> </DIV>
<DIV>What can I do?</DIV>
<DIV> </DIV>
<DIV>Thanks in advance.</DIV>
<DIV> </DIV>
<DIV>Gabriel Hunter</DIV><p>
<hr size=1><font face=arial size=-1>Do you Yahoo!?<br>Friends. Fun. <a href="http://messenger.yahoo.com/">Try the all-new Yahoo! Messenger</a>
--0-324196658-1086798429=:14229--
More information about the MapServer-users
mailing list