compile error

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

compile error

Bartek Pietrasiak
Hi,

I get compile error:

[ 95%] [ 95%] Building CXX object digikam/digikam/CMakeFiles/digikam.dir/albumtreeview.o                                                                                                                      
Building CXX object digikam/digikam/CMakeFiles/digikam.dir/albumwidgetstack.o                                                                                                                                 
[ 95%] Building CXX object digikam/digikam/CMakeFiles/digikam.dir/contextmenuhelper.o                                                                                                                         
[ 95%] Building CXX object digikam/digikam/CMakeFiles/digikam.dir/datefolderview.o                                                                                                                            
In file included from /home/uzer/projects/os/digikam/graphics/digikam/digikam/contextmenuhelper.cpp:25:                                                                                                       
/home/uzer/projects/os/digikam/graphics/digikam/digikam/contextmenuhelper.moc: In member function ‘virtual int Digikam::ContextMenuHelper::qt_metacall(QMetaObject::Call, int, void**)’:
/home/uzer/projects/os/digikam/graphics/digikam/digikam/contextmenuhelper.moc:107: error: ‘slotABCContextMenu’ was not declared in this scope

Can anybody help?

R.,
Bartek

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

Re: compile error

Bartek Pietrasiak
Still the same problem with todays update. Is it some dependency problem?

2010/12/26 Bartek Pietrasiak <[hidden email]>
Hi,

I get compile error:

[ 95%] [ 95%] Building CXX object digikam/digikam/CMakeFiles/digikam.dir/albumtreeview.o                                                                                                                      
Building CXX object digikam/digikam/CMakeFiles/digikam.dir/albumwidgetstack.o                                                                                                                                 
[ 95%] Building CXX object digikam/digikam/CMakeFiles/digikam.dir/contextmenuhelper.o                                                                                                                         
[ 95%] Building CXX object digikam/digikam/CMakeFiles/digikam.dir/datefolderview.o                                                                                                                            
In file included from /home/uzer/projects/os/digikam/graphics/digikam/digikam/contextmenuhelper.cpp:25:                                                                                                       
/home/uzer/projects/os/digikam/graphics/digikam/digikam/contextmenuhelper.moc: In member function ‘virtual int Digikam::ContextMenuHelper::qt_metacall(QMetaObject::Call, int, void**)’:
/home/uzer/projects/os/digikam/graphics/digikam/digikam/contextmenuhelper.moc:107: error: ‘slotABCContextMenu’ was not declared in this scope

Can anybody help?

R.,
Bartek


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

Re: compile error

Johannes Wienke-3
Am 03.01.2011 21:30 schrieb Bartek Pietrasiak:
> Still the same problem with todays update. Is it some dependency problem?

Can you please call "make VERBOSE=1" and past the compiler call for the
file that failed to see which includes are used.

Cheers,
Johannes


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

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: compile error

Bartek Pietrasiak
Attached the output.

2011/1/3 Johannes Wienke <[hidden email]>
Am 03.01.2011 21:30 schrieb Bartek Pietrasiak:
> Still the same problem with todays update. Is it some dependency problem?

Can you please call "make VERBOSE=1" and past the compiler call for the
file that failed to see which includes are used.

Cheers,
Johannes


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



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

log.txt (63K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: compile error

Johannes Wienke-3
Am 04.01.2011 15:51 schrieb Bartek Pietrasiak:
> Attached the output.

In file included from
/home/uzer/projects/os/digikam/graphics/digikam/digikam/contextmenuhelper.cpp:25:
/home/uzer/projects/os/digikam/graphics/digikam/digikam/contextmenuhelper.moc:
In member function ‘virtual int
Digikam::ContextMenuHelper::qt_metacall(QMetaObject::Call, int, void**)’:
/home/uzer/projects/os/digikam/graphics/digikam/digikam/contextmenuhelper.moc:107:
error: ‘slotABCContextMenu’ was not declared in this scope

This really doesn't make any sense. This method is commented in both,
the header and the cpp file.

Did you try to start a completely clean new build?

Which version are you trying to compile? SVN?

Regards,
Johannes


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

signature.asc (270 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: compile error

Bartek Pietrasiak
In reply to this post by Bartek Pietrasiak
The method was commented in the cpp file, but was in the moc. I renamed the dir and checked out the sources again and it compiled. Then I tried again with previous checkout. make clean install still reported the same error. After find . -name '*.moc' | xargs rm -rf it also compiled successfully. Strange, but works now. Thanks for the clue.

R.,
Bartek

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