Page 1 of 1

Compiling problem taharezlook

Posted: Fri Apr 28, 2006 11:10
by Brinken
I am trying to extend tahareslook for CEGUI with new subclasses because I need diffrent types of some of the current, for exemple I need at least 3 different progressbars. I think this means that I have to make a new dll file.
I have downloaded the source code and created a new project in visual studio and I think I have all dependencies but am not sure because I get a hell of a lot of linking errors; here are a few examples of them:


TLVertScrollbarThumb.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CEGUI::EventSet::fireEvent(class CEGUI::String const &,class CEGUI::EventArgs &,class CEGUI::String const &)" (?fireEvent@EventSet@CEGUI@@UAEXABVString@2@AAVEventArgs@2@0@Z)
TLVUMeter.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CEGUI::EventSet::fireEvent(class CEGUI::String const &,class CEGUI::EventArgs &,class CEGUI::String const &)" (?fireEvent@EventSet@CEGUI@@UAEXABVString@2@AAVEventArgs@2@0@Z)
TLTabPane.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CEGUI::EventSet::fireEvent(class CEGUI::String const &,class CEGUI::EventArgs &,class CEGUI::String const &)" (?fireEvent@EventSet@CEGUI@@UAEXABVString@2@AAVEventArgs@2@0@Z)
TLTitlebar.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CEGUI::EventSet::fireEvent(class CEGUI::String const &,class CEGUI::EventArgs &,class CEGUI::String const &)" (?fireEvent@EventSet@CEGUI@@UAEXABVString@2@AAVEventArgs@2@0@Z)
TLTooltip.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CEGUI::EventSet::fireEvent(class CEGUI::String const &,class CEGUI::EventArgs &,class CEGUI::String const &)" (?fireEvent@EventSet@CEGUI@@UAEXABVString@2@AAVEventArgs@2@0@Z)
TLVertScrollbar.obj : error LNK2001: unresolved external symbol "public: virtual void __thiscall CEGUI::EventSet::fireEvent(class CEGUI::String const &,class CEGUI::EventArgs &,class CEGUI::String const &)" (?fireEvent@EventSet@CEGUI@@UAEXABVString@2@AAVEventArgs@2@0@Z)
TLVertScrollbarThumb.obj : error LNK2001: unresolved external symbol "public: virtual class CEGUI::RefPtr<class CEGUI::Event::ConnectionInterface> __thiscall CEGUI::EventSet::subscribeEvent(class CEGUI::String const &,class CEGUI::SubscriberTemplate<bool,class CEGUI::EventArgs const &>)" (?subscribeEvent@EventSet@CEGUI@@UAE?AV?$RefPtr@VConnectionInterface@Event@CEGUI@@@2@ABVString@2@V?$SubscriberTemplate@_NABVEventArgs@CEGUI@@@2@@Z)
TLVUMeter.obj : error LNK2001: unresolved external symbol "public: virtual class CEGUI::RefPtr<class CEGUI::Event::ConnectionInterface> __thiscall CEGUI::EventSet::subscribeEvent(class CEGUI::String const &,class CEGUI::SubscriberTemplate<bool,class CEGUI::EventArgs const &>)" (?subscribeEvent@EventSet@CEGUI@@UAE?AV?$RefPtr@VConnectionInterface@Event@CEGUI@@@2@ABVString@2@V?$SubscriberTemplate@_NABVEventArgs@CEGUI@@@2@@Z)
TLTabPane.obj : error LNK2001: unresolved external symbol "public: virtual class CEGUI::RefPtr<class CEGUI::Event::ConnectionInterface> __thiscall CEGUI::EventSet::subscribeEvent(class CEGUI::String const &,class CEGUI::SubscriberTemplate<bool,class CEGUI::EventArgs const &>)" (?subscribeEvent@EventSet@CEGUI@@UAE?AV?$RefPtr@VConnectionInterface@Event@CEGUI@@@2@ABVString@2@V?$SubscriberTemplate@_NABVEventArgs@CEGUI@@@2@@Z)
TLTitlebar.obj : error LNK2001: unresolved external symbol "public: virtual class CEGUI::RefPtr<class CEGUI::Event::ConnectionInterface> __thiscall CEGUI::EventSet::subscribeEvent(class CEGUI::String const &,class CEGUI::SubscriberTemplate<bool,class CEGUI::EventArgs const &>)" (?subscribeEvent@EventSet@CEGUI@@UAE?AV?$RefPtr@VConnectionInterface@Event@CEGUI@@@2@ABVString@2@V?$SubscriberTemplate@_NABVEventArgs@CEGUI@@@2@@Z)
TLTooltip.obj : error LNK2001: unresolved external symbol "public: virtual class CEGUI::RefPtr<class CEGUI::Event::ConnectionInterface> __thiscall CEGUI::EventSet::subscribeEvent(class CEGUI::String const &,class CEGUI::SubscriberTemplate<bool,class CEGUI::EventArgs const &>)"
TLModule.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGUI::ProgressBar::onProgressDone(class CEGUI::WindowEventArgs &)" (?onProgressDone@ProgressBar@CEGUI@@MAEXAAVWindowEventArgs@2@@Z)
TLProgressBar.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGUI::ProgressBar::onProgressDone(class CEGUI::WindowEventArgs &)" (?onProgressDone@ProgressBar@CEGUI@@MAEXAAVWindowEventArgs@2@@Z)
TLVUMeter.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGUI::ProgressBar::onProgressDone(class CEGUI::WindowEventArgs &)" (?onProgressDone@ProgressBar@CEGUI@@MAEXAAVWindowEventArgs@2@@Z)
TLAlternateProgressBar.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGUI::ProgressBar::onProgressChanged(class CEGUI::WindowEventArgs &)" (?onProgressChanged@ProgressBar@CEGUI@@MAEXAAVWindowEventArgs@2@@Z)
TLModule.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGUI::ProgressBar::onProgressChanged(class CEGUI::WindowEventArgs &)" (?onProgressChanged@ProgressBar@CEGUI@@MAEXAAVWindowEventArgs@2@@Z)
TLProgressBar.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGUI::ProgressBar::onProgressChanged(class CEGUI::WindowEventArgs &)" (?onProgressChanged@ProgressBar@CEGUI@@MAEXAAVWindowEventArgs@2@@Z)
TLVertScrollbarThumb.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CEGUI::Window::writeChildWindowsXML(class std::basic_ostream<char,struct std::char_traits<char> > &)const "
TLVertScrollbarThumb.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CEGUI::Window::writePropertiesXML(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?writePropertiesXML@Window@CEGUI@@MBEHAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
TLVUMeter.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CEGUI::Window::writePropertiesXML(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?writePropertiesXML@Window@CEGUI@@MBEHAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
TLTabPane.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CEGUI::Window::writePropertiesXML(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?writePropertiesXML@Window@CEGUI@@MBEHAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
TLTitlebar.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CEGUI::Window::writePropertiesXML(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?writePropertiesXML@Window@CEGUI@@MBEHAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
TLTooltip.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CEGUI::Window::writePropertiesXML(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?writePropertiesXML@Window@CEGUI@@MBEHAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
TLVertScrollbar.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CEGUI::Window::writePropertiesXML(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?writePropertiesXML@Window@CEGUI@@MBEHAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
TLSpinner.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CEGUI::Window::writePropertiesXML(class std::basic_ostream<char,struct std::char_traits<char> > &)const " (?writePropertiesXML@Window@CEGUI@@MBEHAAV?$basic_ostream@DU?$char_traits@D@std@@@std@@@Z)
TLStatic.obj : error LNK2001: unresolved external symbol "protected: virtual int __thiscall CEGUI::Window::writePropertiesXML(class
TLVUMeter.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGUI::Window::moveToFront_impl(bool)" (?moveToFront_impl@Window@CEGUI@@MAEX_N@Z)
TLTabPane.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGUI::Window::moveToFront_impl(bool)" (?moveToFront_impl@Window@CEGUI@@MAEX_N@Z)
TLTitlebar.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGUI::Window::moveToFront_impl(bool)" (?moveToFront_impl@Window@CEGUI@@MAEX_N@Z)
TLTooltip.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGUI::Window::moveToFront_impl(bool)" (?moveToFront_impl@Window@CEGUI@@MAEX_N@Z)
TLVertScrollbar.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGUI::Window::moveToFront_impl(bool)" (?moveToFront_impl@Window@CEGUI@@MAEX_N@Z)
TLSpinner.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGUI::Window::moveToFront_impl(bool)" (?moveToFront_impl@Window@CEGUI@@MAEX_N@Z)
TLVertScrollbarThumb.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGUI::Window::removeChild_impl(class CEGUI::Window *)" (?removeChild_impl@Window@CEGUI@@MAEXPAV12@@Z)
TLVUMeter.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGUI::Window::removeChild_impl(class CEGUI::Window *)" (?removeChild_impl@Window@CEGUI@@MAEXPAV12@@Z)
TLTabPane.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGUI::Window::removeChild_impl(class CEGUI::Window *)" (?removeChild_impl@Window@CEGUI@@MAEXPAV12@@Z)
TLTitlebar.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGUI::Window::removeChild_impl(class CEGUI::Window *)" (?removeChild_impl@Window@CEGUI@@MAEXPAV12@@Z)
TLTooltip.obj : error LNK2001: unresolved external symbol "protected: virtual void __thiscall CEGUI::Window::removeChild_impl(class CEGUI::Window *)" (?removeChild_impl@Window@CEGUI@@MAEXPAV12@@Z)

Any ideas what I am missing?
Or is there an easier way to do this?

Posted: Sat Apr 29, 2006 12:22
by MacMan45
looks like you havn't set the path in VS to tell it where the crazy eddie lib files are on your machine.

The fact you got it as far as linking, would tell me you pointed to the headers, just not the libs.

Posted: Sat Apr 29, 2006 19:18
by lindquist
my piece of advice would be to ditch the TaharezLook dll and use Falagard instead. (CEGUIFalagerdBase.dll)

Load TaharezLookSkin.scheme for the Falagard version. In svn trunk (0.5) falagard is all there is, the dll looks have been removed.

Posted: Sun Apr 30, 2006 18:25
by jacmoe
In falagard you can do everything through xml files - this is a good place to start:
http://www.cegui.org.uk/wiki/index.php/The_Beginners_Guide_to_Falagard_skinning_-_Part_I