compile error on krita in koffice 1.4.2

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

compile error on krita in koffice 1.4.2

Adi Spivak
hello.
i am using slackware 10.2 and kde 3.4.3 with kernel 2.6.14
when i try to compile koffice 1.4.2, it compiles ok until it gets to krita.
i belive this question was asked before, but i could only find the
question on google and no answer.
the error is attached at the end of the lettar.
thank you for any help you can give.
adi spivak


Making all in builder
make[4]: Entering directory `/usr/src/koffice-1.4.2/krita/core/builder'
/usr/lib/qt/bin/moc ./kis_image_magick_converter.h -o
kis_image_magick_converter.moc
source='kis_image_magick_converter.cc'
object='kis_image_magick_converter.lo' libtool=yes \
depfile='.deps/kis_image_magick_converter.Plo'
tmpdepfile='.deps/kis_image_magick_converter.TPlo' \
depmode=gcc3 /bin/sh ../../../admin/depcomp \
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../../.. -I./../ -I./../color_strategy
-I./../compositeop -I./../visitors/ -I./../resources/ -I./../tiles/
-I./../../ui/ -I../../ui/ -I../../../lib/kofficeui
-I../../../lib/kofficeui -I../../../lib/kofficecore
-I../../../lib/kofficecore -I../../../lib/store -I../../../lib/store
-I../../../lib/kwmf -I../../../lib/kwmf -I../../../lib/interfaces
-I../../../lib/kopainter -I../../../lib/kopainter -I/usr/include  
-I/opt/kde/include -I/usr/lib/qt/include -I/usr/X11R6/include  
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF
-fexceptions -c -o kis_image_magick_converter.lo `test -f
'kis_image_magick_converter.cc' || echo './'`kis_image_magick_converter.cc
kis_image_magick_converter.cc: In function `KisProfileSP
   <unnamed>::getProfileForProfileInfo(const Image*,
   KSharedPtr<KisStrategyColorSpace>)':
kis_image_magick_converter.cc:86: error: 'const struct _Image' has no member
   named 'profiles'
kis_image_magick_converter.cc:90: error: ISO C++ forbids declaration of `
   StringInfo' with no type
kis_image_magick_converter.cc:90: error: uninitialized const `StringInfo'
kis_image_magick_converter.cc:90: error: syntax error before `*' token
kis_image_magick_converter.cc:94: error: `ResetImageProfileIterator'
undeclared
   (first use this function)
kis_image_magick_converter.cc:94: error: (Each undeclared identifier is
   reported only once for each function it appears in.)
kis_image_magick_converter.cc:95: error: `GetNextImageProfile' undeclared
   (first use this function)
kis_image_magick_converter.cc:97: error: `profile' undeclared (first use
this
   function)
kis_image_magick_converter.cc:97: error: `GetImageProfile' undeclared (first
   use this function)
kis_image_magick_converter.cc:98: error: syntax error before `)' token
kis_image_magick_converter.cc: In function `void
   <unnamed>::setAnnotationsForImage(const Image*, KSharedPtr<KisImage>)':
kis_image_magick_converter.cc:127: error: 'const struct _Image' has no
member
   named 'profiles'
kis_image_magick_converter.cc:131: error: ISO C++ forbids declaration of `
   StringInfo' with no type
kis_image_magick_converter.cc:131: error: uninitialized const `StringInfo'
kis_image_magick_converter.cc:131: error: syntax error before `*' token
kis_image_magick_converter.cc:134: error: `ResetImageProfileIterator'
   undeclared (first use this function)
kis_image_magick_converter.cc:135: error: `GetNextImageProfile' undeclared
   (first use this function)
kis_image_magick_converter.cc:136: error: `GetImageProfile' undeclared
(first
   use this function)
kis_image_magick_converter.cc:137: error: syntax error before `)' token
kis_image_magick_converter.cc: In function `void
   <unnamed>::exportAnnotationsForImage(Image*, KSharedPtr<KisAnnotation>*&,
   KSharedPtr<KisAnnotation>*&)':
kis_image_magick_converter.cc:173: error: `MagickFalse' undeclared
(first use
   this function)
