Can't compile digikamimageplugins 0.9.0 RC1

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

Can't compile digikamimageplugins 0.9.0 RC1

Ari
Hi,

   I have downloaded the sources of both digikam and digikamimageplugins 0.9.0 RC1 from sourceforge. I could build digikam with no problems, with the usual ./configure; make; sudo make install

   Now I'm having a problem trying to build the digikamimageplugins. Can someone shed some light? Thanks! Information on the problem follows.

A



   ./configure output is very clean:

______________________________________________________________-

config.pl: fast created 83 file(s).
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

-- digiKamImagePlugins configure results --------
-- digiKam found.................. YES
-------------------------------------------------

Good - your configure finished. Start make now
______________________________________________________________-



However, make fails, the following appear to be the first errors that show up:


______________________________________________________________-
make[3]: Entering directory `/home/ariel/Desktop/digikamimageplugins-0.9.0-rc1/digikamimageplugins/adjustlevels'
if /bin/bash ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../digikamimageplugins/common/include -I../../digikamimageplugins/common/widgets -I/usr/include/kde -I/usr/share/qt3/include -I.    -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 -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT adjustlevels.lo -MD -MP -MF ".deps/adjustlevels.Tpo" -c -o adjustlevels.lo adjustlevels.cpp; \
        then mv -f ".deps/adjustlevels.Tpo" ".deps/adjustlevels.Plo"; else rm -f ".deps/adjustlevels.Tpo"; exit 1; fi
adjustlevels.cpp: In constructor 'DigikamAdjustLevelsImagesPlugin::AdjustLevelDialog::AdjustLevelDialog(QWidget*, QString, QFrame*)':
adjustlevels.cpp:77: error: 'class Digikam::ImageIface' has no member named 'getOriginalImage'
adjustlevels.cpp:80: error: 'class Digikam::ImageIface' has no member named 'originalSixteenBit'
adjustlevels.cpp:81: error: 'class Digikam::ImageIface' has no member named 'originalHasAlpha'
adjustlevels.cpp:86: error: no matching function for call to 'Digikam::ImageLevels::ImageLevels(bool)'
/usr/include/kde/digikam/imagelevels.h:84: note: candidates are: Digikam::ImageLevels::ImageLevels()
/usr/include/kde/digikam/imagelevels.h:50: note:                 Digikam::ImageLevels::ImageLevels(const Digikam::ImageLevels&)

..................... These are the last lines ...................................

adjustlevels.cpp:598: error: no matching function for call to 'Digikam::ImageLevels::levelsLutProcess(uchar*&, uchar*&, int&, int&)'
/usr/include/kde/digikam/imagelevels.h:99: note: candidates are: void Digikam::ImageLevels::levelsLutProcess(uint*, uint*, int, int)
adjustlevels.cpp:600: error: 'class Digikam::ImageIface' has no member named 'putOriginalImage'
make[3]: *** [adjustlevels.lo] Error 1
make[3]: Leaving directory `/home/ariel/Desktop/digikamimageplugins-0.9.0-rc1/digikamimageplugins/adjustlevels'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ariel/Desktop/digikamimageplugins-0.9.0-rc1/digikamimageplugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ariel/Desktop/digikamimageplugins-0.9.0-rc1'
make: *** [all] Error 2
ariel@polaris:~/Desktop/digikamimageplugins-0.9.0-rc1$






Ari
Reply | Threaded
Open this post in threaded view
|

Re: Can't compile digikamimageplugins 0.9.0 RC1

Ari
Anyone????
Reply | Threaded
Open this post in threaded view
|

Re: Can't compile digikamimageplugins 0.9.0 RC1

Duncan Hill-5
Ari El wrote:
> Anyone????

At a guess, you've got a bad checkout.  Since RC2 is out, I'd suggest
removing the digikam and digikamimageplugins source code totally and
starting from scratch.
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Ari
Reply | Threaded
Open this post in threaded view
|

Re: Can't compile digikamimageplugins 0.9.0 RC1

