compiling error
Posted: 12 Apr 2008, 21:11
Good day,
At the ent of compiling I get these errors:
||warning: auto-importing has been activated without --enable-auto-import specified on the command line.|
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs..objs\src\graphics.o:graphics.cpp:(.rdata$_ZTV8Graphics[vtable for Graphics]+0x48)||undefined reference to `gcn::Graphics::drawText(std::string const&, int, int, gcn::Graphics::Alignment)'|
.objs\src\gui\box.o:box.cpp:(.rdata$_ZTV3Box[vtable for Box]+0x14)||undefined reference to `gcn::Widget::drawFrame(gcn::Graphics*)'|
.objs\src\gui\box.o:box.cpp:(.rdata$_ZTV3Box[vtable for Box]+0x54)||undefined reference to `gcn::Widget::isModalFocused() const'|
.objs\src\gui\box.o:box.cpp:(.rdata$_ZTV3Box[vtable for Box]+0x58)||undefined reference to `gcn::Widget::isModalMouseInputFocused() const'|
.objs\src\gui\box.o:box.cpp:(.rdata$_ZTV3Box[vtable for Box]+0x88)||undefined reference to `gcn::Widget::showPart(gcn::Rectangle)'|
.objs\src\gui\box.o:box.cpp:(.rdata$_ZTV3Box[vtable for Box]+0xa0)||undefined reference to `gcn::Container::findWidgetById(std::string const&)'|
.objs\src\gui\box.o:box.cpp:(.rdata$_ZTV3Box[vtable for Box]+0xbc)||undefined reference to `non-virtual thunk to gcn::BasicContainer::death(gcn::Event const&)'|
.objs\src\gui\browserbox.o:browserbox.cpp:(.rdata$_ZTV10BrowserBox[vtable for BrowserBox]+0x14)||undefined reference to `gcn::Widget::drawFrame(gcn::Graphics*)'|
.objs\src\gui\browserbox.o:browserbox.cpp:(.rdata$_ZTV10BrowserBox[vtable for BrowserBox]+0x54)||undefined reference to `gcn::Widget::isModalFocused() const'|
.objs\src\gui\browserbox.o:browserbox.cpp:(.rdata$_ZTV10BrowserBox[vtable for BrowserBox]+0x58)||undefined reference to `gcn::Widget::isModalMouseInputFocused() const'|
.objs\src\gui\browserbox.o:browserbox.cpp:(.rdata$_ZTV10BrowserBox[vtable for BrowserBox]+0x88)||undefined reference to `gcn::Widget::showPart(gcn::Rectangle)'|
.objs\src\gui\button.o:button.cpp:(.text+0x549)||undefined reference to `gcn::Widget::setFrameSize(unsigned int)'|
.objs\src\gui\button.o:button.cpp:(.text+0xed8)||undefined reference to `gcn::Exception::Exception(std::string const&, std::string const&, std::string const&, unsigned int)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0x14)||undefined reference to `gcn::Widget::drawFrame(gcn::Graphics*)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0x54)||undefined reference to `gcn::Widget::isModalFocused() const'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0x58)||undefined reference to `gcn::Widget::isModalMouseInputFocused() const'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0x88)||undefined reference to `gcn::Widget::showPart(gcn::Rectangle)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0xbc)||undefined reference to `non-virtual thunk to gcn::Button::mouseEntered(gcn::MouseEvent&)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0xc0)||undefined reference to `non-virtual thunk to gcn::Button::mouseExited(gcn::MouseEvent&)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0xc4)||undefined reference to `non-virtual thunk to gcn::Button::mousePressed(gcn::MouseEvent&)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0xc8)||undefined reference to `non-virtual thunk to gcn::Button::mouseReleased(gcn::MouseEvent&)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0xdc)||undefined reference to `non-virtual thunk to gcn::Button::mouseDragged(gcn::MouseEvent&)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0xf0)||undefined reference to `non-virtual thunk to gcn::Button::keyPressed(gcn::KeyEvent&)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0xf4)||undefined reference to `non-virtual thunk to gcn::Button::keyReleased(gcn::KeyEvent&)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0x10c)||undefined reference to `non-virtual thunk to gcn::Button::focusLost(gcn::Event const&)'|
.objs\src\gui\buy.o:buy.cpp:(.text+0x122b)||undefined reference to `gcn::ScrollArea::setHorizontalScrollPolicy(gcn::ScrollArea::ScrollPolicy)'|
.objs\src\gui\buy.o:buy.cpp:(.text+0x139f)||undefined reference to `gcn::ListBox::addSelectionListener(gcn::SelectionListener*)'|
.objs\src\gui\buy.o:buy.cpp:(.text+0x2add)||undefined reference to `gcn::ScrollArea::setHorizontalScrollPolicy(gcn::ScrollArea::ScrollPolicy)'|
.objs\src\gui\buy.o:buy.cpp:(.text+0x2c51)||undefined reference to `gcn::ListBox::addSelectionListener(gcn::SelectionListener*)'|
.objs\src\gui\buy.o:buy.cpp:(.text+0x37d9)||undefined reference to `gcn::ListBox::getSelected() const'|
.objs\src\gui\buy.o:buy.cpp:(.text+0x3b58)||undefined reference to `gcn::ListBox::getSelected() const'|
.objs\src\gui\buy.o:buy.cpp:(.rdata$_ZTV9BuyDialog[vtable for BuyDialog]+0x14)||undefined reference to `gcn::Widget::drawFrame(gcn::Graphics*)'|
.objs\src\gui\buy.o:buy.cpp:(.rdata$_ZTV9BuyDialog[vtable for BuyDialog]+0x54)||undefined reference to `gcn::Widget::isModalFocused() const'|
.objs\src\gui\buy.o:buy.cpp:(.rdata$_ZTV9BuyDialog[vtable for BuyDialog]+0x58)||undefined reference to `gcn::Widget::isModalMouseInputFocused() const'|
.objs\src\gui\buy.o:buy.cpp:(.rdata$_ZTV9BuyDialog[vtable for BuyDialog]+0x88)||undefined reference to `gcn::Widget::showPart(gcn::Rectangle)'|
.objs\src\gui\buy.o:buy.cpp:(.rdata$_ZTV9BuyDialog[vtable for BuyDialog]+0xa0)||undefined reference to `gcn::Container::findWidgetById(std::string const&)'|
.objs\src\gui\buy.o:buy.cpp:(.rdata$_ZTV9BuyDialog[vtable for BuyDialog]+0xe0)||undefined reference to `non-virtual thunk to gcn::BasicContainer::death(gcn::Event const&)'|
.objs\src\gui\buysell.o:buysell.cpp:(.rdata$_ZTV13BuySellDialog[vtable for BuySellDialog]+0x14)||undefined reference to `gcn::Widget::drawFrame(gcn::Graphics*)'|
.objs\src\gui\buysell.o:buysell.cpp:(.rdata$_ZTV13BuySellDialog[vtable for BuySellDialog]+0x54)||undefined reference to `gcn::Widget::isModalFocused() const'|
.objs\src\gui\buysell.o:buysell.cpp:(.rdata$_ZTV13BuySellDialog[vtable for BuySellDialog]+0x58)||undefined reference to `gcn::Widget::isModalMouseInputFocused() const'|
.objs\src\gui\buysell.o:buysell.cpp:(.rdata$_ZTV13BuySellDialog[vtable for BuySellDialog]+0x88)||undefined reference to `gcn::Widget::showPart(gcn::Rectangle)'|
.objs\src\gui\buysell.o:buysell.cpp:(.rdata$_ZTV13BuySellDialog[vtable for BuySellDialog]+0xa0)||undefined reference to `gcn::Container::findWidgetById(std::string const&)'|
.objs\src\gui\buysell.o:buysell.cpp:(.rdata$_ZTV13BuySellDialog[vtable for BuySellDialog]+0xdc)||undefined reference to `non-virtual thunk to gcn::BasicContainer::death(gcn::Event const&)'|
.objs\src\gui\char_select.o:char_select.cpp:(.text+0x6e65)||undefined reference to `gcn::RadioButton::setSelected(bool)'|
.objs\src\gui\char_select.o:char_select.cpp:(.text+0xa079)||undefined reference to `gcn::RadioButton::setSelected(bool)'|
.objs\src\gui\char_select.o:char_select.cpp:(.text+0xae7a)||undefined reference to `gcn::RadioButton::isSelected() const'|
.objs\src\gui\char_select.o:char_select.cpp:(.text+0xb5f5)||undefined reference to `gcn::RadioButton::isSelected() const'|
.objs\src\gui\char_select.o:char_select.cpp:(.rdata$_ZTV16CharCreateDialog[vtable for CharCreateDialog]+0x14)||undefined reference to `gcn::Widget::drawFrame(gcn::Graphics*)'|
.objs\src\gui\char_select.o:char_select.cpp:(.rdata$_ZTV16CharCreateDialog[vtable for CharCreateDialog]+0x54)||undefined reference to `gcn::Widget::isModalFocused() const'|
.objs\src\gui\char_select.o:char_select.cpp:(.rdata$_ZTV16CharCreateDialog[vtable for CharCreateDialog]+0x58)||undefined reference to `gcn::Widget::isModalMouseInputFocused() const'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 1 warnings ===|
but previous SVN version (1 month later) work fine...
Whats wrong?
1. I try reinstall CodeBlocks
2. I try re-download DevPack
3. I try re-set path Compiles and Debugger -> Search directories - Compiler - Linker to right
4.I have a fresh tmw client version from SVN
Addition:
When I try compiling actual tmw client from SVN (when Iam refresh all settings of compiler and etc.) I get error about missing file:
include/guichan/widgetlistener.hpp
->> I download a new version of guichan (0.8.0) and old replace it with new (where is file widgetlistener.hpp)
Thanks for your help
At the ent of compiling I get these errors:
||warning: auto-importing has been activated without --enable-auto-import specified on the command line.|
This should work unless it involves constant data structures referencing symbols from auto-imported DLLs..objs\src\graphics.o:graphics.cpp:(.rdata$_ZTV8Graphics[vtable for Graphics]+0x48)||undefined reference to `gcn::Graphics::drawText(std::string const&, int, int, gcn::Graphics::Alignment)'|
.objs\src\gui\box.o:box.cpp:(.rdata$_ZTV3Box[vtable for Box]+0x14)||undefined reference to `gcn::Widget::drawFrame(gcn::Graphics*)'|
.objs\src\gui\box.o:box.cpp:(.rdata$_ZTV3Box[vtable for Box]+0x54)||undefined reference to `gcn::Widget::isModalFocused() const'|
.objs\src\gui\box.o:box.cpp:(.rdata$_ZTV3Box[vtable for Box]+0x58)||undefined reference to `gcn::Widget::isModalMouseInputFocused() const'|
.objs\src\gui\box.o:box.cpp:(.rdata$_ZTV3Box[vtable for Box]+0x88)||undefined reference to `gcn::Widget::showPart(gcn::Rectangle)'|
.objs\src\gui\box.o:box.cpp:(.rdata$_ZTV3Box[vtable for Box]+0xa0)||undefined reference to `gcn::Container::findWidgetById(std::string const&)'|
.objs\src\gui\box.o:box.cpp:(.rdata$_ZTV3Box[vtable for Box]+0xbc)||undefined reference to `non-virtual thunk to gcn::BasicContainer::death(gcn::Event const&)'|
.objs\src\gui\browserbox.o:browserbox.cpp:(.rdata$_ZTV10BrowserBox[vtable for BrowserBox]+0x14)||undefined reference to `gcn::Widget::drawFrame(gcn::Graphics*)'|
.objs\src\gui\browserbox.o:browserbox.cpp:(.rdata$_ZTV10BrowserBox[vtable for BrowserBox]+0x54)||undefined reference to `gcn::Widget::isModalFocused() const'|
.objs\src\gui\browserbox.o:browserbox.cpp:(.rdata$_ZTV10BrowserBox[vtable for BrowserBox]+0x58)||undefined reference to `gcn::Widget::isModalMouseInputFocused() const'|
.objs\src\gui\browserbox.o:browserbox.cpp:(.rdata$_ZTV10BrowserBox[vtable for BrowserBox]+0x88)||undefined reference to `gcn::Widget::showPart(gcn::Rectangle)'|
.objs\src\gui\button.o:button.cpp:(.text+0x549)||undefined reference to `gcn::Widget::setFrameSize(unsigned int)'|
.objs\src\gui\button.o:button.cpp:(.text+0xed8)||undefined reference to `gcn::Exception::Exception(std::string const&, std::string const&, std::string const&, unsigned int)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0x14)||undefined reference to `gcn::Widget::drawFrame(gcn::Graphics*)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0x54)||undefined reference to `gcn::Widget::isModalFocused() const'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0x58)||undefined reference to `gcn::Widget::isModalMouseInputFocused() const'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0x88)||undefined reference to `gcn::Widget::showPart(gcn::Rectangle)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0xbc)||undefined reference to `non-virtual thunk to gcn::Button::mouseEntered(gcn::MouseEvent&)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0xc0)||undefined reference to `non-virtual thunk to gcn::Button::mouseExited(gcn::MouseEvent&)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0xc4)||undefined reference to `non-virtual thunk to gcn::Button::mousePressed(gcn::MouseEvent&)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0xc8)||undefined reference to `non-virtual thunk to gcn::Button::mouseReleased(gcn::MouseEvent&)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0xdc)||undefined reference to `non-virtual thunk to gcn::Button::mouseDragged(gcn::MouseEvent&)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0xf0)||undefined reference to `non-virtual thunk to gcn::Button::keyPressed(gcn::KeyEvent&)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0xf4)||undefined reference to `non-virtual thunk to gcn::Button::keyReleased(gcn::KeyEvent&)'|
.objs\src\gui\button.o:button.cpp:(.rdata$_ZTV6Button[vtable for Button]+0x10c)||undefined reference to `non-virtual thunk to gcn::Button::focusLost(gcn::Event const&)'|
.objs\src\gui\buy.o:buy.cpp:(.text+0x122b)||undefined reference to `gcn::ScrollArea::setHorizontalScrollPolicy(gcn::ScrollArea::ScrollPolicy)'|
.objs\src\gui\buy.o:buy.cpp:(.text+0x139f)||undefined reference to `gcn::ListBox::addSelectionListener(gcn::SelectionListener*)'|
.objs\src\gui\buy.o:buy.cpp:(.text+0x2add)||undefined reference to `gcn::ScrollArea::setHorizontalScrollPolicy(gcn::ScrollArea::ScrollPolicy)'|
.objs\src\gui\buy.o:buy.cpp:(.text+0x2c51)||undefined reference to `gcn::ListBox::addSelectionListener(gcn::SelectionListener*)'|
.objs\src\gui\buy.o:buy.cpp:(.text+0x37d9)||undefined reference to `gcn::ListBox::getSelected() const'|
.objs\src\gui\buy.o:buy.cpp:(.text+0x3b58)||undefined reference to `gcn::ListBox::getSelected() const'|
.objs\src\gui\buy.o:buy.cpp:(.rdata$_ZTV9BuyDialog[vtable for BuyDialog]+0x14)||undefined reference to `gcn::Widget::drawFrame(gcn::Graphics*)'|
.objs\src\gui\buy.o:buy.cpp:(.rdata$_ZTV9BuyDialog[vtable for BuyDialog]+0x54)||undefined reference to `gcn::Widget::isModalFocused() const'|
.objs\src\gui\buy.o:buy.cpp:(.rdata$_ZTV9BuyDialog[vtable for BuyDialog]+0x58)||undefined reference to `gcn::Widget::isModalMouseInputFocused() const'|
.objs\src\gui\buy.o:buy.cpp:(.rdata$_ZTV9BuyDialog[vtable for BuyDialog]+0x88)||undefined reference to `gcn::Widget::showPart(gcn::Rectangle)'|
.objs\src\gui\buy.o:buy.cpp:(.rdata$_ZTV9BuyDialog[vtable for BuyDialog]+0xa0)||undefined reference to `gcn::Container::findWidgetById(std::string const&)'|
.objs\src\gui\buy.o:buy.cpp:(.rdata$_ZTV9BuyDialog[vtable for BuyDialog]+0xe0)||undefined reference to `non-virtual thunk to gcn::BasicContainer::death(gcn::Event const&)'|
.objs\src\gui\buysell.o:buysell.cpp:(.rdata$_ZTV13BuySellDialog[vtable for BuySellDialog]+0x14)||undefined reference to `gcn::Widget::drawFrame(gcn::Graphics*)'|
.objs\src\gui\buysell.o:buysell.cpp:(.rdata$_ZTV13BuySellDialog[vtable for BuySellDialog]+0x54)||undefined reference to `gcn::Widget::isModalFocused() const'|
.objs\src\gui\buysell.o:buysell.cpp:(.rdata$_ZTV13BuySellDialog[vtable for BuySellDialog]+0x58)||undefined reference to `gcn::Widget::isModalMouseInputFocused() const'|
.objs\src\gui\buysell.o:buysell.cpp:(.rdata$_ZTV13BuySellDialog[vtable for BuySellDialog]+0x88)||undefined reference to `gcn::Widget::showPart(gcn::Rectangle)'|
.objs\src\gui\buysell.o:buysell.cpp:(.rdata$_ZTV13BuySellDialog[vtable for BuySellDialog]+0xa0)||undefined reference to `gcn::Container::findWidgetById(std::string const&)'|
.objs\src\gui\buysell.o:buysell.cpp:(.rdata$_ZTV13BuySellDialog[vtable for BuySellDialog]+0xdc)||undefined reference to `non-virtual thunk to gcn::BasicContainer::death(gcn::Event const&)'|
.objs\src\gui\char_select.o:char_select.cpp:(.text+0x6e65)||undefined reference to `gcn::RadioButton::setSelected(bool)'|
.objs\src\gui\char_select.o:char_select.cpp:(.text+0xa079)||undefined reference to `gcn::RadioButton::setSelected(bool)'|
.objs\src\gui\char_select.o:char_select.cpp:(.text+0xae7a)||undefined reference to `gcn::RadioButton::isSelected() const'|
.objs\src\gui\char_select.o:char_select.cpp:(.text+0xb5f5)||undefined reference to `gcn::RadioButton::isSelected() const'|
.objs\src\gui\char_select.o:char_select.cpp:(.rdata$_ZTV16CharCreateDialog[vtable for CharCreateDialog]+0x14)||undefined reference to `gcn::Widget::drawFrame(gcn::Graphics*)'|
.objs\src\gui\char_select.o:char_select.cpp:(.rdata$_ZTV16CharCreateDialog[vtable for CharCreateDialog]+0x54)||undefined reference to `gcn::Widget::isModalFocused() const'|
.objs\src\gui\char_select.o:char_select.cpp:(.rdata$_ZTV16CharCreateDialog[vtable for CharCreateDialog]+0x58)||undefined reference to `gcn::Widget::isModalMouseInputFocused() const'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build finished: 50 errors, 1 warnings ===|
but previous SVN version (1 month later) work fine...
Whats wrong?
1. I try reinstall CodeBlocks
2. I try re-download DevPack
3. I try re-set path Compiles and Debugger -> Search directories - Compiler - Linker to right
4.I have a fresh tmw client version from SVN
Addition:
When I try compiling actual tmw client from SVN (when Iam refresh all settings of compiler and etc.) I get error about missing file:
include/guichan/widgetlistener.hpp
->> I download a new version of guichan (0.8.0) and old replace it with new (where is file widgetlistener.hpp)
Thanks for your help