kis_image_magick_converter.cc: At global scope:
kis_image_magick_converter.cc:205: error: syntax error before `char'
kis_image_magick_converter.cc:209: error: syntax error before `?' token
kis_image_magick_converter.cc:214: error: `text' was not declared in
this scope
kis_image_magick_converter.cc:214: error: ISO C++ forbids declaration of `
   printf' with no type
kis_image_magick_converter.cc:214: error: initializer list being treated as
   compound expression
kis_image_magick_converter.cc:215: error: syntax error before `return'
kis_image_magick_converter.cc: In constructor `
   KisImageMagickConverter::KisImageMagickConverter(KisDoc*,
KisUndoAdapter*)':
kis_image_magick_converter.cc:238: error: `monitor' undeclared (first
use this
   function)
kis_image_magick_converter.cc: In member function `KisImageBuilder_Result
   KisImageMagickConverter::buildFile(const KURL&, KSharedPtr<KisLayer>)':
kis_image_magick_converter.cc:548: error: `MagickTrue' undeclared (first use
   this function)
kis_image_magick_converter.cc: In static member function `static QString
   KisImageMagickConverter::readFilters()':
kis_image_magick_converter.cc:840: error: `GetMagickInfoList' undeclared
(first
   use this function)
kis_image_magick_converter.cc: In static member function `static QString
   KisImageMagickConverter::writeFilters()':
kis_image_magick_converter.cc:914: error: `GetMagickInfoList' undeclared
(first
   use this function)
make[4]: *** [kis_image_magick_converter.lo] Error 1
make[4]: Leaving directory `/usr/src/koffice-1.4.2/krita/core/builder'

____________________________________
koffice mailing list
[hidden email]
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice

smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: compile error on krita in koffice 1.4.2

Adi Spivak
did i miss some info when sending this to you?
why has nobody tried to help me?
please help.
adi spivak


