Jump to content

compilation error


rd_o
 Share

Recommended Posts

Compilation error:

ActorEditorListCtrl.cpp

ColourTesterImageCtrl.cpp

ColourTester.cpp

ColourTesterColourCtrl.cpp

ColourTesterFileCtrl.cpp

ActionButton.cpp

ToolButton.cpp

Canvas.cpp

ColourDialog.cpp

In file included from ../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:20:

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.h:21: error: expected class-name before '{' token

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.h:21: warning: 'class Canvas' has virtual functions and accessible non-virtual destructor

DraggableListCtrlCommands.cpp

DraggableListCtrl.cpp

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp: In constructor 'Canvas::Canvas(wxWindow*, int*, long int)':

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:26: error: class 'Canvas' does not have any field named 'wxGLCanvas'

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp: In member function 'void Canvas::OnResize(wxSizeEvent&)':

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:37: error: 'GetClientSize' was not declared in this scope

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp: In member function 'void Canvas::InitSize()':

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:44: error: 'SetSize' was not declared in this scope

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp: In member function 'void Canvas::OnMouse(wxMouseEvent&)':

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:68: error: 'CaptureMouse' was not declared in this scope

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:76: error: 'ReleaseMouse' was not declared in this scope

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:81: error: 'SetFocus' was not declared in this scope

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp: At global scope:

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:94: error: 'wxGLCanvas' has not been declared

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:95: error: invalid static_cast from type 'void (Canvas::*)(wxSizeEvent&)' to type 'void (wxEvtHandler::*)(wxSizeEvent&)'

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:96: error: invalid static_cast from type 'void (Canvas::*)(wxMouseEvent&)' to type 'void (wxEvtHandler::*)(wxMouseEvent&)'

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:97: error: invalid static_cast from type 'void (Canvas::*)(wxMouseEvent&)' to type 'void (wxEvtHandler::*)(wxMouseEvent&)'

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:98: error: invalid static_cast from type 'void (Canvas::*)(wxMouseEvent&)' to type 'void (wxEvtHandler::*)(wxMouseEvent&)'

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:99: error: invalid static_cast from type 'void (Canvas::*)(wxMouseEvent&)' to type 'void (wxEvtHandler::*)(wxMouseEvent&)'

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:100: error: invalid static_cast from type 'void (Canvas::*)(wxMouseEvent&)' to type 'void (wxEvtHandler::*)(wxMouseEvent&)'

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:101: error: invalid static_cast from type 'void (Canvas::*)(wxMouseEvent&)' to type 'void (wxEvtHandler::*)(wxMouseEvent&)'

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:102: error: invalid static_cast from type 'void (Canvas::*)(wxMouseEvent&)' to type 'void (wxEvtHandler::*)(wxMouseEvent&)'

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:103: error: invalid static_cast from type 'void (Canvas::*)(wxMouseEvent&)' to type 'void (wxEvtHandler::*)(wxMouseEvent&)'

../../../source/tools/atlas/AtlasUI/CustomControls/Canvas/Canvas.cpp:104: error: invalid static_cast from type 'void (Canvas::*)(wxMouseCaptureChangedEvent&)' to type 'void (wxEvtHandler::*)(wxMouseCaptureChangedEvent&)'

make[1]: *** [obj/AtlasUI_Release/Canvas.o] Error 1

make[1]: *** Waiting for unfinished jobs....

make: *** [AtlasUI] Error 2

0ad-r07732-pre-alpha

Gentoo x86_64

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...