Bug 94381 - adjustlevels, adjustcurves and freerotation tools don't compile
Summary: adjustlevels, adjustcurves and freerotation tools don't compile
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Compilation (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-04 11:22 UTC by lorenzo
Modified: 2018-02-05 11:28 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lorenzo 2004-12-04 11:22:26 UTC
Version:           latest cvs (using KDE KDE 3.2.3)
Installed from:    Debian testing/unstable Packages
Compiler:          g++ (GCC) 3.3.4 (Debian 1:3.3.4-13) 
OS:                Linux

Since a week, I'm unable to compile cvs digikamimageplugins; I removed in turn the failing directories from the Makefile, and I'm pasting the errors. Thank you very much for the hard work, digikam is very useful (and polished!). Hope the report is of some use too!

1. freerotation:
imageeffect_freerotation.cpp: In member function `virtual void
   DigikamFreeRotationImagesPlugin::ImageEffect_FreeRotation::slotOk()':
imageeffect_freerotation.cpp:318: error: no matching function for call to `
   Digikam::ImageIface::putOriginalData(uint*&, int&, int&)'
/usr/local/include/digikam/imageiface.h:53: error: candidates are: void
   Digikam::ImageIface::putOriginalData(uint*)
make[1]: *** [imageeffect_freerotation.lo] Error 1

2. adjustlevels:
adjustlevels.cpp: In member function `void
   DigikamAdjustLevelsImagesPlugin::AdjustLevelDialog::slotEffect()':
adjustlevels.cpp:505: error: `levelsLutProcess' undeclared (first use this
   function)
adjustlevels.cpp:505: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
adjustlevels.cpp: In member function `virtual void
   DigikamAdjustLevelsImagesPlugin::AdjustLevelDialog::slotOk()':
adjustlevels.cpp:533: error: `levelsLutProcess' undeclared (first use this
   function)
make[1]: *** [adjustlevels.lo] Error 1

3. adjustcurves:
adjustcurves.cpp:65:33: digikam/imagecurves.h: No such file or directory
adjustcurves.cpp: In constructor `
   DigikamAdjustCurvesImagesPlugin::AdjustCurveDialog::AdjustCurveDialog(QWidget*,
   uint*, unsigned int, unsigned int)':
adjustcurves.cpp:86: error: invalid use of undefined type `struct
   Digikam::ImageCurves'
curveswidget.h:34: error: forward declaration of `struct Digikam::ImageCurves'
adjustcurves.cpp: In member function `virtual void
   DigikamAdjustCurvesImagesPlugin::AdjustCurveDialog::closeEvent(QCloseEvent*)
   ':
adjustcurves.cpp:302: warning: possible problem detected in invocation of
   delete operator:
adjustcurves.cpp:302: warning: invalid use of undefined type `struct
   Digikam::ImageCurves'
curveswidget.h:34: warning: forward declaration of `struct Digikam::ImageCurves
   '
adjustcurves.cpp:302: note: neither the destructor nor the class-specific
   operator delete will be called, even if they are declared when the class is
   defined.
adjustcurves.cpp: In member function `void
   DigikamAdjustCurvesImagesPlugin::AdjustCurveDialog::slotResetAllChannels()':
adjustcurves.cpp:309: error: `curvesChannelReset' undeclared (first use this
   function)
adjustcurves.cpp:309: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
adjustcurves.cpp: In member function `virtual void
   DigikamAdjustCurvesImagesPlugin::AdjustCurveDialog::slotUser1()':
adjustcurves.cpp:317: error: `curvesChannelReset' undeclared (first use this
   function)
adjustcurves.cpp: In member function `void
   DigikamAdjustCurvesImagesPlugin::AdjustCurveDialog::slotEffect()':
adjustcurves.cpp:347: error: `curvesLutSetup' undeclared (first use this
   function)
adjustcurves.cpp:350: error: `curvesLutProcess' undeclared (first use this
   function)
adjustcurves.cpp: In member function `virtual void
   DigikamAdjustCurvesImagesPlugin::AdjustCurveDialog::slotOk()':
adjustcurves.cpp:375: error: `curvesLutSetup' undeclared (first use this
   function)
adjustcurves.cpp:378: error: `curvesLutProcess' undeclared (first use this
   function)
adjustcurves.cpp: In member function `void
   DigikamAdjustCurvesImagesPlugin::AdjustCurveDialog::slotCurveTypeChanged(int)
   ':
adjustcurves.cpp:441: error: incomplete type `Digikam::ImageCurves' does not
   have member `CURVE_FREE'
adjustcurves.cpp:441: error: `setCurveType' undeclared (first use this
   function)
adjustcurves.cpp:445: error: incomplete type `Digikam::ImageCurves' does not
   have member `CURVE_SMOOTH'
adjustcurves.cpp: In member function `void
   DigikamAdjustCurvesImagesPlugin::AdjustCurveDialog::slotLoadCurves()':
adjustcurves.cpp:462: error: `loadCurvesFromGimpCurvesFile' undeclared (first
   use this function)
adjustcurves.cpp: In member function `void
   DigikamAdjustCurvesImagesPlugin::AdjustCurveDialog::slotSaveCurves()':
adjustcurves.cpp:482: error: `saveCurvesToGimpCurvesFile' undeclared (first use
   this function)
make[1]: *** [adjustcurves.lo] Error 1
Comment 1 caulier.gilles 2004-12-04 16:30:55 UTC
You need to compile and install current digiKam source code from CVS before to compile current digikamimageplugins source code

Gilles Caulier
Comment 2 caulier.gilles 2004-12-08 21:09:16 UTC
digikamimageplugins have depencies to digikam. Need to use a fresh digiKam snapshoot for compiling digikamimageplugins.
Gilles Caulier