Code::Blocks Forums

User forums => Help => Topic started by: milojerome on December 22, 2006, 03:45:17 pm

Title: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
Post by: milojerome on December 22, 2006, 03:45:17 pm
Hello,

I'm a new member on this forum and i would like to resolved a problem.

First, i would like to compile the svn source of Code::Blocks on Windows Xp. I followed the steps on the wiki page but when i did the following command to build the wxWidgets dll, i received an error.

mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1

a lots of warnings appears and after a few minutes i have this error:

mingw32-make: *** [gcc_mswudll\monodll_imagjpeg.o] Error 1

Can someone help me please!

Sorry for my english.

thanks in advance.
Title: Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
Post by: Der Meister on December 22, 2006, 03:48:51 pm
Unfortunately you didn't show us the real error. The line you posted is just a result of the error. It probably hides between these warnings and maybe these warnings have something to do with the error, too.
Title: Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
Post by: stahta01 on December 22, 2006, 04:12:36 pm
NOTE: If you're having errors because of libjpeg, you might want to look at this patch
[ 1606032 ] [2.6] jpeg boolean mingw API 3.8 fix backport
http://sourceforge.net/tracker/?func=detail&atid=309863&aid=1606032&group_id=9863

Tim S
Title: Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
Post by: milojerome on December 22, 2006, 04:14:20 pm
../../include/wx/longlong.h:86: warning: type attributes are honored only at typ
e definition
In file included from ../../include/wx/msw/mslu.h:16,
                 from ../../include/wx/msw/private.h:25,
                 from ../../include/wx/filefn.h:173,
                 from ../../include/wx/stream.h:26,
                 from ../../include/wx/image.h:24,
                 from ../../include/wx/imagjpeg.h:25,
                 from ../../src/common/imagjpeg.cpp:25:
../../include/wx/utils.h:51: warning: type attributes are honored only at type d
efinition
../../include/wx/utils.h:52: warning: type attributes are honored only at type d
efinition
../../include/wx/utils.h:53: warning: type attributes are honored only at type d
efinition
../../include/wx/utils.h:54: warning: type attributes are honored only at type d
efinition
../../include/wx/utils.h:55: warning: type attributes are honored only at type d
efinition
../../include/wx/utils.h:404: warning: type attributes are honored only at type
definition
../../include/wx/utils.h:468: warning: type attributes are honored only at type
definition
In file included from ../../include/wx/msw/private.h:27,
                 from ../../include/wx/filefn.h:173,
                 from ../../include/wx/stream.h:26,
                 from ../../include/wx/image.h:24,
                 from ../../include/wx/imagjpeg.h:25,
                 from ../../src/common/imagjpeg.cpp:25:
../../include/wx/log.h:76: warning: type attributes are honored only at type def
inition
../../include/wx/log.h:77: warning: type attributes are honored only at type def
inition
../../include/wx/log.h:78: warning: type attributes are honored only at type def
inition
../../include/wx/log.h:79: warning: type attributes are honored only at type def
inition
In file included from ../../include/wx/msw/private.h:27,
                 from ../../include/wx/filefn.h:173,
                 from ../../include/wx/stream.h:26,
                 from ../../include/wx/image.h:24,
                 from ../../include/wx/imagjpeg.h:25,
                 from ../../src/common/imagjpeg.cpp:25:
../../include/wx/log.h:533: warning: type attributes are honored only at type de
finition
In file included from ../../include/wx/filefn.h:173,
                 from ../../include/wx/stream.h:26,
                 from ../../include/wx/image.h:24,
                 from ../../include/wx/imagjpeg.h:25,
                 from ../../src/common/imagjpeg.cpp:25:
../../include/wx/msw/private.h:29: warning: type attributes are honored only at
type definition
../../include/wx/msw/private.h:30: warning: type attributes are honored only at
type definition
../../include/wx/msw/private.h:31: warning: type attributes are honored only at
type definition
In file included from ../../include/wx/image.h:24,
                 from ../../include/wx/imagjpeg.h:25,
                 from ../../src/common/imagjpeg.cpp:25:
../../include/wx/stream.h:28: warning: type attributes are honored only at type
definition
../../include/wx/stream.h:29: warning: type attributes are honored only at type
definition
../../include/wx/stream.h:30: warning: type attributes are honored only at type
definition
In file included from ../../include/wx/imagjpeg.h:25,
                 from ../../src/common/imagjpeg.cpp:25:
../../include/wx/image.h:60: warning: type attributes are honored only at type d
efinition
../../include/wx/image.h:61: warning: type attributes are honored only at type d
efinition
../../include/wx/image.h:62: warning: type attributes are honored only at type d
efinition
../../include/wx/image.h:123: warning: type attributes are honored only at type
definition
../../include/wx/image.h:123: warning: type attributes are honored only at type
definition
../../include/wx/image.h:413: warning: type attributes are honored only at type
definition
In file included from ../../src/common/imagjpeg.cpp:26:
../../include/wx/bitmap.h:29: warning: type attributes are honored only at type
definition
../../include/wx/bitmap.h:30: warning: type attributes are honored only at type
definition
../../include/wx/bitmap.h:31: warning: type attributes are honored only at type
definition
../../include/wx/bitmap.h:32: warning: type attributes are honored only at type
definition
../../include/wx/bitmap.h:33: warning: type attributes are honored only at type
definition
In file included from ../../include/wx/msw/bitmap.h:19,
                 from ../../include/wx/bitmap.h:171,
                 from ../../src/common/imagjpeg.cpp:26:
../../include/wx/msw/gdiimage.h:27: warning: type attributes are honored only at
 type definition
../../include/wx/msw/gdiimage.h:28: warning: type attributes are honored only at
 type definition
../../include/wx/msw/gdiimage.h:29: warning: type attributes are honored only at
 type definition
In file included from ../../include/wx/palette.h:35,
                 from ../../include/wx/msw/bitmap.h:21,
                 from ../../include/wx/bitmap.h:171,
                 from ../../src/common/imagjpeg.cpp:26:
../../include/wx/msw/palette.h:21: warning: type attributes are honored only at
type definition
../../include/wx/msw/palette.h:25: warning: type attributes are honored only at
type definition
In file included from ../../include/wx/bitmap.h:171,
                 from ../../src/common/imagjpeg.cpp:26:
../../include/wx/msw/bitmap.h:23: warning: type attributes are honored only at t
ype definition
../../include/wx/msw/bitmap.h:24: warning: type attributes are honored only at t
ype definition
../../include/wx/msw/bitmap.h:25: warning: type attributes are honored only at t
ype definition
../../include/wx/msw/bitmap.h:26: warning: type attributes are honored only at t
ype definition
../../include/wx/msw/bitmap.h:27: warning: type attributes are honored only at t
ype definition
../../include/wx/msw/bitmap.h:28: warning: type attributes are honored only at t
ype definition
../../include/wx/msw/bitmap.h:30: warning: type attributes are honored only at t
ype definition
../../include/wx/msw/bitmap.h:32: warning: type attributes are honored only at t
ype definition
../../include/wx/msw/bitmap.h:33: warning: type attributes are honored only at t
ype definition
../../include/wx/msw/bitmap.h:34: warning: type attributes are honored only at t
ype definition
../../include/wx/msw/bitmap.h:35: warning: type attributes are honored only at t
ype definition
../../include/wx/msw/bitmap.h:36: warning: type attributes are honored only at t
ype definition
In file included from ../../include/wx/event.h:28,
                 from ../../include/wx/app.h:20,
                 from ../../src/common/imagjpeg.cpp:29:
../../include/wx/clntdata.h:26: warning: type attributes are honored only at typ
e definition
../../include/wx/clntdata.h:26: warning: type attributes are honored only at typ
e definition
../../include/wx/clntdata.h:31: warning: type attributes are honored only at typ
e definition
../../include/wx/clntdata.h:31: warning: type attributes are honored only at typ
e definition
In file included from ../../include/wx/cursor.h:20,
                 from ../../include/wx/event.h:32,
                 from ../../include/wx/app.h:20,
                 from ../../src/common/imagjpeg.cpp:29:
../../include/wx/msw/cursor.h:21: warning: type attributes are honored only at t
ype definition
In file included from ../../include/wx/event.h:35,
                 from ../../include/wx/app.h:20,
                 from ../../src/common/imagjpeg.cpp:29:
../../include/wx/thread.h:117: warning: type attributes are honored only at type
 definition
../../include/wx/thread.h:118: warning: type attributes are honored only at type
 definition
../../include/wx/thread.h:119: warning: type attributes are honored only at type
 definition
../../include/wx/thread.h:120: warning: type attributes are honored only at type
 definition
../../include/wx/thread.h:121: warning: type attributes are honored only at type
 definition
In file included from ../../include/wx/app.h:20,
                 from ../../src/common/imagjpeg.cpp:29:
../../include/wx/event.h:43: warning: type attributes are honored only at type d
efinition
../../include/wx/event.h:46: warning: type attributes are honored only at type d
efinition
../../include/wx/event.h:47: warning: type attributes are honored only at type d
efinition
../../include/wx/event.h:48: warning: type attributes are honored only at type d
efinition
../../include/wx/event.h:49: warning: type attributes are honored only at type d
efinition
../../include/wx/event.h:52: warning: type attributes are honored only at type d
efinition
../../include/wx/event.h:425: warning: type attributes are honored only at type
definition
../../include/wx/event.h:502: warning: type attributes are honored only at type
definition
In file included from ../../include/wx/window.h:28,
                 from ../../include/wx/app.h:23,
                 from ../../src/common/imagjpeg.cpp:29:
../../include/wx/font.h:31: warning: type attributes are honored only at type de
finition
../../include/wx/font.h:32: warning: type attributes are honored only at type de
finition
../../include/wx/font.h:33: warning: type attributes are honored only at type de
finition
../../include/wx/font.h:34: warning: type attributes are honored only at type de
finition
../../include/wx/font.h:112: warning: type attributes are honored only at type d
efinition
../../include/wx/font.h:113: warning: type attributes are honored only at type d
efinition
In file included from ../../include/wx/region.h:20,
                 from ../../include/wx/window.h:30,
                 from ../../include/wx/app.h:23,
                 from ../../src/common/imagjpeg.cpp:29:
../../include/wx/msw/region.h:22: warning: type attributes are honored only at t
ype definition
../../include/wx/msw/region.h:23: warning: type attributes are honored only at t
ype definition
../../include/wx/msw/region.h:145: warning: type attributes are honored only at
type definition
In file included from ../../include/wx/window.h:33,
                 from ../../include/wx/app.h:23,
                 from ../../src/common/imagjpeg.cpp:29:
../../include/wx/validate.h:25: warning: type attributes are honored only at typ
e definition
../../include/wx/validate.h:26: warning: type attributes are honored only at typ
e definition
In file included from ../../include/wx/window.h:40,
                 from ../../include/wx/app.h:23,
                 from ../../src/common/imagjpeg.cpp:29:
../../include/wx/accel.h:21: warning: type attributes are honored only at type d
efinition
../../include/wx/accel.h:22: warning: type attributes are honored only at type d
efinition
../../include/wx/accel.h:23: warning: type attributes are honored only at type d
efinition
../../include/wx/accel.h:107: warning: type attributes are honored only at type
definition
In file included from ../../include/wx/app.h:23,
                 from ../../src/common/imagjpeg.cpp:29:
../../include/wx/window.h:59: warning: type attributes are honored only at type
definition
../../include/wx/window.h:60: warning: type attributes are honored only at type
definition
../../include/wx/window.h:61: warning: type attributes are honored only at type
definition
../../include/wx/window.h:62: warning: type attributes are honored only at type
definition
../../include/wx/window.h:63: warning: type attributes are honored only at type
definition
../../include/wx/window.h:64: warning: type attributes are honored only at type
definition
../../include/wx/window.h:65: warning: type attributes are honored only at type
definition
../../include/wx/window.h:66: warning: type attributes are honored only at type
definition
../../include/wx/window.h:67: warning: type attributes are honored only at type
definition
../../include/wx/window.h:68: warning: type attributes are honored only at type
definition
../../include/wx/window.h:69: warning: type attributes are honored only at type
definition
../../include/wx/window.h:70: warning: type attributes are honored only at type
definition
../../include/wx/window.h:1327: warning: type attributes are honored only at typ
e definition
In file included from ../../src/common/imagjpeg.cpp:29:
../../include/wx/app.h:31: warning: type attributes are honored only at type def
inition
../../include/wx/app.h:32: warning: type attributes are honored only at type def
inition
../../include/wx/app.h:33: warning: type attributes are honored only at type def
inition
../../include/wx/app.h:34: warning: type attributes are honored only at type def
inition
../../include/wx/app.h:35: warning: type attributes are honored only at type def
inition
../../include/wx/app.h:44: warning: type attributes are honored only at type def
inition
In file included from ../../include/wx/app.h:564,
                 from ../../src/common/imagjpeg.cpp:29:
../../include/wx/msw/app.h:22: warning: type attributes are honored only at type
 definition
../../include/wx/msw/app.h:23: warning: type attributes are honored only at type
 definition
../../include/wx/msw/app.h:24: warning: type attributes are honored only at type
 definition
../../include/wx/msw/app.h:25: warning: type attributes are honored only at type
 definition
../../include/wx/msw/app.h:26: warning: type attributes are honored only at type
 definition
In file included from ../../src/jpeg/jpeglib.h:26,
                 from ../../src/common/imagjpeg.cpp:46:
../../src/jpeg/jmorecfg.h:264: error: conflicting declaration 'typedef int boole
an'
c:/gcc/bin/../lib/gcc/mingw32/3.4.2/../../../../include/rpcndr.h:52: error: 'boo
lean' has a previous declaration as `typedef unsigned char boolean'
../../src/jpeg/jmorecfg.h:264: error: declaration of `typedef int boolean'
c:/gcc/bin/../lib/gcc/mingw32/3.4.2/../../../../include/rpcndr.h:52: error: conf
licts with previous declaration `typedef unsigned char boolean'
../../src/jpeg/jmorecfg.h:264: error: declaration of `typedef int boolean'
c:/gcc/bin/../lib/gcc/mingw32/3.4.2/../../../../include/rpcndr.h:52: error: conf
licts with previous declaration `typedef unsigned char boolean'
In file included from ../../src/common/imagjpeg.cpp:51:
../../include/wx/intl.h:51: warning: type attributes are honored only at type de
finition
../../include/wx/intl.h:52: warning: type attributes are honored only at type de
finition
In file included from ../../src/common/imagjpeg.cpp:52:
../../include/wx/module.h:23: warning: type attributes are honored only at type
definition
mingw32-make: *** [gcc_mswudll\monodll_imagjpeg.o] Error 1

C:\wxWidgets-2.6.2\build\msw>

Sorry if it's not clear i did a copy paste
Title: Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
Post by: milojerome on December 22, 2006, 04:17:10 pm
How can i apply the patch
Title: Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
Post by: stahta01 on December 22, 2006, 04:40:03 pm
SET PATH=C:\Program Files\GnuWin32\bin
CD wxWidgets-2.6_BRANCH
patch --unified --strip=0 --ignore-whitespace --forward --input=../mypatch_2.6_BRANCH.patch

