[Digikam-users] Can't compile digikamimageplugins 0.9.0 RC1

Ari El ari.reads at gmail.com
Tue Dec 12 01:38:36 GMT 2006



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 at 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 at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-users
> 
> 

-- 
View this message in context: http://www.nabble.com/Can%27t-compile-digikamimageplugins-0.9.0-RC1-tf2759506.html#a7825771
Sent from the digikam-users mailing list archive at Nabble.com.




More information about the Digikam-users mailing list