rev 4509 compile error on MAC

Discussion about CodeLite development process and patches
frank_frl
CodeLite Expert
Posts: 176
Joined: Sun Aug 17, 2008 2:45 pm
Contact:

rev 4509 compile error on MAC

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: rev 4509 compile error on MAC

Post 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
Make sure you have read the HOW TO POST thread
frank_frl
CodeLite Expert
Posts: 176
Joined: Sun Aug 17, 2008 2:45 pm
Contact:

Re: rev 4509 compile error on MAC

Post 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
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: rev 4509 compile error on MAC

Post 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
Make sure you have read the HOW TO POST thread
frank_frl
CodeLite Expert
Posts: 176
Joined: Sun Aug 17, 2008 2:45 pm
Contact:

Re: rev 4509 compile error on MAC

Post by frank_frl »

Hi Eran,

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

Frank
Post Reply