News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Compilation problem with wxWidgets-2.6.2 and 2.6.3!

Started by milojerome, December 22, 2006, 03:45:17 PM

Previous topic - Next topic

stahta01

#15
Quote from: stahta01 on December 22, 2006, 05:20:43 PM
I am looking for why

missing header for unified diff at line 1907 of patch
can't find file to patch at input line 1907
Perhaps you used the wrong -p or --strip option?

is happening.

Tim S

The gnuwin32 patch is causing this problem, does NOT happen with MSYS patch command.
To install MSYS  download MSYS-1.0.11-2004.04.30-1.exe  from http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=82724&release_id=158862
Then http://umn.dl.sourceforge.net/sourceforge/mingw/diffutils-2.8.7-MSYS-1.0.11-snapshot.tar.bz2
for patch command.
Install MSYS-1.0.11-2004.04.30-1.exe
Then Install diffutils-2.8.7-MSYS-1.0.11-snapshot.tar.bz2
Tim S

SET PATH=C:\msys\1.0\bin
patch --unified --strip=0 --ignore-whitespace --forward --input=mypatch_2.6_BRANCH.patch

The above should apply patch then.
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]

milojerome

The patch and the compilation works fine!
Thanks!!!