problem compiling new version!

ruichaves

26-08-2007 18:26:57

I have this problem when i'm compiling source code!

QuickGUITextCursor.cpp
d:\lostshot\lost1\quickgui\src\quickguitextcursor.cpp(8) : error C2664: 'QuickGUI::Widget::Widget(const Ogre::String &,const QuickGUI::Rect &,QuickGUI::GuiMetricsMode,QuickGUI::GuiMetricsMode,Ogre::String,QuickGUI::RenderObjectGroup *,QuickGUI::Widget *)' : cannot convert parameter 2 from 'const Ogre::Vector4' to 'const QuickGUI::Rect &'
Reason: cannot convert from 'const Ogre::Vector4' to 'const QuickGUI::Rect'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
d:\lostshot\lost1\quickgui\src\quickguitextcursor.cpp(9) : error C2039: 'TYPE_TEXTCURSOR' : is not a member of 'QuickGUI::Widget'
d:\lostshot\lost1\quickgui\include\quickguiwidget.h(64) : see declaration of 'QuickGUI::Widget'
d:\lostshot\lost1\quickgui\src\quickguitextcursor.cpp(9) : error C2065: 'TYPE_TEXTCURSOR' : undeclared identifier
d:\lostshot\lost1\quickgui\src\quickguitextcursor.cpp(13) : error C2039: 'z' : is not a member of 'QuickGUI::Rect'
d:\lostshot\lost1\quickgui\include\quickguirect.h(13) : see declaration of 'QuickGUI::Rect'
d:\lostshot\lost1\quickgui\src\quickguitextcursor.cpp(28) : error C2039: 'z' : is not a member of 'QuickGUI::Rect'
d:\lostshot\lost1\quickgui\include\quickguirect.h(13) : see declaration of 'QuickGUI::Rect'


Help!

kungfoomasta

26-08-2007 18:52:44

You're lib does not match with your includes. For starters, you are trying to use Vector4 when I have switched over to using the new Rect class. Also, TYPE_TEXTCURSOR no longer exists, and quickguitextcursor.h/.cpp does not exist either. You need to clear away your old quickgui files and then build the new version of the library properly.

ruichaves

26-08-2007 18:55:06

Problem Resolved!