The directory wxWidgets-2.6_BRANCH contains the sub-folders include, lib and src.

If you don't have the patch command get it here
http://gnuwin32.sourceforge.net/packages/patch.htm NOTE ADDED: This patch does NOT work with gnuwin32 patch command reason unknown.
or if you are using MSYS 1.0.11 here
http://umn.dl.sourceforge.net/sourceforge/mingw/diffutils-2.8.7-MSYS-1.0.11-snapshot.tar.bz2

Tim S
Title: Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
Post by: milojerome on December 22, 2006, 04:57:11 pm
Where i put the mypatch_2.6_BRANCH.patch file? In what folder?

When i did the command to patch my files, The prompt asking me to give the to patch?
Title: Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
Post by: stahta01 on December 22, 2006, 04:58:49 pm
--input=../mypatch_2.6_BRANCH.patch
means above wxWidgets-2.6_BRANCH folder
--input=mypatch_2.6_BRANCH.patch
means in wxWidgets-2.6_BRANCH folder.

Tim S
Title: Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
Post by: stahta01 on December 22, 2006, 05:05:15 pm
Where i put the mypatch_2.6_BRANCH.patch file? In what folder?

When i did the command to patch my files, The prompt asking me to give the to patch?

The prompt asking me to give the file to patch?
Means there is an issue where you are running the patch command.

What sub-folders are there where you are running the command you should see Include, Lib and src sub-folders.

Tim S
Title: Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
Post by: milojerome on December 22, 2006, 05:09:02 pm
C:\wxWidgets-2.6.2>patch --unified --strip=0 --ignore-whitespace --forward --inp
ut=mypatch_2.6_BRANCH.patch
patching file src/common/imagjpeg.cpp
Reversed (or previously applied) patch detected!  Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file src/common/imagjpeg.cpp.rej
patching file src/jpeg/jcapimin.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/jpeg/jcapimin.c.rej
patching file src/jpeg/jcapistd.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/jpeg/jcapistd.c.rej
patching file src/jpeg/jccoefct.c
Reversed (or previously applied) patch detected!  Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file src/jpeg/jccoefct.c.rej
patching file src/jpeg/jchuff.c
Reversed (or previously applied) patch detected!  Skipping patch.
11 out of 11 hunks ignored -- saving rejects to file src/jpeg/jchuff.c.rej
patching file src/jpeg/jchuff.h
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/jpeg/jchuff.h.rej
patching file src/jpeg/jcinit.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/jpeg/jcinit.c.rej
patching file src/jpeg/jcmainct.c
Reversed (or previously applied) patch detected!  Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file src/jpeg/jcmainct.c.rej
patching file src/jpeg/jcmarker.c
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file src/jpeg/jcmarker.c.rej
patching file src/jpeg/jcmaster.c
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file src/jpeg/jcmaster.c.rej
patching file src/jpeg/jcparam.c
Reversed (or previously applied) patch detected!  Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file src/jpeg/jcparam.c.rej
patching file src/jpeg/jcphuff.c
Reversed (or previously applied) patch detected!  Skipping patch.
8 out of 8 hunks ignored -- saving rejects to file src/jpeg/jcphuff.c.rej
patching file src/jpeg/jcprepct.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/jpeg/jcprepct.c.rej
patching file src/jpeg/jcsample.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/jpeg/jcsample.c.rej
patching file src/jpeg/jctrans.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/jpeg/jctrans.c.rej
patching file src/jpeg/jdapimin.c
Reversed (or previously applied) patch detected!  Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file src/jpeg/jdapimin.c.rej
patching file src/jpeg/jdapistd.c
Reversed (or previously applied) patch detected!  Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file src/jpeg/jdapistd.c.rej
patching file src/jpeg/jdatadst.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/jpeg/jdatadst.c.rej
patching file src/jpeg/jdatasrc.c
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file src/jpeg/jdatasrc.c.rej
patching file src/jpeg/jdcoefct.c
Reversed (or previously applied) patch detected!  Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file src/jpeg/jdcoefct.c.rej
patching file src/jpeg/jdhuff.c
Reversed (or previously applied) patch detected!  Skipping patch.
5 out of 5 hunks ignored -- saving rejects to file src/jpeg/jdhuff.c.rej
patching file src/jpeg/jdhuff.h
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file src/jpeg/jdhuff.h.rej
patching file src/jpeg/jdinput.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/jpeg/jdinput.c.rej
patching file src/jpeg/jdmainct.c
Reversed (or previously applied) patch detected!  Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file src/jpeg/jdmainct.c.rej
patching file src/jpeg/jdmarker.c
Reversed (or previously applied) patch detected!  Skipping patch.
14 out of 14 hunks ignored -- saving rejects to file src/jpeg/jdmarker.c.rej
patching file src/jpeg/jdmaster.c
Reversed (or previously applied) patch detected!  Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file src/jpeg/jdmaster.c.rej
patching file src/jpeg/jdmerge.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/jpeg/jdmerge.c.rej
patching file src/jpeg/jdphuff.c
Reversed (or previously applied) patch detected!  Skipping patch.
7 out of 7 hunks ignored -- saving rejects to file src/jpeg/jdphuff.c.rej
patching file src/jpeg/jdpostct.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/jpeg/jdpostct.c.rej
patching file src/jpeg/jdsample.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/jpeg/jdsample.c.rej
patching file src/jpeg/jerror.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/jpeg/jerror.c.rej
patching file src/jpeg/jmemdos.c
Reversed (or previously applied) patch detected!  Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file src/jpeg/jmemdos.c.rej
patching file src/jpeg/jmemmgr.c
Reversed (or previously applied) patch detected!  Skipping patch.
8 out of 8 hunks ignored -- saving rejects to file src/jpeg/jmemmgr.c.rej
patching file src/jpeg/jmorecfg.h
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/jpeg/jmorecfg.h.rej
patching file src/jpeg/jpegint.h
Reversed (or previously applied) patch detected!  Skipping patch.
12 out of 12 hunks ignored -- saving rejects to file src/jpeg/jpegint.h.rej
patching file src/jpeg/jpeglib.h
Reversed (or previously applied) patch detected!  Skipping patch.
21 out of 21 hunks ignored -- saving rejects to file src/jpeg/jpeglib.h.rej
patching file src/jpeg/jpegtran.c
Reversed (or previously applied) patch detected!  Skipping patch.
3 out of 3 hunks ignored -- saving rejects to file src/jpeg/jpegtran.c.rej
patching file src/jpeg/jquant1.c
Reversed (or previously applied) patch detected!  Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file src/jpeg/jquant1.c.rej
patching file src/jpeg/jquant2.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file src/jpeg/jquant2.c.rej
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?
The text leading up to this was:
--------------------------
|
--------------------------
File to patch: ?????????????????????????

it is ok or????
Title: Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
Post by: milojerome on December 22, 2006, 05:10:20 pm
i have them all (folders)
Title: Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
Post by: stahta01 on December 22, 2006, 05:11:40 pm
I would try to compile and see if it works, the message below means it was already patched.
 
Reversed (or previously applied) patch detected!  Skipping patch.

Tim S
Title: Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
Post by: milojerome on December 22, 2006, 05:13:39 pm
i'll try it again too
Title: Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
Post by: 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
Title: Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
Post by: milojerome on December 22, 2006, 05:34:59 pm
i have the same result as yours
Title: Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
Post by: stahta01 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.
Title: Re: Compilation problem with wxWidgets-2.6.2 and 2.6.3!
Post by: milojerome on December 22, 2006, 07:00:52 pm
The patch and the compilation works fine!
Thanks!!!