Ubuntu binary package and compiler errors
Posted: Wed Mar 17, 2010 15:44
Hello CrazyEddie,
Out of curiosity, do you know by chance why Ubuntu 10.04 ships libcegui-mk2-1 with version 0.6.2-3 only while Ubuntu 9.10 had already been shipped with version 0.6.2-1?
Second question: Is it known that the Ubuntu 9.10 binary package 'libcegui-mk2-1' in combination with its developer package 'libcegui-mk2-dev' throws compiler errors in the CEGUIListHeaderSegment.h file?
In my applications i use the following includes:
Thank you for your prompt answer.
Out of curiosity, do you know by chance why Ubuntu 10.04 ships libcegui-mk2-1 with version 0.6.2-3 only while Ubuntu 9.10 had already been shipped with version 0.6.2-1?
Second question: Is it known that the Ubuntu 9.10 binary package 'libcegui-mk2-1' in combination with its developer package 'libcegui-mk2-dev' throws compiler errors in the CEGUIListHeaderSegment.h file?
Code: Select all
In file included from /usr/include/CEGUI/elements/CEGUIListHeader.h:35,
from /usr/include/CEGUI/CEGUI.h:83,
from main.h:16,
from main.cpp:1:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:87: error: expected identifier before numeric constant
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:87: error: expected ‘}’ before numeric constant
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:87: error: expected unqualified-id before numeric constant
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:103: error: non-member function ‘bool CEGUI::isSizingEnabled()’ cannot have cv-qualifier
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::isSizingEnabled()’:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:103: error: ‘d_sizingEnabled’ was not declared in this scope
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:118: error: ‘SortDirection’ does not name a type
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:128: error: non-member function ‘bool CEGUI::isDragMovingEnabled()’ cannot have cv-qualifier
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::isDragMovingEnabled()’:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:128: error: ‘d_movingEnabled’ was not declared in this scope
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:138: error: non-member function ‘const CEGUI::Point& CEGUI::getDragMoveOffset()’ cannot have cv-qualifier
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘const CEGUI::Point& CEGUI::getDragMoveOffset()’:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:138: error: ‘d_dragPosition’ was not declared in this scope
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:148: error: non-member function ‘bool CEGUI::isClickable()’ cannot have cv-qualifier
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::isClickable()’:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:148: error: ‘d_allowClicks’ was not declared in this scope
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:155: error: non-member function ‘bool CEGUI::isSegmentHovering()’ cannot have cv-qualifier
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::isSegmentHovering()’:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:155: error: ‘d_segmentHover’ was not declared in this scope
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:162: error: non-member function ‘bool CEGUI::isSegmentPushed()’ cannot have cv-qualifier
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::isSegmentPushed()’:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:162: error: ‘d_segmentPushed’ was not declared in this scope
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:169: error: non-member function ‘bool CEGUI::isSplitterHovering()’ cannot have cv-qualifier
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::isSplitterHovering()’:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:169: error: ‘d_splitterHover’ was not declared in this scope
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:176: error: non-member function ‘bool CEGUI::isBeingDragMoved()’ cannot have cv-qualifier
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::isBeingDragMoved()’:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:176: error: ‘d_dragMoving’ was not declared in this scope
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:183: error: non-member function ‘bool CEGUI::isBeingDragSized()’ cannot have cv-qualifier
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::isBeingDragSized()’:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:183: error: ‘d_dragSizing’ was not declared in this scope
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:186: error: non-member function ‘const CEGUI::Image* CEGUI::getSizingCursorImage()’ cannot have cv-qualifier
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:187: error: non-member function ‘const CEGUI::Image* CEGUI::getMovingCursorImage()’ cannot have cv-qualifier
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:221: error: variable or field ‘setSortDirection’ declared void
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:221: error: ‘SortDirection’ was not declared in this scope
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:263: error: expected unqualified-id before ‘const’
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:263: error: expected ‘)’ before ‘const’
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:270: error: declaration of ‘~CEGUI::ListHeaderSegment’ as non-member
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:273: error: expected unqualified-id before ‘protected’
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:349: error: ‘virtual’ outside class declaration
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:349: error: non-member function ‘bool CEGUI::testClassName_impl(const CEGUI::String&)’ cannot have cv-qualifier
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::testClassName_impl(const CEGUI::String&)’:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:352: error: cannot call member function ‘virtual bool CEGUI::Window::testClassName_impl(const CEGUI::String&) const’ without object
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:363: error: ‘virtual’ outside class declaration
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:370: error: ‘virtual’ outside class declaration
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:377: error: ‘virtual’ outside class declaration
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:384: error: ‘virtual’ outside class declaration
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:391: error: ‘virtual’ outside class declaration
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:398: error: ‘virtual’ outside class declaration
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:405: error: ‘virtual’ outside class declaration
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:412: error: ‘virtual’ outside class declaration
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:419: error: ‘virtual’ outside class declaration
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:426: error: ‘virtual’ outside class declaration
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:432: error: ‘virtual’ outside class declaration
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:433: error: ‘virtual’ outside class declaration
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:434: error: ‘virtual’ outside class declaration
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:435: error: ‘virtual’ outside class declaration
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:436: error: ‘virtual’ outside class declaration
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:437: error: ‘virtual’ outside class declaration
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:452: error: ‘SortDirection’ does not name a type
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:462: error: expected unqualified-id before ‘private’
/usr/include/CEGUI/elements/CEGUIListHeaderSegment.h:480: error: expected declaration before ‘}’ token
In my applications i use the following includes:
Code: Select all
// FreeGLUT includes
#include <GL/freeglut.h>
#include <GL/glx.h>
// CEGUI includes
#include <RendererModules/OpenGLGUIRenderer/openglrenderer.h>
#include <CEGUI.h>
#include <CEGUIDefaultResourceProvider.h>
Thank you for your prompt answer.