Page 1 of 1

rev 4509 compile error on MAC

Posted: Mon Oct 25, 2010 2:49 pm
by frank_frl
Hi Eran,

rev 4509 has build errors on OSX.

1. Missing #include <string> in stringaccessor.h
2.

Code: Select all

LiteEditor/advanced_settings.h:54: warning: ‘class ICompilerSubPage’ has virtual functions but non-virtual destructor
LiteEditor/frame.cpp: In member function ‘void clMainFrame::CreateGUIControls()’:
LiteEditor/frame.cpp:723: error: ‘wxAUI_MGR_LIVE_RESIZE’ was not declared in this scope
make: *** [Release_gcc_unicode/frame.o] Error 1
Frank

Re: rev 4509 compile error on MAC

Posted: Mon Oct 25, 2010 4:29 pm
by eranif
About the <string> I already added that on my local repo but I forgot to commit it

About the missing flag:
It compiles fine here, which wx version are you using? (I am using 2.8.11)

Eran

Re: rev 4509 compile error on MAC

Posted: Mon Oct 25, 2010 4:53 pm
by frank_frl
eranif wrote:About the missing flag:
It compiles fine here, which wx version are you using? (I am using 2.8.11)
I'm using 2.8.11 build with wxUSE_AUI

Frank

Re: rev 4509 compile error on MAC

Posted: Mon Oct 25, 2010 7:56 pm
by eranif
If you are using 2.8.11 + wxUSE_AUI
Then you should have this enum:

Code: Select all

enum wxAuiManagerOption
{
    wxAUI_MGR_ALLOW_FLOATING           = 1 << 0,
    wxAUI_MGR_ALLOW_ACTIVE_PANE        = 1 << 1,
    wxAUI_MGR_TRANSPARENT_DRAG         = 1 << 2,
    wxAUI_MGR_TRANSPARENT_HINT         = 1 << 3,
    wxAUI_MGR_VENETIAN_BLINDS_HINT     = 1 << 4,
    wxAUI_MGR_RECTANGLE_HINT           = 1 << 5,
    wxAUI_MGR_HINT_FADE                = 1 << 6,
    wxAUI_MGR_NO_VENETIAN_BLINDS_FADE  = 1 << 7,
    wxAUI_MGR_LIVE_RESIZE              = 1 << 8,

    wxAUI_MGR_DEFAULT = wxAUI_MGR_ALLOW_FLOATING |
                        wxAUI_MGR_TRANSPARENT_HINT |
                        wxAUI_MGR_HINT_FADE |
                        wxAUI_MGR_NO_VENETIAN_BLINDS_FADE
};
At the start of the file "/usr/include/wx-2.8/wx/aui/framemanager.h"
Can you confirm this?
Eran

Re: rev 4509 compile error on MAC

Posted: Mon Oct 25, 2010 8:22 pm
by frank_frl
Hi Eran,

sorry my fault, it was a conflict between my own compiled wxWidgets version and the installed one.

Frank