User forums > Help
wxAuiTabCtrlcbauibook.cpp:414:39: error: 'class wxAuiTabCtrl' has no member name
smallB:
Guys, I'm trying to build cb on Mint14, I've built already WxWidgets 281, but when make is executed on codeblocks I'm getting: cbauibook.cpp:414:39: error: 'class wxAuiTabCtrl' has no member named 'GetToolTip' and:
cbauibook.cpp:415:32: error: invalid use of incomplete type 'class wxToolTip'
Anybody knows how to solve it?
Thank you.
Jenna:
As first I suggest to use the wxwidgets shipped with your linux distro whenever possible.
Second which version of wxWidgets do you use ?
What compiler version do you use ?
Do you work on 32 or 64-bit ?
And which version of C::B do you try to build ?
Which project- or workspacefile do you try to build or do you use autotools ?
Jenna:
One of the base-classes of wxAuiTabCtrl is wxControl.
And wxControl is derived from wxWindow (and others).
wxWindow has the function GetToolTip() for all wx2.8 versions.
smallB:
Hi, thanks for your reply. Will try what you've suggested. Thank you.
stahta01:
--- Quote from: smallB on February 08, 2013, 11:08:24 am ---cbauibook.cpp:415:32: error: invalid use of incomplete type 'class wxToolTip'
--- End quote ---
--- Quote from: jens on February 08, 2013, 11:56:01 am ---And which version of C::B do you try to build ?
--- End quote ---
Question in addition to jens questions.
Are you compiling with Pre-compiled headers or without them?
Most people compile CB with Pre-compiled headers;
every so often this type of error happens because of missing includes in CB source for NON Pre-compiled header builds.
Tim S.
Navigation
[0] Message Index
[#] Next page
Go to full version