Re: abiword-2.1.6: AbiGimp.cpp:410: error: no matching function for call to `FV_View::

From: J.M. Maurer <j.m.maurer_at_student.utwente.nl>
Date: Tue Aug 24 2004 - 14:05:54 CEST

Please change line 410 of the file abiword-
plugins/tools/abigimp/xpAbiGimp.cpp

from

  errorCode = pView->cmdInsertGraphic(pFG,szTmp.c_str());

into

  errorCode = pView->cmdInsertGraphic(pFG);

That should work

  Marc

On di, 2004-08-24 at 11:15 +0200, Martin Gansser wrote:
> hi,
>
> i tried to compile abiword-2.1.6 on fedora core2, but the compilation
> abort's with the following error message:
>
>
> g++ -DPACKAGE_NAME=\"abiword-plugins\"
> -DPACKAGE_TARNAME=\"abiword-plugins\" -DPACKAGE_VERSION=\"2.1.6\"
> "-DPACKAGE_STRING=\"abiword-plugins 2.1.6\""
> -DPACKAGE_BUGREPORT=\"http://bugzilla.abisource.com/\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_STRINGS_H=1 -DPACKAGE=\"abiword\" -DVERSION=\"2.1.6\"
> -DHAVE_DLFCN_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBBZ2=1
> -DTIME_WITH_SYS_TIME=1 -I. -I. -DNDEBUG -I../../../../abi/src/af/util/xp
> -I../../../../abi/src/af/util/unix -I../../../../abi/src/af/xap/xp
> -I../../../../abi/src/af/ev/xp -I../../../../abi/src/af/gr/xp
> -I../../../../abi/src/text/fmt/xp -I../../../../abi/src/text/ptbl/xp
> -I../../../../abi/src/wp/impexp/xp -I../../../../abi/src/wp/ap/xp
> -I../../../../abi/src/other/spell/xp
> -I../../../../abi/src/other/fribidi/xp
> -I../../../../abi/src/other/ttftool/unix
> -I../../../../abi/src/af/xap/unix -I../../../../abi/src/af/ev/unix
> -I../../../../abi/src/af/gr/unix -I../../../../abi/src/wp/ap/unix
> -DABI_PLUGIN_VERSION=\"2.1.6\" -DABI_PLUGIN_MAJOR=2 -DABI_PLUGIN_MINOR=1
> -DABI_PLUGIN_MICRO=6 -DABI_PLUGIN_SOURCE=1 -I/usr/X11R6/include
> -I/usr/include/freetype2 -I/usr/include/freetype2/config
> -I/usr/include/fribidi -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/pango-1.0 -I/usr/include/libglade-2.0
> -I/usr/include/libxml2 -O2 -g -pipe -march=i386 -mcpu=i686 -MT
> AbiGimp.lo -MD -MP -MF .deps/AbiGimp.Tpo -c AbiGimp.cpp -fPIC -DPIC -o
> .libs/AbiGimp.o
> AbiGimp.cpp: In function `bool AbiGimp_invoke(AV_View*,
> EV_EditMethodCallData*)
> ':
> AbiGimp.cpp:410: error: no matching function for call to `FV_View::
> cmdInsertGraphic(FG_Graphic*&, const char*)'
> ../../../../abi/src/text/fmt/xp/fv_View.h:189: error: candidates are:
> UT_Error
> FV_View::cmdInsertGraphic(FG_Graphic*)
> make[3]: *** [AbiGimp.lo] Error 1
>
> any hints ?
>
Received on Tue Aug 24 13:48:23 2004

This archive was generated by hypermail 2.1.8 : Tue Aug 24 2004 - 13:48:23 CEST