Sender: |
|
Date: |
Wed, 21 Mar 2007 16:26:00 +0100 |
Reply-To: |
|
Subject: |
|
MIME-Version: |
1.0 |
Content-Transfer-Encoding: |
8bit |
Content-Type: |
text/plain; charset="ISO-8859-1" |
From: |
|
Comments: |
|
Parts/Attachments: |
|
|
Hi, all. I am trying to install ECJ on Linux using the
provided Makefile, but I am getting some errors from the
use of JFreeChart, it looks like. Here are the 9 errors
(there are a lot of warnings as well, but they don't look
too important for the matter at hand) when I just do a
plain ol' make:
298. ERROR in ec/display/StatisticsChartPane.java (at line
20)
import org.jfree.chart.ChartPanel;
^^^^^^^^^
The import org.jfree cannot be resolved
----------
299. ERROR in ec/display/StatisticsChartPane.java (at line
21)
import org.jfree.chart.JFreeChart;
^^^^^^^^^
The import org.jfree cannot be resolved
----------
300. WARNING in ec/display/StatisticsChartPane.java (at
line 33)
public class StatisticsChartPane
^^^^^^^^^^^^^^^^^^^
The serializable class StatisticsChartPane does not declare
a static final serialVersionUID field of type long
----------
301. ERROR in ec/display/StatisticsChartPane.java (at line
73)
JFreeChart chart = chartStats.makeChart();
^^^^^^^^^^
JFreeChart cannot be resolved to a type
----------
302. ERROR in ec/display/StatisticsChartPane.java (at line
73)
JFreeChart chart = chartStats.makeChart();
^^^^^^^^^
The method makeChart() is undefined for the type
ChartableStatistics
----------
303. ERROR in ec/display/StatisticsChartPane.java (at line
76)
ChartPanel chartPanel = new ChartPanel(chart);
^^^^^^^^^^
ChartPanel cannot be resolved to a type
----------
304. ERROR in ec/display/StatisticsChartPane.java (at line
76)
ChartPanel chartPanel = new ChartPanel(chart);
^^^^^^^^^^
ChartPanel cannot be resolved to a type
----------
----------
305. ERROR in
/home/feaselkl/Desktop/ecj/ec/display/chart/ChartableStatistics.java
(at line 45)
public abstract JFreeChart makeChart();
^^^^^^^^^^
JFreeChart cannot be resolved to a type
----------
----------
306. ERROR in
/home/feaselkl/Desktop/ecj/ec/display/chart/StatisticsChartPaneTab.java
(at line 53)
public StatisticsChartPaneTab(ChartPanel chartPane)
^^^^^^^^^^
ChartPanel cannot be resolved to a type
----------
307. ERROR in
/home/feaselkl/Desktop/ecj/ec/display/chart/StatisticsChartPaneTab.java
(at line 64)
public StatisticsChartPaneTab(ChartPanel chartPane,
boolean isDoubleBuffered)
^^^^^^^^^^
ChartPanel cannot be resolved to a type
----------
307 problems (9 errors, 298 warnings)make: *** [base] Error
255
The weird thing is that I have downloaded the
jfreechart-1.0.4 JAR file and have it as well as
jcommon-1.0.8, gnujaxp, and itext-2.0.1 JAR files in my ECJ
directory. I have added the ECJ directory to my classpath
by invoking export -p
CLASSPATH=:/home/feaselkl/Desktop/ecj/ so I wouldn't think
that it's a classpath issue. It's been a while since I've
done any Java work on Linux, so I've been racking my brain
trying to figure out what's going on. I searched in the
archives but was unable to find anything which I could see
solving the problem, and I really would like to keep the
charting features, so I wouldn't want to just compile it
without this portion. If anybody here could give me a
hand, I would appreciate it a lot.
Thanks,
Kevin Feasel
|
|
|