CEGUI and GLee

Forum for general chit-chat or off-topic discussion.

Moderators: CEGUI MVP, CEGUI Team

arbuckle
Just popping in
Just popping in
Posts: 6
Joined: Fri May 19, 2006 17:09

CEGUI and GLee

Postby arbuckle » Thu Feb 01, 2007 17:47

I'm trying to use CEGUI and GLee in the same project. (GLee is an open source opengl extension loader.) http://elf-stone.com/glee.php I'm sure GLee is compiling because if I put both the .c and .h file in the project they compile without errors or warnings. As soon as I include glee.h into a file what needs CEGUI as well I get hundreads of compile errors. here are some of them. GLee is very popular perhaps it would be a good idea to resolve this issue in future releases of CEGUI. (Or maybe I'm doing something wrong with the includes)

g++ -c -O2 -I/usr/include/Cg -I/usr/include/SDL -I/usr/local/include/CEGUI -I/usr/local/include/CEGUI/RendererModules/OpenGLGUIRenderer -I/usr/local/include/IL -I/usr/local/include/raknet -o build/Release/GNU-Linux-x86/app.o app.cpp
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:87: error: expected identifier before numeric constant
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:87: error: expected `}' before numeric constant
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:87: error: expected unqualified-id before numeric constant
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:103: error: non-member function ‘bool CEGUI::isSizingEnabled()’ cannot have cv-qualifier
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::isSizingEnabled()’:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:103: error: ‘d_sizingEnabled’ was not declared in this scope
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:118: error: ‘SortDirection’ does not name a type
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:128: error: non-member function ‘bool CEGUI::isDragMovingEnabled()’ cannot have cv-qualifier
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::isDragMovingEnabled()’:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:128: error: ‘d_movingEnabled’ was not declared in this scope
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:138: error: non-member function ‘const CEGUI::Point& CEGUI::getDragMoveOffset()’ cannot have cv-qualifier
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘const CEGUI::Point& CEGUI::getDragMoveOffset()’:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:138: error: ‘d_dragPosition’ was not declared in this scope
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:148: error: non-member function ‘bool CEGUI::isClickable()’ cannot have cv-qualifier
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::isClickable()’:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:148: error: ‘d_allowClicks’ was not declared in this scope
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:155: error: non-member function ‘bool CEGUI::isSegmentHovering()’ cannot have cv-qualifier
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::isSegmentHovering()’:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:155: error: ‘d_segmentHover’ was not declared in this scope
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:162: error: non-member function ‘bool CEGUI::isSegmentPushed()’ cannot have cv-qualifier
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::isSegmentPushed()’:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:162: error: ‘d_segmentPushed’ was not declared in this scope
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:169: error: non-member function ‘bool CEGUI::isSplitterHovering()’ cannot have cv-qualifier
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::isSplitterHovering()’:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:169: error: ‘d_splitterHover’ was not declared in this scope
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:176: error: non-member function ‘bool CEGUI::isBeingDragMoved()’ cannot have cv-qualifier
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::isBeingDragMoved()’:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:176: error: ‘d_dragMoving’ was not declared in this scope
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:183: error: non-member function ‘bool CEGUI::isBeingDragSized()’ cannot have cv-qualifier
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::isBeingDragSized()’:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:183: error: ‘d_dragSizing’ was not declared in this scope
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:186: error: non-member function ‘const CEGUI::Image* CEGUI::getSizingCursorImage()’ cannot have cv-qualifier
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:187: error: non-member function ‘const CEGUI::Image* CEGUI::getMovingCursorImage()’ cannot have cv-qualifier
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:221: error: variable or field ‘setSortDirection’ declared void
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:221: error: ‘SortDirection’ was not declared in this scope
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:263: error: expected unqualified-id before ‘const’
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:263: error: expected `)' before ‘const’
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:270: error: declaration of ‘~CEGUI::ListHeaderSegment’ as non-member
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:273: error: expected unqualified-id before ‘protected’
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:349: error: virtual outside class declaration
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:349: error: non-member function ‘bool CEGUI::testClassName_impl(const CEGUI::String&)’ cannot have cv-qualifier
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: In function ‘bool CEGUI::testClassName_impl(const CEGUI::String&)’:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:352: error: cannot call member function ‘virtual bool CEGUI::Window::testClassName_impl(const CEGUI::String&) const’ without object
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h: At global scope:
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:363: error: virtual outside class declaration
/usr/local/include/CEGUI/elements/CEGUIListHeaderSegment.h:370: error: virtual outside class declaration

Return to “Offtopic Discussion”

Who is online

Users browsing this forum: No registered users and 6 guests