RE: [gpsim] How to build gpsim for Debian

Chen Xiao Fan <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.gnupic
Message-ID <3B8AEFFADD3DD4118F8100508BACEC2C07F773A9@spex>
I also tried to build gpsim-0.21.4 without the --enable-gtk1 option as well,
it does
not work even though I already built gtk+extra 2. I am not so sure what is
the
problem. Anyway, now I have the 0.21.8 (CVS version) working.

Regards,
Xiaofan


# Error message for building gpsim-0.21.4
# System: Ubuntu 5.04 based on Debian
# already built gtk+extra-2.1.1.tar.gz from latest Sourceforge tar ball
# using ./configure --enable-gtk1 okay
# using ./configure not okay, errror message when "make" followed
# Error when compiling gui_profile.cc
.....
gui_profile.cc: In function `int plot_profile(Profile_Window*, char**,
   guint64*, int)':
gui_profile.cc:806: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_show_labels(GtkPlotAxis*, int)'
gui_profile.cc:807: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_show_labels(GtkPlotAxis*, int)'
gui_profile.cc:808: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_show_labels(GtkPlotAxis*, int)'
gui_profile.cc:809: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_visible(GtkPlotAxis*, int)'
gui_profile.cc:811: error: `gtk_plot_canvas_add_plot' undeclared (first use
   this function)
gui_profile.cc:811: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
gui_profile.cc:812: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:813: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:814: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:815: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:826: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_ticks(GtkPlotAxis*, double, int)'
gui_profile.cc:831: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_labels_style(GtkPlotAxis*,
   GtkPlotLabelStyle, int)'
gui_profile.cc: In function `int plot_routine_histogram(Profile_Window*)':
gui_profile.cc:1099: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_show_labels(GtkPlotAxis*, int)'
gui_profile.cc:1100: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_show_labels(GtkPlotAxis*, int)'
gui_profile.cc:1101: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_visible(GtkPlotAxis*, int)'
gui_profile.cc:1103: error: `gtk_plot_canvas_add_plot' undeclared (first use
   this function)
gui_profile.cc:1104: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:1105: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_hide_title(GtkPlotAxis*)'
gui_profile.cc:1116: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_ticks(GtkPlotAxis*, double, int)'
gui_profile.cc:1117: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_title(GtkPlotAxis*, const
gchar*)'
gui_profile.cc:1121: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_labels_style(GtkPlotAxis*,
   GtkPlotLabelStyle, int)'
gui_profile.cc:1123: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_ticks(GtkPlotAxis*, double, int)'
gui_profile.cc:1124: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_title(GtkPlotAxis*, const
gchar*)'
gui_profile.cc:1128: error: cannot convert `GtkPlot*' to `GtkPlotAxis*' for
   argument `1' to `void gtk_plot_axis_set_labels_style(GtkPlotAxis*,
   GtkPlotLabelStyle, int)'
make[2]: *** [gui_profile.lo] Error 1
make[2]: Leaving directory `/home/mcuee/Desktop/build/gpsim-0.21.4/gui'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mcuee/Desktop/build/gpsim-0.21.4'
make: *** [all] Error 2
mcuee@ubuntu:~/Desktop/build/gpsim-0.21.4$
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.