> hello.
> i am using slackware 10.2 and kde 3.4.3 with kernel 2.6.14
> when i try to compile koffice 1.4.2, it compiles ok until it gets to
> krita.
> i belive this question was asked before, but i could only find the
> question on google and no answer.
> the error is attached at the end of the lettar.
> thank you for any help you can give.
> adi spivak
>
>
> Making all in builder
> make[4]: Entering directory `/usr/src/koffice-1.4.2/krita/core/builder'
> /usr/lib/qt/bin/moc ./kis_image_magick_converter.h -o
> kis_image_magick_converter.moc
> source='kis_image_magick_converter.cc'
> object='kis_image_magick_converter.lo' libtool=yes \
> depfile='.deps/kis_image_magick_converter.Plo'
> tmpdepfile='.deps/kis_image_magick_converter.TPlo' \
> depmode=gcc3 /bin/sh ../../../admin/depcomp \
> /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++
> -DHAVE_CONFIG_H -I. -I. -I../../.. -I./../ -I./../color_strategy
> -I./../compositeop -I./../visitors/ -I./../resources/ -I./../tiles/
> -I./../../ui/ -I../../ui/ -I../../../lib/kofficeui
> -I../../../lib/kofficeui -I../../../lib/kofficecore
> -I../../../lib/kofficecore -I../../../lib/store -I../../../lib/store
> -I../../../lib/kwmf -I../../../lib/kwmf -I../../../lib/interfaces
> -I../../../lib/kopainter -I../../../lib/kopainter -I/usr/include  
> -I/opt/kde/include -I/usr/lib/qt/include -I/usr/X11R6/include  
> -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
> -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security
> -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
> -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
> -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF
> -fexceptions -c -o kis_image_magick_converter.lo `test -f
> 'kis_image_magick_converter.cc' || echo
> './'`kis_image_magick_converter.cc
> kis_image_magick_converter.cc: In function `KisProfileSP
>   <unnamed>::getProfileForProfileInfo(const Image*,
>   KSharedPtr<KisStrategyColorSpace>)':
> kis_image_magick_converter.cc:86: error: 'const struct _Image' has no
> member
>   named 'profiles'
> kis_image_magick_converter.cc:90: error: ISO C++ forbids declaration of `
>   StringInfo' with no type
> kis_image_magick_converter.cc:90: error: uninitialized const `StringInfo'
> kis_image_magick_converter.cc:90: error: syntax error before `*' token
> kis_image_magick_converter.cc:94: error: `ResetImageProfileIterator'
> undeclared
>   (first use this function)
> kis_image_magick_converter.cc:94: error: (Each undeclared identifier is
>   reported only once for each function it appears in.)
> kis_image_magick_converter.cc:95: error: `GetNextImageProfile' undeclared
>   (first use this function)
> kis_image_magick_converter.cc:97: error: `profile' undeclared (first
> use this
>   function)
> kis_image_magick_converter.cc:97: error: `GetImageProfile' undeclared
> (first
>   use this function)
> kis_image_magick_converter.cc:98: error: syntax error before `)' token
> kis_image_magick_converter.cc: In function `void
>   <unnamed>::setAnnotationsForImage(const Image*, KSharedPtr<KisImage>)':
> kis_image_magick_converter.cc:127: error: 'const struct _Image' has no
> member
>   named 'profiles'
> kis_image_magick_converter.cc:131: error: ISO C++ forbids declaration
> of `
>   StringInfo' with no type
> kis_image_magick_converter.cc:131: error: uninitialized const
> `StringInfo'
> kis_image_magick_converter.cc:131: error: syntax error before `*' token
> kis_image_magick_converter.cc:134: error: `ResetImageProfileIterator'
>   undeclared (first use this function)
> kis_image_magick_converter.cc:135: error: `GetNextImageProfile'
> undeclared
>   (first use this function)
> kis_image_magick_converter.cc:136: error: `GetImageProfile' undeclared
> (first
>   use this function)
> kis_image_magick_converter.cc:137: error: syntax error before `)' token
> kis_image_magick_converter.cc: In function `void
>   <unnamed>::exportAnnotationsForImage(Image*,
> KSharedPtr<KisAnnotation>*&,
>   KSharedPtr<KisAnnotation>*&)':
> kis_image_magick_converter.cc:173: error: `MagickFalse' undeclared
> (first use
>   this function)
> kis_image_magick_converter.cc: At global scope:
> kis_image_magick_converter.cc:205: error: syntax error before `char'
> kis_image_magick_converter.cc:209: error: syntax error before `?' token
> kis_image_magick_converter.cc:214: error: `text' was not declared in
> this scope
> kis_image_magick_converter.cc:214: error: ISO C++ forbids declaration
> of `
>   printf' with no type
> kis_image_magick_converter.cc:214: error: initializer list being
> treated as
>   compound expression
> kis_image_magick_converter.cc:215: error: syntax error before `return'
> kis_image_magick_converter.cc: In constructor `
>   KisImageMagickConverter::KisImageMagickConverter(KisDoc*,
> KisUndoAdapter*)':
> kis_image_magick_converter.cc:238: error: `monitor' undeclared (first
> use this
>   function)
> kis_image_magick_converter.cc: In member function `KisImageBuilder_Result
>   KisImageMagickConverter::buildFile(const KURL&, KSharedPtr<KisLayer>)':
> kis_image_magick_converter.cc:548: error: `MagickTrue' undeclared
> (first use
>   this function)
> kis_image_magick_converter.cc: In static member function `static QString
>   KisImageMagickConverter::readFilters()':
> kis_image_magick_converter.cc:840: error: `GetMagickInfoList'
> undeclared (first
>   use this function)
> kis_image_magick_converter.cc: In static member function `static QString
>   KisImageMagickConverter::writeFilters()':
> kis_image_magick_converter.cc:914: error: `GetMagickInfoList'
> undeclared (first
>   use this function)
> make[4]: *** [kis_image_magick_converter.lo] Error 1
> make[4]: Leaving directory `/usr/src/koffice-1.4.2/krita/core/builder'
>
>------------------------------------------------------------------------
>
>____________________________________
>koffice mailing list
>[hidden email]
>To unsubscribe please visit:
>https://mail.kde.org/mailman/listinfo/koffice
>  
>

