User forums > Help

Error building SVN Revision 3885

<< < (2/2)

diilbert:
Ditto on that. 

Any thoughts would be appreciated ;)

diilbert:
Are there any suggestions for a solution to this issue?  I have tried building wxGTK 2.8.0 w/ --enable-compat26 w/o success.

wxLearner:
Including <wx/notebook.h> in wxsnotebook.cpp should be a solution.

diilbert:
Another error from wxSmith ... this time with wxslistbook.cpp:


--- Code: ---g++ -DHAVE_CONFIG_H -I. -I. -I../../../../../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -I../../../../../../src/include -I../../../../../../src/include/wxFlatNotebook/include -I../../../../../../src/include/wxscintilla/include -I../../../../../../src/include/wxFlatNotebook -I. ./../../../../../src/include/propgrid/include -DWXMAKINGLIB_PROPGRID -DwxPG_COMPATIBILITY_1_0_0 -Ulinux -Uunix -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -MT wxslistbook.lo -MD -MP -MF .deps/wxslistbook.Tpo -c ./wxslistbook.cpp  -fPIC -DPIC -o .libs/wxslistbook.o
/usr/include/wx-2.8/wx/listbook.h: In member function 'virtual bool wxsListbook::OnMouseClick(wxWindow*, int, int)':
/usr/include/wx-2.8/wx/listbook.h:94: error: 'virtual int wxListbook::HitTest(const wxPoint&, long int*) const' is protected
./wxslistbook.cpp:301: error: within this context
make[6]: *** [wxslistbook.lo] Error 1
make[6]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib/wxS                                                                                                                        mith/wxwidgets/defitems'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib/wxS                                                                                                                        mith/wxwidgets'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib/wxS                                                                                                                        mith'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins/contrib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/hillsro/svn/codeblocks/src/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hillsro/svn/codeblocks/src'
make: *** [all-recursive] Error 1

--- End code ---

And this is the line in wxslistbook.cpp that is causing the issue


--- Code: ---From function:  bool wxsListbook::OnMouseClick(wxWindow* Preview,int PosX,int PosY)

int Hit = Listbook->HitTest(wxPoint(PosX,PosY));


--- End code ---

byo:
Can't be, I've checked wx headers (wx2.8.3) and it's public function. Please check if you have the latest wx headers

BYO

Navigation

[0] Message Index

[*] Previous page

Go to full version