Ari
Hi Duncan, I have the same problem with RC2.

   I posted it in digikam-devel:

         http://www.nabble.com/Newbie--Problem-compiling-imageplugins-RC2-tf2789808.html

   I am sure the build problem must be very simple to fix. I hope someone with dev knowledge looks at the post and gives me a hint, as I have no clue on what to do, and I need the plugins :(

Thanks
A


Duncan Hill-5 wrote
Ari El wrote:
> Anyone????

At a guess, you've got a bad checkout.  Since RC2 is out, I'd suggest
removing the digikam and digikamimageplugins source code totally and
starting from scratch.
_______________________________________________
Digikam-users mailing list
Digikam-users@kde.org
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Can't compile digikamimageplugins 0.9.0 RC1

Gilles Caulier-2
In reply to this post by Ari
On Tuesday 05 December 2006 07:04, Ari El wrote:

> Hi,
>
>    I have downloaded the sources of both digikam and digikamimageplugins
> 0.9.0 RC1 from sourceforge. I could build digikam with no problems, with
> the usual ./configure; make; sudo make install
>
>    Now I'm having a problem trying to build the digikamimageplugins. Can
> someone shed some light? Thanks! Information on the problem follows.
>
> A
>
>
>
>    ./configure output is very clean:
>
> ______________________________________________________________-
>
> config.pl: fast created 83 file(s).
> config.status: creating config.h
> config.status: config.h is unchanged
> config.status: executing depfiles commands
>
> -- digiKamImagePlugins configure results --------
> -- digiKam found.................. YES
> -------------------------------------------------
>
> Good - your configure finished. Start make now
> ______________________________________________________________-
>
>
>
> However, make fails, the following appear to be the first errors that show
> up:
>
>
> ______________________________________________________________-
> make[3]: Entering directory
> `/home/ariel/Desktop/digikamimageplugins-0.9.0-rc1/digikamimageplugins/adju
>stlevels' if /bin/bash ../../libtool --silent --tag=CXX --mode=compile g++
> -DHAVE_CONFIG_H -I. -I. -I../.. -I../../digikamimageplugins/common/include
> -I../../digikamimageplugins/common/widgets -I/usr/include/kde
> -I/usr/share/qt3/include -I.    -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
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION  -MT adjustlevels.lo -MD -MP -MF
> ".deps/adjustlevels.Tpo" -c -o adjustlevels.lo adjustlevels.cpp; \
>         then mv -f ".deps/adjustlevels.Tpo" ".deps/adjustlevels.Plo"; else
> rm -f ".deps/adjustlevels.Tpo"; exit 1; fi
> adjustlevels.cpp: In constructor
> 'DigikamAdjustLevelsImagesPlugin::AdjustLevelDialog::AdjustLevelDialog(QWid
>get*, QString, QFrame*)':
> adjustlevels.cpp:77: error: 'class Digikam::ImageIface' has no member named
> 'getOriginalImage'
> adjustlevels.cpp:80: error: 'class Digikam::ImageIface' has no member named
> 'originalSixteenBit'
> adjustlevels.cpp:81: error: 'class Digikam::ImageIface' has no member named
> 'originalHasAlpha'
> adjustlevels.cpp:86: error: no matching function for call to
> 'Digikam::ImageLevels::ImageLevels(bool)'
> /usr/include/kde/digikam/imagelevels.h:84: note: candidates are:
> Digikam::ImageLevels::ImageLevels()
> /usr/include/kde/digikam/imagelevels.h:50: note:
> Digikam::ImageLevels::ImageLevels(const Digikam::ImageLevels&)
>
> ..................... These are the last lines
> ...................................
>
> adjustlevels.cpp:598: error: no matching function for call to
> 'Digikam::ImageLevels::levelsLutProcess(uchar*&, uchar*&, int&, int&)'
> /usr/include/kde/digikam/imagelevels.h:99: note: candidates are: void
> Digikam::ImageLevels::levelsLutProcess(uint*, uint*, int, int)
> adjustlevels.cpp:600: error: 'class Digikam::ImageIface' has no member
> named 'putOriginalImage'
> make[3]: *** [adjustlevels.lo] Error 1
> make[3]: Leaving directory
> `/home/ariel/Desktop/digikamimageplugins-0.9.0-rc1/digikamimageplugins/adju
>stlevels' make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/ariel/Desktop/digikamimageplugins-0.9.0-rc1/digikamimageplugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/ariel/Desktop/digikamimageplugins-0.9.0-rc1'
> make: *** [all] Error 2
> ariel@polaris:~/Desktop/digikamimageplugins-0.9.0-rc1$

Sound like a mixed digiKam 0.8.x and 0.9.x version installed at the same time.
uninstall 0.8.x version from your computer, read the README file, and try
again.

Gilles

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Ari
Reply | Threaded
Open this post in threaded view
|

Re: Can't compile digikamimageplugins 0.9.0 RC1

Ari

Thanks Gilles.

I finally got imageplugins to compile and install, in an unorthodox way, this is what I did, in case someone else runs into the same problem:

(This is for Ubuntu 6.10 / Edgy; this assumes you have a working digikam RC2 already built and installed)

   - Completely remove package Digikam using synaptics

     1) export WANT_AUTOCONF_2_5=1
     
     3) make -f Makefile.cvs
     4) ./configure

     4bis) Navigate with Nautilus to your digikam-0.9.0-rc2 sources directory (not imageplugins)
              Click Search and type ".h" (without the "); press enter; press Ctrl-A; press Ctrl-C
              Open a terminal and type sudo nautilus; then navigate to /usr/include/kde/digikam
              Press Ctrl-V  (this copies all headers selected previously)

      5) make

      7) sudo make install


   This did the trick for me.

   This is a totally awesome piece of software, the more I explore it the more I love it.
   Needless to say I have ditched photoshop elements.

   Thank you guys.


