Jump to content

compilation error


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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...