[Bug 165769] New: adjustcurves.cpp - can't find version.h

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

[Bug 165769] New: adjustcurves.cpp - can't find version.h

Bugzilla from treeve@scarlet.be
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=165769         
           Summary: adjustcurves.cpp - can't find version.h
           Product: digikamimageplugins
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: digikam-devel kde org
        ReportedBy: treeve scarlet be


Version:           0.10.0 (using Devel)
Installed from:    Compiled sources
Compiler:          gcc-4.3.1
OS:                Linux

svn checkout 20080705



 58%] Built target showfoto
[ 58%] Building CXX object
imageplugins/adjustcurves/CMakeFiles/digikamimageplugin_adjustcurves.dir/digikamimageplugin_adjustcurves_automoc.o
[ 58%] Building CXX object
imageplugins/adjustcurves/CMakeFiles/digikamimageplugin_adjustcurves.dir/adjustcurves.o
/usr/src/digikam-svn/imageplugins/adjustcurves/adjustcurves.cpp:64:21: error: version.h: No
such file or directory
/usr/src/digikam-svn/imageplugins/adjustcurves/adjustcurves.cpp: In constructor
'DigikamAdjustCurvesImagesPlugin::AdjustCurveDialog::AdjustCurveDialog(QWidget*)':
/usr/src/digikam-svn/imageplugins/adjustcurves/adjustcurves.cpp:101: error: 'digiKamVersion'
was not declared in this scope
make[2]: ***
[imageplugins/adjustcurves/CMakeFiles/digikamimageplugin_adjustcurves.dir/adjustcurves.o]
Error 1
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 165769] adjustcurves.cpp - can't find version.h

Bugzilla from andi.clemens@gmx.net
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=165769         
andi.clemens gmx net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
      everconfirmed|0                           |1



------- Additional Comments From andi.clemens gmx net  2008-07-05 10:06 -------
confirmed, but I have a slightly different error message:

[ 46%] Building CXX object digikam/imageplugins/adjustcurves/CMakeFiles/digikamimageplugin_adjustcurves.dir/adjustcurves.o
/kde4user/Programmieren/graphics/digikam/imageplugins/adjustcurves/adjustcurves.cpp:64:21: error: version.h: No such file or directory
/kde4user/Programmieren/graphics/digikam/imageplugins/adjustcurves/adjustcurves.cpp: In constructor ‘DigikamAdjustCurvesImagesPlugin::AdjustCurveDialog::AdjustCurveDialog(QWidget*)’:
/kde4user/Programmieren/graphics/digikam/imageplugins/adjustcurves/adjustcurves.cpp:101: error: ‘digiKamVersion’ was not declared in this scope
make[2]: *** [digikam/imageplugins/adjustcurves/CMakeFiles/digikamimageplugin_adjustcurves.dir/adjustcurves.o] Error 1
make[1]: *** [digikam/imageplugins/adjustcurves/CMakeFiles/digikamimageplugin_adjustcurves.dir/all] Error 2
make: *** [all] Error 2
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 165769] adjustcurves.cpp - can't find version.h

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from treeve@scarlet.be
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=165769         




------- Additional Comments From andi.clemens gmx net  2008-07-05 10:08 -------
Oops, it is not different at all... :-) I'm still not completely awake...
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 165769] adjustcurves.cpp - can't find version.h

Gilles Caulier-4
In reply to this post by Bugzilla from treeve@scarlet.be
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=165769         




------- Additional Comments From caulier.gilles gmail com  2008-07-05 11:02 -------
I cannot reproduce the problem here. All compile fine using a fresh checkout.

In imageplugins/CmakeLists.txt, the include path set is right to find digikam/digikam/version.h. So i don't understand what's wrong.

Note : Mandriva 2008.1 with cmake version 2.4-patch 8

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

[Bug 165769] adjustcurves.cpp - can't find version.h

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from treeve@scarlet.be
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=165769         




------- Additional Comments From andi.clemens gmx net  2008-07-05 11:13 -------
I also use a fresh checkout, but it is not compiling. I will try to do further investigations.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 165769] adjustcurves.cpp - can't find version.h

Bugzilla from mikmach@wp.pl
In reply to this post by Bugzilla from treeve@scarlet.be
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=165769         




------- Additional Comments From mikmach wp pl  2008-07-05 11:19 -------
Just for the record. I had exactly the same bug when compiling inside of
main svn tree using wiki receipt for KDE compilation. You know,
kde/src/extragear/graphics and all other packages around (both svn
version and downloaded tarball).

But compiling separately, from tarball, even with the same cmakekde
macro I was able to compile.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 165769] adjustcurves.cpp - can't find version.h

