Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Patches to compile and link C::B against wxWidgets 2.8.0
SolidNuts:
--- Code: ---g++ -DHAVE_CONFIG_H -I. -I../../../../../src/sdk -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__WXGTK__
-pthread -I../../../../../src/sdk -I../../../../../src/sdk/wxscintilla/include -I../../../../../src/sdk/propgrid/include -O2
-ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -MT wxsarraystringeditordlg.lo
-MD -MP -MF .deps/wxsarraystringeditordlg.Tpo -c
./wxsarraystringeditordlg.cpp -fPIC -DPIC -o .libs/wxsarraystringeditordlg.o
./wxsarraystringeditordlg.h:31: error: extra qualification 'wxsArrayStringEditorDlg::' on member 'OnCancel'
--- End code ---
That's the problem =/.. almost working.. =D
However, it's already working with wx2.8 :D, just need to compile the last plugins when this problem get solved.
EDIT: Strange.. I recompiled everything and I didn't get this error anymore o.O
Ryu:
Hey, everybody, ¡¡ GOOD NEW YEAR!! :lol:
Now, I have the revision 3474 and I trying to compile with the new wxWidgets with the last wxGridProperty but from a few revisons to it I always have this error:
g++ -DHAVE_CONFIG_H -I. -I. -I. -I/opt/wx/2.8//lib/wx/include/gtk2-unicode-release-2.8 -I/opt/wx/2.8//include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D__WXGTK__ -pthread -I../../src/sdk/wxscintilla/include -I../../src/sdk/tinyxml -I../../src/sdk/scripting/include -I../../src/sdk/scripting/sqplus -I../../src/sdk/wxFlatNotebook/include -I../../src/sdk/propgrid/include -O2 -ffast-math -O3 -mmmx -march=pentium4 -funroll-loops -fexpensive-optimizations -fPIC -DPIC -MT editorconfigurationdlg.lo -MD -MP -MF .deps/editorconfigurationdlg.Tpo -c editorconfigurationdlg.cpp -fPIC -DPIC -o .libs/editorconfigurationdlg.o
editorconfigurationdlg.cpp: In constructor `
EditorConfigurationDlg::EditorConfigurationDlg(wxWindow*)':
editorconfigurationdlg.cpp:235: error: invalid use of undefined type `struct
wxImageList'
/opt/wx/2.8/include/wx-2.8/wx/generic/listctrl.h:16: error: forward declaration
of `struct wxImageList'
editorconfigurationdlg.cpp:240: error: `Add' undeclared (first use this
function)
editorconfigurationdlg.cpp:240: error: (Each undeclared identifier is reported
only once for each function it appears in.)
editorconfigurationdlg.cpp: In member function `void
EditorConfigurationDlg::AddPluginPanels()':
editorconfigurationdlg.cpp:281: error: `Add' undeclared (first use this
function)
editorconfigurationdlg.cpp:283: error: `GetImageCount' undeclared (first use
this function)
editorconfigurationdlg.cpp: In member function `void
EditorConfigurationDlg::UpdateSampleFont(bool)':
editorconfigurationdlg.cpp:488: warning: `__comp_ctor' is deprecated (declared
at /opt/wx/2.8/include/wx-2.8/wx/gtk/fontdlg.h:48)
make[4]: *** [editorconfigurationdlg.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
So,someone can help me. :?
PD: I don't know if this post can be done here.
Please excuse me if that is the case.
stahta01:
--- Quote from: Ryu on January 10, 2007, 07:00:31 pm ---Hey, everybody, ¡¡ GOOD NEW YEAR!! :lol:
Now, I have the revision 3474 and I trying to compile with the new wxWidgets with the last wxGridProperty but from a few revisons to it I always have this error:
--- End quote ---
What version of wxWidgets 2.8? 2.8.0? 2.8.1? 2.8-cvs?
What version of wxPropertyGrid ? 1.2.5? 1.2.6prelease?
What OS? Linux? Windows?
Note: I have not tested it today or yesterday, the changes they did could have broken it.
Will try it right now.
The changes broke some of the patches, will work on them tomorrow.
Tim S
Ryu:
Hey, stahta01
I'm sorry, the information is:
wxWidgets 2.8.0 (oficial release)
wxPropertyGrid 1.2.5
SO: Linux
stahta01:
--- Quote from: Ryu on January 10, 2007, 07:25:23 pm ---Hey, stahta01
I'm sorry, the information is:
wxWidgets 2.8.0 (oficial release)
wxPropertyGrid 1.2.5
SO: Linux
--- End quote ---
wxPropertyGrid 1.2.5 had Linux issue in it.
Please try the snapshot at
http://wxpropgrid.sourceforge.net/cgi-bin/index?page=download#snapshots
Or Try my C::B patch 1.2.6Prerelease at
--- Quote from: stahta01 on December 04, 2006, 02:53:25 pm ---http://www.savefile.com/projects/1039215
wxpropgrid_1_2_6_prerelease-unix.patch
Tim S
--- End quote ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version