Gilles Caulier-2 wrote
On Tuesday 05 December 2006 07:04, Ari El wrote:
> Hi,
>
>    I have downloaded the sources of both digikam and digikamimageplugins
> 0.9.0 RC1 from sourceforge. I could build digikam with no problems, with
> the usual ./configure; make; sudo make install
>
>    Now I'm having a problem trying to build the digikamimageplugins. Can
> someone shed some light? Thanks! Information on the problem follows.
>
> A
>
>
>
>    ./configure output is very clean:
>
> ______________________________________________________________-
>
> config.pl: fast created 83 file(s).
> config.status: creating config.h
> config.status: config.h is unchanged
> config.status: executing depfiles commands
>
> -- digiKamImagePlugins configure results --------
> -- digiKam found.................. YES
> -------------------------------------------------
>
> Good - your configure finished. Start make now
> ______________________________________________________________-
>
>
>
> However, make fails, the following appear to be the first errors that show
> up:
>
>
> ______________________________________________________________-
> make[3]: Entering directory
> `/home/ariel/Desktop/digikamimageplugins-0.9.0-rc1/digikamimageplugins/adju
>stlevels' if /bin/bash ../../libtool --silent --tag=CXX --mode=compile g++
> -DHAVE_CONFIG_H -I. -I. -I../.. -I../../digikamimageplugins/common/include
> -I../../digikamimageplugins/common/widgets -I/usr/include/kde
> -I/usr/share/qt3/include -I.    -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
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION  -MT adjustlevels.lo -MD -MP -MF
> ".deps/adjustlevels.Tpo" -c -o adjustlevels.lo adjustlevels.cpp; \
>         then mv -f ".deps/adjustlevels.Tpo" ".deps/adjustlevels.Plo"; else
> rm -f ".deps/adjustlevels.Tpo"; exit 1; fi
> adjustlevels.cpp: In constructor
> 'DigikamAdjustLevelsImagesPlugin::AdjustLevelDialog::AdjustLevelDialog(QWid
>get*, QString, QFrame*)':
> adjustlevels.cpp:77: error: 'class Digikam::ImageIface' has no member named
> 'getOriginalImage'
> adjustlevels.cpp:80: error: 'class Digikam::ImageIface' has no member named
> 'originalSixteenBit'
> adjustlevels.cpp:81: error: 'class Digikam::ImageIface' has no member named
> 'originalHasAlpha'
> adjustlevels.cpp:86: error: no matching function for call to
> 'Digikam::ImageLevels::ImageLevels(bool)'
> /usr/include/kde/digikam/imagelevels.h:84: note: candidates are:
> Digikam::ImageLevels::ImageLevels()
> /usr/include/kde/digikam/imagelevels.h:50: note:
> Digikam::ImageLevels::ImageLevels(const Digikam::ImageLevels&)
>
> ..................... These are the last lines
> ...................................
>
> adjustlevels.cpp:598: error: no matching function for call to
> 'Digikam::ImageLevels::levelsLutProcess(uchar*&, uchar*&, int&, int&)'
> /usr/include/kde/digikam/imagelevels.h:99: note: candidates are: void
> Digikam::ImageLevels::levelsLutProcess(uint*, uint*, int, int)
> adjustlevels.cpp:600: error: 'class Digikam::ImageIface' has no member
> named 'putOriginalImage'
> make[3]: *** [adjustlevels.lo] Error 1
> make[3]: Leaving directory
> `/home/ariel/Desktop/digikamimageplugins-0.9.0-rc1/digikamimageplugins/adju
>stlevels' make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/ariel/Desktop/digikamimageplugins-0.9.0-rc1/digikamimageplugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/ariel/Desktop/digikamimageplugins-0.9.0-rc1'
> make: *** [all] Error 2
> ariel@polaris:~/Desktop/digikamimageplugins-0.9.0-rc1$

Sound like a mixed digiKam 0.8.x and 0.9.x version installed at the same time.
uninstall 0.8.x version from your computer, read the README file, and try
again.

Gilles

_______________________________________________
Digikam-users mailing list
Digikam-users@kde.org
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: Can't compile digikamimageplugins 0.9.0 RC1

Duncan Hill-5
Ari El wrote:

>
> Thanks Gilles.
>
> I finally got imageplugins to compile and install, in an unorthodox way,
> this is what I did, in case someone else runs into the same problem:
>
> (This is for Ubuntu 6.10 / Edgy; this assumes you have a working digikam RC2
> already built and installed)
>
>    - Completely remove package Digikam using synaptics
>
>      1) export WANT_AUTOCONF_2_5=1
>      
>      3) make -f Makefile.cvs
>      4) ./configure
>
>      4bis) Navigate with Nautilus to your digikam-0.9.0-rc2 sources
> directory (not imageplugins)
>               Click Search and type ".h" (without the "); press enter; press
> Ctrl-A; press Ctrl-C
>               Open a terminal and type sudo nautilus; then navigate to
> /usr/include/kde/digikam
>               Press Ctrl-V  (this copies all headers selected previously)
>
>       5) make
>
>       7) sudo make install

You shouldn't have had to do all of that messing around at all.  Digikam
since 0.7 has compiled cleanly on *Ubuntu without any steps beyond
having the right -dev packages, unpacking the tarball/checking out svn,
running make and make install.  Check the digikam site for the scripts
that build it in your home directory (and install it there too, but that
could be changed).
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users