Bugzilla from mikmach@wp.pl
In reply to this post by Bugzilla from treeve@scarlet.be
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=165769         




------- Additional Comments From mikmach wp pl  2008-07-05 11:21 -------
Forgot to add: Mandriva 2008.0, gcc 4.3.0, cmake 2.6
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Bug 165769] adjustcurves.cpp - can't find version.h

Bugzilla from andi.clemens@gmx.net
It works for me know... very strange. I had to remove CMakeLists.txt in
digikam/imageplugins/adjustcurves/ and restore it with svn up. After that,
make runs fine.
I don't know why it was not updated correctly before.

Andi

Mikolaj Machowski wrote:

> ------- You are receiving this mail because: -------
> You are the assignee for the bug, or are watching the assignee.
>          
> http://bugs.kde.org/show_bug.cgi?id=165769
>
>
>
>
> ------- Additional Comments From mikmach wp pl  2008-07-05 11:21 -------
> Forgot to add: Mandriva 2008.0, gcc 4.3.0, cmake 2.6


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

[Bug 165769] adjustcurves.cpp - can't find version.h

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from treeve@scarlet.be
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=165769         




------- Additional Comments From andi.clemens gmx net  2008-07-05 11:59 -------
It works for me know... very strange. I had to remove CMakeLists.txt in
digikam/imageplugins/adjustcurves/ and restore it with svn up. After that,
make runs fine.
I don't know why it was not updated correctly before.

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

[Bug 165769] adjustcurves.cpp - can't find version.h

Gilles Caulier-4
In reply to this post by Bugzilla from treeve@scarlet.be
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=165769         




------- Additional Comments From caulier.gilles gmail com  2008-07-05 12:05 -------
Mik,

Go to another plugin sub-folder, like adjustlevels for ex. and run make. it's work ?

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

[Bug 165769] adjustcurves.cpp - can't find version.h

Bugzilla from kropx77@gmail.com
In reply to this post by Bugzilla from treeve@scarlet.be
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=165769         
kropx77 gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kropx77 gmail com



------- Additional Comments From kropx77 gmail com  2008-07-05 12:29 -------
possible reason : there's no version.h in src/extragear/graphics/digikam/digikam. Just a version.h.cmake

(and the compiler looks in /src/extragear/graphics/digikam/imageplugins/../digikam)

you get the same error in the adjustlevels subdir
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 165769] adjustcurves.cpp - can't find version.h

Bugzilla from andi.clemens@gmx.net
In reply to this post by Bugzilla from treeve@scarlet.be
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=165769         




------- Additional Comments From andi.clemens gmx net  2008-07-05 13:07 -------
This is what I found out first, no version.h exists. But somehow it compiles right now... after checking out CMakeLists.txt again.

But now it hangs here:

[ 78%] Building CXX object digikam/themedesigner/CMakeFiles/digikamthemedesigner.dir/main.o
/kde4user/Programmieren/graphics/digikam/themedesigner/main.cpp:39:21: error: version.h: No such file or directory
/kde4user/Programmieren/graphics/digikam/themedesigner/main.cpp: In function ‘int main(int, char**)’:
/kde4user/Programmieren/graphics/digikam/themedesigner/main.cpp:46: error: ‘digiKamVersion’ was not declared in this scope
make[2]: *** [digikam/themedesigner/CMakeFiles/digikamthemedesigner.dir/main.o] Error 1
make[1]: *** [digikam/themedesigner/CMakeFiles/digikamthemedesigner.dir/all] Error 2
make: *** [all] Error 2

But again, removing CMakeLists.txt and checking it out again works fine... very strange. Why isn't svn not just updating correctly?
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 165769] adjustcurves.cpp - can't find version.h

Bugzilla from kropx77@gmail.com
In reply to this post by Bugzilla from treeve@scarlet.be
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=165769         




------- Additional Comments From kropx77 gmail com  2008-07-05 13:11 -------
Quick and (very) dirty hack that worked here :
replace #include "version.h" with #include "../../digikam/version.h"
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 165769] adjustcurves.cpp - can't find version.h

Bugzilla from kropx77@gmail.com
In reply to this post by Bugzilla from treeve@scarlet.be
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=165769         




------- Additional Comments From kropx77 gmail com  2008-07-05 13:12 -------
(at least for imagesplugins subdir)
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 165769] adjustcurves.cpp - can't find version.h

Bugzilla from kropx77@gmail.com
In reply to this post by Bugzilla from treeve@scarlet.be
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=165769         
kropx77 gmail com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From kropx77 gmail com  2008-07-05 13:44 -------
r828317 digikam/trunk/extragear/graphics/digikam/CMakeLists.txt: include the directory where the generated version.h is


/hug pinotree
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel