Author Topic: Prep-work: Patches to compile and link C::B against wxWidgets 2.9  (Read 7345 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
This thread is to cover the patches needed to get Code::Blocks to compile and link against wxWidgets 2.9.

NOTE: I think I need to start writing patches for wxWidgets 2.9, I am having issues compiling C::B with just the 2.8 Patches.


Status: I have started work again on this because wxWidgets 2.9 seems to be semi-stable right now.
See http://www.wxwidgets.org/wiki/index.php/Development:_UTF-8_Support#Incompatible_changes
Note: wxPropertyGrid 1.2.7 or 1.2.8 works better with wxWidgets 2.9.



Note: wxWidgets 2.9 has not been released, but they are planning on starting work in the next month. It could be 6 months or so before a development release is done. This thread will be against CVS head.

Note: CVS Head has been changed a lot in the past two days (15Mar-17Mar), they have started to add minor changes to many files in order to begin the work needed by UTF8 ( this is a high priority task for wxWidgets 2.10/3.0 )

Note: The future release of 2.10 is undecided, they may go directly to 3.0 after the 2.9 series.

Note: These patches are useful ONLY to developers who can compile C::B from SVN
Note: These patches have yet to be approved by the Code::Blocks team.
Note: AS-IS No warranty, use with caution.
Note: This research is a follow on to work in thread http://forums.codeblocks.org/index.php?topic=4495.0
Note: This thread will reference my work on upgrading wxPropertyGrid
     http://forums.codeblocks.org/index.php?topic=4638.0
Note: This thread will reference my work on using sed to modify cbp files
     http://forums.codeblocks.org/index.php?topic=5199.0

Tim S
« Last Edit: July 30, 2007, 09:27:51 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: Patches to compile and link C::B against wxWidgets 2.9
« Reply #1 on: January 21, 2007, 08:17:24 am »
This message is a placeholder for the patches needed before the wxWidgets 2.9 only patches can be applied.
Tim S



 
« Last Edit: July 30, 2007, 09:28:20 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: Prep-work: Patches to compile and link C::B against wxWidgets 2.9
« Reply #2 on: January 21, 2007, 12:08:29 pm »
I don't think we should prepare C::B for wx2.9 it is an unstable version... Let us first be stable for 2.8
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: Prep-work: Patches to compile and link C::B against wxWidgets 2.9
« Reply #3 on: January 21, 2007, 12:37:31 pm »
I don't think we should prepare C::B for wx2.9 it is an unstable version... Let us first be stable for 2.8

I agree that the patches should NOT be applied to SVN, but I find it easier to backport the fixes the wxWidgets team produces when I can verify that the C::B issue is fixed by the current CVS code.
 
I assume that this will work the same as my 2.7 and 2.8 patches and they will NOT be accepted till 2.10 wxWidgets is released. I assume at least 9 to 12 months till 2.10 is released.

I plan to uploaded my 2.9 patches to http://www.savefile.com/projects/1039215

The patches needed to compile C::B with the setup.h having  WXWIN_COMPATIBILITY_2_6=0 or configuration with --disable-compat26 may be uploaded to Berlios because they can be used building wxWidgets 2.8. (for now I plan to upload them to savefile.com)

Tim S
« Last Edit: July 30, 2007, 09:37:08 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7785
    • My Best Post
Re: Prep-work: Patches to compile and link C::B against wxWidgets 2.9
« Reply #4 on: March 01, 2007, 09:19:00 pm »
Edit:

I am redoing all my patches needed to get Code::Blocks built using wxWidgets 2.9.
On 2007-07-29, I was able to get Code::Blocks to compile and link; it also was able to compile Code::Blocks.
Note, it did crash on closing application and I had to comment out the body of method wxBase64::Decode in base64.cpp.

Tim S
« Last Edit: July 30, 2007, 09:32:13 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org