News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

raw patches?

Started by ir0nk0ala, March 02, 2007, 02:55:35 AM

Previous topic - Next topic

ir0nk0ala

I'm trying to compile CB under wx2.8, but the patches I read were essential are in raw form. How would I go about installing these? Thanks.

stahta01

#1
Quote from: ir0nk0ala on March 02, 2007, 02:55:35 AM
I'm trying to compile CB under wx2.8, but the patches I read were essential are in raw form. How would I go about installing these? Thanks.

What OS? Windows? Linux? XP?

Which wxWidgets 2.8? (2.8.0, 2.8.2rc1, CVS Branch, CVS Head)

Do you use wxSmith?
The plugin wxSmith is almost everything that is known to need patched for wxWidgets 2.8.

Skill Level Questions Below.
Can you compile wxWidgets on your own?
Have you compiled Code::Blocks from SVN source already?

Tim S
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

jpaterso

Basically you need a utility called 'patch', which comes with Unix. A version is also available for windows, check out http://gnuwin32.sourceforge.net/

Joseph.

stahta01

#3
Quote from: jpaterso on March 02, 2007, 10:26:21 AM
Basically you need a utility called 'patch', which comes with Unix. A version is also available for windows, check out http://gnuwin32.sourceforge.net/

Joseph.

FYI: I have had issues with the gnuwin32 patch command using unified diffs to patch wxWidgets.

I use the MinGW msysCORE patch or the UnxUtils patch both sites on sf.net.

Quote
Note: I am using the "patch" command from UnxUtils from
http://sourceforge.net/projects/unxutils

Note: I am using the "unix2dos" command from MinGW
http://sourceforge.net/projects/mingw/
http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=82721&release_id=158859
(mingw-utils-0.3)

Tim S

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

ir0nk0ala

#4
Quote from: stahta01 on March 02, 2007, 06:17:09 AM
Quote from: ir0nk0ala on March 02, 2007, 02:55:35 AM
I'm trying to compile CB under wx2.8, but the patches I read were essential are in raw form. How would I go about installing these? Thanks.

What OS? Windows? Linux? XP?

Which wxWidgets 2.8? (2.8.0, 2.8.2rc1, CVS Branch, CVS Head)

Do you use wxSmith?
The plugin wxSmith is almost everything that is known to need patched for wxWidgets 2.8.

Skill Level Questions Below.
Can you compile wxWidgets on your own?
Have you compiled Code::Blocks from SVN source already?

Tim S
Sorry for the lack of details:
Ubuntu 6.10, wx2.8.0
I didn't plan on using wxSmith (I just got DialogBlocks with the official wxWidgets reference book).
As for my skill level, I've compiled CB from SVN source every night for a while now, but I've always had trouble with compiling wx. I should be able to get it in working order tonight though, and I'll add the CB patches with the utility you mentioned (just in case I decide to use wxSmith later). Thanks guys  :).