Am pondelok 06 Jún 2011 schrieb Stephan Witt:
> Am 06.06.2011 um 13:12 schrieb Kornel:
> > I get this while linking lyx
> > ...
> > Linking CXX executable ../bin/lyx
> > cd /usr/BUILD/BuildLyx/src && /usr/bin/cmake -E cmake_link_script
> > CMakeFiles/lyx.dir/link.txt --verbose=1 /usr/bin/c++   -Wall
> > -Wunused-parameter -fno-strict-aliasing  -Wall -Wunused-parameter -O3
> > -DNDEBUG   CMakeFiles/lyx.dir/PersonalWordList.cpp.o ...
> > CMakeFiles/lyx.dir/CursorSlice.cpp.o CMakeFiles/lyx.dir/Changes.cpp.o
> > CMakeFiles/lyx.dir/output_docbook.cpp.o
> > CMakeFiles/lyx.dir/TextClass.cpp.o CMakeFiles/lyx.dir/Format.cpp.o
> > CMakeFiles/lyx.dir/BufferList.cpp.o CMakeFiles/lyx.dir/Layout.cpp.o  -o
> > ../bin/lyx -rdynamic ../lib/libmathed.a ../lib/libinsets.a
> > ../lib/libfrontends.a ../lib/libfrontend_qt4.a ../lib/libgraphics.a
> > ../lib/libsupport.a ../lib/libintl.a -lhunspell -lenchant
> > ../lib/libfrontends.a -lQtGui ../lib/libboost_signals.a
> > ../lib/libboost_regex.a -lQtCore -lz
> > ../lib/libfrontend_qt4.a(FancyLineEdit.cpp.o): In function
> > `lyx::frontend::FancyLineEditPrivate::FancyLineEditPrivate(lyx::frontend
> > ::FancyLineEdit*)': FancyLineEdit.cpp:(.text+0x383): undefined reference
> > to `vtable for lyx::frontend::IconButton'
> > FancyLineEdit.cpp:(.text+0x38b): undefined reference to `vtable for
> > lyx::frontend::IconButton' FancyLineEdit.cpp:(.text+0x415): undefined
> > reference to `vtable for lyx::frontend::IconButton'
> > FancyLineEdit.cpp:(.text+0x41d): undefined reference to `vtable for
> > lyx::frontend::IconButton'
> > ../lib/libfrontend_qt4.a(FancyLineEdit.cpp.o): In function
> > `lyx::frontend::FancyLineEdit::iconClicked()':
> > FancyLineEdit.cpp:(.text+0x54c): undefined reference to
> > `lyx::frontend::IconButton::staticMetaObject'
> > ../lib/libfrontend_qt4.a(FancyLineEdit.cpp.o): In function
> > `lyx::frontend::IconButton::IconButton(QWidget*)':
> > FancyLineEdit.cpp:(.text+0xd25): undefined reference to `vtable for
> > lyx::frontend::IconButton' FancyLineEdit.cpp:(.text+0xd2d): undefined
> > reference to `vtable for lyx::frontend::IconButton' collect2: ld
> > returned 1 exit status
> > ...
> > 
> > The qt-version is "4:4.7.2-0ubuntu6.1" if that matters. Yesterday it was
> > compilable (revision 38960).
> 
> I had the same problem. IMHO, you have to recreate your cmake project.
> 
> Stephan

I did already with "make clean". Tried now to recreate everything, but same 
error.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to