Compiling problem taharezlook

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

User avatar
Brinken
Just popping in
Just popping in
Posts: 1
Joined: Fri Apr 28, 2006 06:18

Compiling problem taharezlook

Postby Brinken » Fri Apr 28, 2006 11:10

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?

MacMan45
Just popping in
Just popping in
Posts: 19
Joined: Mon Apr 24, 2006 10:33

Postby MacMan45 » Sat Apr 29, 2006 12:22

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.

User avatar
lindquist
CEGUI Team (Retired)
Posts: 770
Joined: Mon Jan 24, 2005 21:20
Location: Copenhagen, Denmark

Postby lindquist » Sat Apr 29, 2006 19:18

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.

User avatar
jacmoe
Just can't stay away
Just can't stay away
Posts: 136
Joined: Sun Apr 03, 2005 14:18
Location: Holbaek, Denmark
Contact:

Postby jacmoe » Sun Apr 30, 2006 18:25

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


Return to “Help”

Who is online

Users browsing this forum: Google [Bot] and 1 guest