Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Patches to compile and link C::B against wxWidgets 2.8.0

<< < (20/25) > >>

David Perfors:
I am using the latest svn version now, but I still can't compile against 2.8. There seems to be a problem with the wxStartTime() and wxGetElapsedTime() (or something like that) in wxScintella. Those functions are deprecated (according to the documentation) but do not exist in the header files of wx.

stahta01:

--- Quote from: mispunt on December 28, 2006, 12:30:20 pm ---I am using the latest svn version now, but I still can't compile against 2.8. There seems to be a problem with the wxStartTime() and wxGetElapsedTime() (or something like that) in wxScintella. Those functions are deprecated (according to the documentation) but do not exist in the header files of wx.

--- End quote ---

Have you applied the patches in the first message in this thread?
http://forums.codeblocks.org/index.php?topic=4495.msg35563#msg35563

Added patches needed below.

Patches to Code::Blocks projects files (Needed by windows Users ONLY):
 [ Patch #1733 ] wxmsw28 patch for wxWidgets 2.8
   https://developer.berlios.de/patch/?func=detailpatch&patch_id=1733&group_id=5358
 
Patches to core Code::Blocks project:
 [ Patch #1737 ] selecttargetdlg patch for wxWidgets 2.8 Submitted By: stahta01
   https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=1737&group_id=5358
 [ Patch #1731 ] scripting patch for wxWidgets 2.8
   https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=1731&group_id=5358

Patches to contrib Code::Blocks projects:
[ Patch #1732 ] keybinder plugin patches for wxWidgets 2.8 Submitted By: stahta01 based on afb work.
   https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=1732&group_id=5358

I am assuming Win XP and unicode is this correct?

How did you get wxWidgets 2.8.0? They had some issues packaging it, I downloaded the file wxMSW-2.8.0.tar.bz2.

Tim S

stahta01:

--- Quote from: mispunt on December 28, 2006, 12:30:20 pm ---I am using the latest svn version now, but I still can't compile against 2.8. There seems to be a problem with the wxStartTime() and wxGetElapsedTime() (or something like that) in wxScintella. Those functions are deprecated (according to the documentation) but do not exist in the header files of wx.

--- End quote ---

Please verify the following is set to 1 in lib\gcc_dll\mswu\wx\setup.h

wxUSE_LONGLONG
WXWIN_COMPATIBILITY_2_6

They guard the code in wx/stopwatch.h

Tim S

David Perfors:
I didn't apply those patches, the first one, I didn't see :P so I did it by hand ;)
The other two are not relevant to the problem (I think)

I use XP and wx unicode build. I got the wxALL-2.8.0.something (don't know exactly).

I will look to the WXWIN_COMPATIBILITY_2_6. Most likely that is the problem :)

*Edit* That was the problem. I had compiled it without 2.6 compatibility...

stahta01:
The patch for the OLD wxSmith for wxWidgets 2.8.0 bug
 [ Patch #1771 ] Old wxSmith patch for wxListbook::HitTest protected wxW2.8
  https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=1771&group_id=5358

I just found out today that I was NOT testing with the final release of wxWidgets 2.8.0; when I changed I got an new error in the old wxSmith fix above.

Tim S

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version