Compilation Errors

twilight17

19-12-2007 20:14:45

Every time I try to compile QuickGUISheetEditor and QuickGUISkinSetEditor
I get these kind of errors:
------ Build started: Project: QuickGUISkinSetEditor, Configuration: Release Win32 ------
Compiling...
QuickGUISkinSetEditorUI.cpp
.\src\QuickGUISkinSetEditorUI.cpp(20) : error C2664: 'QuickGUI::GUIManager::GUIManager(const QuickGUI::GUIManager &)' : cannot convert parameter 1 from 'Ogre::Viewport *' to 'const QuickGUI::GUIManager &'
Reason: cannot convert from 'Ogre::Viewport *' to 'const QuickGUI::GUIManager'
No constructor could take the source type, or constructor overload resolution was ambiguous
.\src\QuickGUISkinSetEditorUI.cpp(99) : error C2248: 'QuickGUI::SkinSet::~SkinSet' : cannot access private member declared in class 'QuickGUI::SkinSet'
c:\program files\ogresdk\dev\quickgui\quickgui\include\QuickGUISkinSet.h(145) : compiler has generated 'QuickGUI::SkinSet::~SkinSet' here
c:\program files\ogresdk\dev\quickgui\quickgui\include\QuickGUISkinSet.h(28) : see declaration of 'QuickGUI::SkinSet'
.\src\QuickGUISkinSetEditorUI.cpp(156) : error C2039: 'setTexture' : is not a member of 'QuickGUI::Image'
c:\program files\ogresdk\dev\quickgui\quickgui\include\QuickGUIImage.h(15) : see declaration of 'QuickGUI::Image'
QuickGUISkinSetEditorApp.cpp
Build log was saved at "file://c:\Program Files\OgreSDK\Dev\QuickGUI\QuickGUISkinSetEditor\obj\($ConfigurationName)\BuildLog.htm"
QuickGUISkinSetEditor - 3 error(s), 0 warning(s)

I cant seem to figure out why this is happening
EDIT: oh and forgot to say, this is SVN version 303

twilight17

19-12-2007 20:29:23

Well I noticed it was complaining about setTexture.. so I went into QuickGUIImage.h and searched for setTexture, then I changed it to setMaterial.. now that error is gone, but I still get this:

------ Build started: Project: QuickGUISkinSetEditor, Configuration: Release Win32 ------
Compiling...
QuickGUISkinSetEditorUI.cpp
.\src\QuickGUISkinSetEditorUI.cpp(20) : error C2664: 'QuickGUI::GUIManager::GUIManager(const QuickGUI::GUIManager &)' : cannot convert parameter 1 from 'Ogre::Viewport *' to 'const QuickGUI::GUIManager &'
Reason: cannot convert from 'Ogre::Viewport *' to 'const QuickGUI::GUIManager'
No constructor could take the source type, or constructor overload resolution was ambiguous
.\src\QuickGUISkinSetEditorUI.cpp(99) : error C2248: 'QuickGUI::SkinSet::~SkinSet' : cannot access private member declared in class 'QuickGUI::SkinSet'
c:\program files\ogresdk\dev\quickgui\quickgui\include\QuickGUISkinSet.h(145) : compiler has generated 'QuickGUI::SkinSet::~SkinSet' here
c:\program files\ogresdk\dev\quickgui\quickgui\include\QuickGUISkinSet.h(28) : see declaration of 'QuickGUI::SkinSet'

kungfoomasta

19-12-2007 20:58:00

The editors are contributed code, and don't work with the latest release. Even if they did compile without problems, I think they are in infancy stages of development. Just ignore them for now. :wink:

twilight17

19-12-2007 22:40:50

ok thx