OpenCCG / openccg

OpenCCG library for parsing and realization with CCG
http://openccg.sourceforge.net/
Other
205 stars 45 forks source link

Building openccg on Mac: "SimpleNode is not abstract..." #2

Closed colinbatchelor closed 10 years ago

colinbatchelor commented 10 years ago

Hello,

I'm having trouble building the latest openccg from github on Mac OS 10.6.8. If I install javacc.jar in the lib directory it works up to the stage where it complains that:

compile:
[javac] Compiling 19 source files to /Users/colinbatchelor/openccg/output/classes
[javac] /Users/colinbatchelor/openccg/output/gen/opennlp/ccgbank/parse/SimpleNode.java:10: opennlp.ccgbank.parse.SimpleNode is not abstract and does not override abstract method getId() in opennlp.ccgbank.parse.Node
[javac] public class SimpleNode implements Node {
[javac]        ^
[javac] 1 error

BUILD FAILED
/Users/colinbatchelor/openccg/build.xml:130: Compile failed; see the compiler error output for details.

I'm running Java version 1.6.0_65 on a 64-bit Mac, if that helps.

Any idea what might be amiss? Is the code using a feature of Java 1.7 that I'd need to update for?

Best wishes, Colin.

colinbatchelor commented 10 years ago

Oops. Failing to read instructions properly. Apologies!