rogerdv
22-08-2008 20:26:19
I got the latest version and tried to compile it under Linux. First, including the code in my project. Then using cmake. In both cases I got this:
I would like to have the source included in my project, so the user doesnt needs to download and compile an extra dependency. Im also trying to get the tar.bz release, in case there is some change, but the file seems to be unavailable. Do I need different codes for Windows and Linux?
/home/roger/projects/QuickGUIv0.9.7/QuickGUI/src/QuickGUINStateButton.cpp: In member function ‘virtual void QuickGUI::NStateButton::applyButtonDownTexture()’:
/home/roger/projects/QuickGUIv0.9.7/QuickGUI/src/QuickGUINStateButton.cpp:60: error: no se puede hacer dynamic_cast ‘it.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = QuickGUI::Widget**, _Container = std::vector<QuickGUI::Widget*, std::allocator<QuickGUI::Widget*> >]()’ (de tipo ‘class QuickGUI::Widget*’) al tipo ‘struct QuickGUI::Border*’ (target is not pointer or reference to complete type)
/home/roger/projects/QuickGUIv0.9.7/QuickGUI/src/QuickGUINStateButton.cpp: In member function ‘virtual void QuickGUI::NStateButton::applyButtonOverTexture()’:
/home/roger/projects/QuickGUIv0.9.7/QuickGUI/src/QuickGUINStateButton.cpp:81: error: no se puede hacer dynamic_cast ‘it.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = QuickGUI::Widget**, _Container = std::vector<QuickGUI::Widget*, std::allocator<QuickGUI::Widget*> >]()’ (de tipo ‘class QuickGUI::Widget*’) al tipo ‘struct QuickGUI::Border*’ (target is not pointer or reference to complete type)
/home/roger/projects/QuickGUIv0.9.7/QuickGUI/src/QuickGUINStateButton.cpp: In member function ‘virtual void QuickGUI::NStateButton::applyDefaultTexture()’:
/home/roger/projects/QuickGUIv0.9.7/QuickGUI/src/QuickGUINStateButton.cpp:102: error: no se puede hacer dynamic_cast ‘it.__gnu_cxx::__normal_iterator<_Iterator, _Container>::operator* [with _Iterator = QuickGUI::Widget**, _Container = std::vector<QuickGUI::Widget*, std::allocator<QuickGUI::Widget*> >]()’ (de tipo ‘class QuickGUI::Widget*’) al tipo ‘struct QuickGUI::Border*’ (target is not pointer or reference to complete type)
make[2]: *** [QuickGUI/src/CMakeFiles/QuickGUI.dir/QuickGUINStateButton.o] Error 1
make[1]: *** [QuickGUI/src/CMakeFiles/QuickGUI.dir/all] Error 2
I would like to have the source included in my project, so the user doesnt needs to download and compile an extra dependency. Im also trying to get the tar.bz release, in case there is some change, but the file seems to be unavailable. Do I need different codes for Windows and Linux?