Author Topic: Compilation problem with wxWidgets-2.6.2 and 2.6.3!  (Read 11348 times)

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
« Reply #15 on: December 22, 2006, 05:42:59 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.
« Last Edit: December 22, 2006, 05:46:47 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

milojerome

  • Guest
Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
« Reply #16 on: December 22, 2006, 07:00:52 pm »
The patch and the compilation works fine!
Thanks!!!