User forums > Help
Compilation problem with wxWidgets-2.6.2 and 2.6.3!
milojerome:
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.
Der Meister:
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.
stahta01:
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
milojerome:
../../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
milojerome:
How can i apply the patch
Navigation
[0] Message Index
[#] Next page
Go to full version