Menu

Error building nice

Help
Luc Perrin
2004-11-01
2013-05-02
  • Luc Perrin

    Luc Perrin - 2004-11-01

    i'm having trouble building Nice.  i'm getting the following error:

    D:\Nice\stdlib\nice\doc\man.nice: line 33, column 40:
    Ambiguity for symbol append. Possibilities are :
    java.lang.AbstractStringBuilder append(java.lang.AbstractStringBuilder, ?Object)
    java.lang.Appendable append(java.lang.Appendable, nice.lang.char)

    Using win98, cygwin, and java 1.5.

    i also had to make a few changes to the makefile to make it work in the cygwin environment.  Most specifically, when the nicec or makefile script sets CLASSPATH, java doesn't receive it, since it is running as a windows app i guess.  i had to make a few other cosmetic changes to the makefile, let me know if you need to see it.  i will share it once i can get it to build successfully.

    Thanks.

     
    • Daniel Bonniot

      Daniel Bonniot - 2004-11-01

      We'll look into it. For now I'd advise to use Java 1.4 instead of 1.5.

       
    • Imam Tashdid ul Alam

      I think I know how to bypass it.

      the line is like res.append(parent).append(' ').append(tc);
      write it as:
      res.append(parent);
      res.append(' ');
      res.append(tc);

      cheers! I have no idea why it works!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.