____________________________________
koffice mailing list
[hidden email]
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice

smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: compile error on krita in koffice 1.4.2

Joao S. O. Bueno Calligaris
On Thursday 17 November 2005 03:19 pm, Adi Spivak wrote:
> did i miss some info when sending this to you?
> why has nobody tried to help me?
> please help.
> adi spivak
>

Hi.

I ad never  compiled koffice myself (I just watch the news here).

But this stream of errors is tipical of a missing header file -
I'd guess, given the file name where the errors occur, that you are
missing image magick headers.

Try installing "imagemagick-devel" or "iamgemagick-dev" on your system
(I do not know slackware convention for naming development packages).



> > hello.
> > i am using slackware 10.2 and kde 3.4.3 with kernel 2.6.14
> > when i try to compile koffice 1.4.2, it compiles ok until it gets
> > to krita.
> > i belive this question was asked before, but i could only find
> > the question on google and no answer.
> > the error is attached at the end of the lettar.
> > thank you for any help you can give.
> > adi spivak
> >
> >
> > Making all in builder
> > make[4]: Entering directory
> > `/usr/src/koffice-1.4.2/krita/core/builder' /usr/lib/qt/bin/moc
> > ./kis_image_magick_converter.h -o
> > kis_image_magick_converter.moc
> > source='kis_image_magick_converter.cc'
> > object='kis_image_magick_converter.lo' libtool=yes \
> > depfile='.deps/kis_image_magick_converter.Plo'
> > tmpdepfile='.deps/kis_image_magick_converter.TPlo' \
> > depmode=gcc3 /bin/sh ../../../admin/depcomp \
> > /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++
> > -DHAVE_CONFIG_H -I. -I. -I../../.. -I./../ -I./../color_strategy
> > -I./../compositeop -I./../visitors/ -I./../resources/
> > -I./../tiles/ -I./../../ui/ -I../../ui/ -I../../../lib/kofficeui
> > -I../../../lib/kofficeui -I../../../lib/kofficecore
> > -I../../../lib/kofficecore -I../../../lib/store
> > -I../../../lib/store -I../../../lib/kwmf -I../../../lib/kwmf
> > -I../../../lib/interfaces -I../../../lib/kopainter
> > -I../../../lib/kopainter -I/usr/include -I/opt/kde/include
> > -I/usr/lib/qt/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT
> > -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
> > -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall
> > -W -Wpointer-arith -O2 -Wformat-security
> > -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
> > -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE
> > -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
> > -DHAVE_KNEWSTUFF -fexceptions -c -o kis_image_magick_converter.lo
> > `test -f 'kis_image_magick_converter.cc' || echo
> > './'`kis_image_magick_converter.cc
> > kis_image_magick_converter.cc: In function `KisProfileSP
> >   <unnamed>::getProfileForProfileInfo(const Image*,
> >   KSharedPtr<KisStrategyColorSpace>)':
> > kis_image_magick_converter.cc:86: error: 'const struct _Image'
> > has no member
> >   named 'profiles'
> > kis_image_magick_converter.cc:90: error: ISO C++ forbids
> > declaration of ` StringInfo' with no type
> > kis_image_magick_converter.cc:90: error: uninitialized const
> > `StringInfo' kis_image_magick_converter.cc:90: error: syntax
> > error before `*' token kis_image_magick_converter.cc:94: error:
> > `ResetImageProfileIterator' undeclared
> >   (first use this function)
> > kis_image_magick_converter.cc:94: error: (Each undeclared
> > identifier is reported only once for each function it appears
> > in.)
> > kis_image_magick_converter.cc:95: error: `GetNextImageProfile'
> > undeclared (first use this function)
> > kis_image_magick_converter.cc:97: error: `profile' undeclared
> > (first use this
> >   function)
> > kis_image_magick_converter.cc:97: error: `GetImageProfile'
> > undeclared (first
> >   use this function)
> > kis_image_magick_converter.cc:98: error: syntax error before `)'
> > token kis_image_magick_converter.cc: In function `void
> >   <unnamed>::setAnnotationsForImage(const Image*,
> > KSharedPtr<KisImage>)': kis_image_magick_converter.cc:127: error:
> > 'const struct _Image' has no member
> >   named 'profiles'
> > kis_image_magick_converter.cc:131: error: ISO C++ forbids
> > declaration of `
> >   StringInfo' with no type
> > kis_image_magick_converter.cc:131: error: uninitialized const
> > `StringInfo'
> > kis_image_magick_converter.cc:131: error: syntax error before `*'
> > token kis_image_magick_converter.cc:134: error:
> > `ResetImageProfileIterator' undeclared (first use this function)
> > kis_image_magick_converter.cc:135: error: `GetNextImageProfile'
> > undeclared
> >   (first use this function)
> > kis_image_magick_converter.cc:136: error: `GetImageProfile'
> > undeclared (first
> >   use this function)
> > kis_image_magick_converter.cc:137: error: syntax error before `)'
> > token kis_image_magick_converter.cc: In function `void
> >   <unnamed>::exportAnnotationsForImage(Image*,
> > KSharedPtr<KisAnnotation>*&,
> >   KSharedPtr<KisAnnotation>*&)':
> > kis_image_magick_converter.cc:173: error: `MagickFalse'
> > undeclared (first use
> >   this function)
> > kis_image_magick_converter.cc: At global scope:
> > kis_image_magick_converter.cc:205: error: syntax error before
> > `char' kis_image_magick_converter.cc:209: error: syntax error
> > before `?' token kis_image_magick_converter.cc:214: error: `text'
> > was not declared in this scope
> > kis_image_magick_converter.cc:214: error: ISO C++ forbids
> > declaration of `
> >   printf' with no type
> > kis_image_magick_converter.cc:214: error: initializer list being
> > treated as
> >   compound expression
> > kis_image_magick_converter.cc:215: error: syntax error before
> > `return' kis_image_magick_converter.cc: In constructor `
> >   KisImageMagickConverter::KisImageMagickConverter(KisDoc*,
> > KisUndoAdapter*)':
> > kis_image_magick_converter.cc:238: error: `monitor' undeclared
> > (first use this
> >   function)
> > kis_image_magick_converter.cc: In member function
> > `KisImageBuilder_Result KisImageMagickConverter::buildFile(const
> > KURL&, KSharedPtr<KisLayer>)': kis_image_magick_converter.cc:548:
> > error: `MagickTrue' undeclared (first use
> >   this function)
> > kis_image_magick_converter.cc: In static member function `static
> > QString KisImageMagickConverter::readFilters()':
> > kis_image_magick_converter.cc:840: error: `GetMagickInfoList'
> > undeclared (first
> >   use this function)
> > kis_image_magick_converter.cc: In static member function `static
> > QString KisImageMagickConverter::writeFilters()':
> > kis_image_magick_converter.cc:914: error: `GetMagickInfoList'
> > undeclared (first
> >   use this function)
> > make[4]: *** [kis_image_magick_converter.lo] Error 1
> > make[4]: Leaving directory
> > `/usr/src/koffice-1.4.2/krita/core/builder'
> >
> >------------------------------------------------------------------
> >------
> >
> >____________________________________
> >koffice mailing list
> >[hidden email]
> >To unsubscribe please visit:
> >https://mail.kde.org/mailman/listinfo/koffice
____________________________________
koffice mailing list
[hidden email]
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice
Reply | Threaded
Open this post in threaded view
|

Re: compile error on krita in koffice 1.4.2

Boudewijn Rempt-2
In reply to this post by Adi Spivak
On Thu, 17 Nov 2005, Adi Spivak wrote:

> did i miss some info when sending this to you?
> why has nobody tried to help me?

My computer broke down this weekend, taking all my mail with it, so I
couldn't answer you. You simply need to install ImageMagick -- I'm not
sure why configure didn't complain about it, but the bits make fails on
are ImageMagick constructs.

Boudewijn
____________________________________
koffice mailing list
[hidden email]
To unsubscribe please visit:
https://mail.kde.org/mailman/listinfo/koffice