Author Topic: compiling wxWidget-2.6.3 src  (Read 2556 times)

Offline msk4web

  • Single posting newcomer
  • *
  • Posts: 8
compiling wxWidget-2.6.3 src
« on: July 30, 2006, 09:02:52 pm »
I read the instructions of how to compile wxwidgets sources from http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Windows but when I try to compile I recive this errors form regc_locale.c. I try the patch too but the same error happend.

all this erors come from regc_locale.c and regcomp.c;
======================================

Quote
../../src/regex/regc_locale.c:109: warning: braces around scalar initializer../../src/regex/regc_locale.c:109: warning: (near initialization for`cnames[82]')
../../src/regex/regc_locale.c:109: error: initializer element is not constant../../src/regex/regc_locale.c:109: error: (near initialization for `cnames[82]')
../../src/regex/regc_locale.c:109: warning: excess elements in scalar initializer
../../src/regex/regc_locale.c:109: warning: (near initialization for `cnames[82]')
../../src/regex/regc_locale.c:109: error: initializer element is not constant
../../src/regex/regc_locale.c:109: error: (near initialization for `cnames[82]')
../../src/regex/regc_locale.c:110: warning: braces around scalar initializer
../../src/regex/regc_locale.c:110: warning: (near initialization for `cnames[83]')
../../src/regex/regc_locale.c:110: error: initializer element is not constant
../../src/regex/regc_locale.c:110: error: (near initialization for `cnames[83]')
../../src/regex/regc_locale.c:110: warning: excess elements in scalar initializer
../../src/regex/regc_locale.c:110: warning: (near initialization for `cnames[83]')
../../src/regex/regc_locale.c:110: error: initializer element is not constant
../../src/regex/regc_locale.c:110: error: (near initialization for `cnames[83]')
../../src/regex/regc_locale.c:111: warning: braces around scalar initializer
../../src/regex/regc_locale.c:111: warning: (near initialization for `cnames[84]')
../../src/regex/regc_locale.c:111: error: initializer element is not constant
../../src/regex/regc_locale.c:111: error: (near initialization for `cnames[84]')
../../src/regex/regc_locale.c:111: warning: excess elements in scalar initializer
../../src/regex/regc_locale.c:111: warning: (near initialization for `cnames[84]')
../../src/regex/regc_locale.c:111: error: initializer element is not constant
../../src/regex/regc_locale.c:111: error: (near initialization for `cnames[84]')
../../src/regex/regc_locale.c:112: warning: braces around scalar initializer
../../src/regex/regc_locale.c:112: warning: (near initialization for `cnames[85]')
../../src/regex/regc_locale.c:112: error: initializer element is not constant
../../src/regex/regc_locale.c:112: error: (near initialization for `cnames[85]')
../../src/regex/regc_locale.c:112: warning: excess elements in scalar initializer
../../src/regex/regc_locale.c:112: warning: (near initialization for `cnames[85]')
../../src/regex/regc_locale.c:112: error: initializer element is not constant
../../src/regex/regc_locale.c:112: error: (near initialization for `cnames[85]')
../../src/regex/regc_locale.c:113: warning: braces around scalar initializer
../../src/regex/regc_locale.c:113: warning: (near initialization for `cnames[86]')
../../src/regex/regc_locale.c:113: error: initializer element is not constant
../../src/regex/regc_locale.c:113: error: (near initialization for `cnames[86]')
../../src/regex/regc_locale.c:113: warning: excess elements in scalar initializer
../../src/regex/regc_locale.c:113: warning: (near initialization for `cnames[86]')
../../src/regex/regc_locale.c:113: error: initializer element is not constant
../../src/regex/regc_locale.c:113: error: (near initialization for `cnames[86]')
../../src/regex/regc_locale.c:114: warning: braces around scalar initializer
../../src/regex/regc_locale.c:114: warning: (near initialization for `cnames[87]')
../../src/regex/regc_locale.c:114: error: initializer element is not constant
../../src/regex/regc_locale.c:114: error: (near initialization for `cnames[87]')
../../src/regex/regc_locale.c:114: warning: excess elements in scalar initializer
../../src/regex/regc_locale.c:114: warning: (near initialization for `cnames[87]')
../../src/regex/regc_locale.c:114: error: initializer element is not constant
../../src/regex/regc_locale.c:114: error: (near initialization for `cnames[87]')
../../src/regex/regc_locale.c:115: warning: braces around scalar initializer
../../src/regex/regc_locale.c:115: warning: (near initialization for `cnames[88]')
../../src/regex/regc_locale.c:115: error: initializer element is not constant
../../src/regex/regc_locale.c:115: error: (near initialization for `cnames[88]')
../../src/regex/regc_locale.c:115: warning: excess elements in scalar initializer
../../src/regex/regc_locale.c:115: warning: (near initialization for `cnames[88]')
../../src/regex/regc_locale.c:115: error: initializer element is not constant
../../src/regex/regc_locale.c:115: error: (near initialization for `cnames[88]')
../../src/regex/regc_locale.c:116: warning: braces around scalar initializer
../../src/regex/regc_locale.c:116: warning: (near initialization for `cnames[89]')
../../src/regex/regc_locale.c:116: error: initializer element is not constant
../../src/regex/regc_locale.c:116: error: (near initialization for `cnames[89]')
../../src/regex/regc_locale.c:116: warning: excess elements in scalar initializer
../../src/regex/regc_locale.c:116: warning: (near initialization for `cnames[89]')
../../src/regex/regc_locale.c:116: error: initializer element is not constant
../../src/regex/regc_locale.c:116: error: (near initialization for `cnames[89]')
../../src/regex/regc_locale.c:117: warning: braces around scalar initializer
../../src/regex/regc_locale.c:117: warning: (near initialization for `cnames[90]')
../../src/regex/regc_locale.c:117: error: initializer element is not constant
../../src/regex/regc_locale.c:117: error: (near initialization for `cnames[90]')
../../src/regex/regc_locale.c:117: warning: excess elements in scalar initializer
../../src/regex/regc_locale.c:117: warning: (near initialization for `cnames[90]')
../../src/regex/regc_locale.c:117: error: initializer element is not constant
../../src/regex/regc_locale.c:117: error: (near initialization for `cnames[90]')
../../src/regex/regc_locale.c:118: warning: braces around scalar initializer
../../src/regex/regc_locale.c:118: warning: (near initialization for `cnames[91]')
../../src/regex/regc_locale.c:118: error: initializer element is not constant
../../src/regex/regc_locale.c:118: error: (near initialization for `cnames[91]')
../../src/regex/regc_locale.c:118: warning: excess elements in scalar initializer
../../src/regex/regc_locale.c:118: warning: (near initialization for `cnames[91]')
../../src/regex/regc_locale.c:118: error: initializer element is not constant
../../src/regex/regc_locale.c:118: error: (near initialization for `cnames[91]')
../../src/regex/regc_locale.c:119: warning: braces around scalar initializer
../../src/regex/regc_locale.c:119: warning: (near initialization for `cnames[92]')
../../src/regex/regc_locale.c:119: error: initializer element is not constant
../../src/regex/regc_locale.c:119: error: (near initialization for `cnames[92]')
../../src/regex/regc_locale.c:119: warning: excess elements in scalar initializer
../../src/regex/regc_locale.c:119: warning: (near initialization for `cnames[92]')
../../src/regex/regc_locale.c:119: error: initializer element is not constant
../../src/regex/regc_locale.c:119: error: (near initialization for `cnames[92]')
../../src/regex/regc_locale.c:120: warning: braces around scalar initializer
../../src/regex/regc_locale.c:120: warning: (near initialization for `cnames[93]')
../../src/regex/regc_locale.c:120: error: initializer element is not constant
../../src/regex/regc_locale.c:120: error: (near initialization for `cnames[93]')
../../src/regex/regc_locale.c:120: warning: excess elements in scalar initializer
../../src/regex/regc_locale.c:120: warning: (near initialization for `cnames[93]')
../../src/regex/regc_locale.c:120: error: initializer element is not constant
../../src/regex/regc_locale.c:120: error: (near initialization for `cnames[93]')
../../src/regex/regc_locale.c:121: warning: braces around scalar initializer
../../src/regex/regc_locale.c:121: warning: (near initialization for `cnames[94]')
../../src/regex/regc_locale.c:121: error: initializer element is not constant
../../src/regex/regc_locale.c:121: error: (near initialization for `cnames[94]')
../../src/regex/regc_locale.c:121: warning: excess elements in scalar initializer
../../src/regex/regc_locale.c:121: warning: (near initialization for `cnames[94]')
../../src/regex/regc_locale.c:121: error: initializer element is not constant
../../src/regex/regc_locale.c:121: error: (near initialization for `cnames[94]')
../../src/regex/regc_locale.c:122: warning: braces around scalar initializer
../../src/regex/regc_locale.c:122: warning: (near initialization for `cnames[95]')
../../src/regex/regc_locale.c:122: warning: initialization makes integer from pointer without a cast
../../src/regex/regc_locale.c:122: warning: excess elements in scalar initializer
../../src/regex/regc_locale.c:122: warning: (near initialization for `cnames[95]')
../../src/regex/regc_locale.c:123: warning: data definition has no type or storage classIn file included from ../../src/regex/regcomp.c:2179:
../../src/regex/regc_locale.c:637: error: syntax error before "Tcl_UniCharToUpper"
../../src/regex/regc_locale.c:638: error: syntax error before "Tcl_UniCharToLower"
../../src/regex/regc_locale.c:639: error: syntax error before "Tcl_UniCharToTitle"
../../src/regex/regc_locale.c: In function `element':
../../src/regex/regc_locale.c:689: error: syntax error before "chr"
../../src/regex/regc_locale.c:699: error: invalid type argument of `unary *'
../../src/regex/regc_locale.c:702: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:705: warning: assignment from incompatible pointertype
../../src/regex/regc_locale.c:705: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:705: error: increment of pointer to unknown structure
../../src/regex/regc_locale.c:705: error: arithmetic on pointer to an incompletetype
../../src/regex/regc_locale.c:706: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:706: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:710: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:711: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:715: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:715: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:715: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:715: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c: In function `range':
../../src/regex/regc_locale.c:735: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:735: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:735: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:735: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:741: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:756: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:760: error: syntax error before "c"
../../src/regex/regc_locale.c:761: error: syntax error before "c"
../../src/regex/regc_locale.c:762: error: syntax error before "c"
../../src/regex/regc_locale.c: In function `eclass':
../../src/regex/regc_locale.c:807: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:809: error: syntax error before 'x'
../../src/regex/regc_locale.c:810: error: syntax error before 'y'
../../src/regex/regc_locale.c:812: error: syntax error before 'X'
../../src/regex/regc_locale.c:813: error: syntax error before 'Y'
../../src/regex/regc_locale.c:824: error: syntax error before "c"
../../src/regex/regc_locale.c: In function `cclass':
../../src/regex/regc_locale.c:1043: error: syntax error before "chr"
../../src/regex/regc_locale.c:1051: error: `np' undeclared (first use in this function)
../../src/regex/regc_locale.c:1067: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:1067: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:1067: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:1067: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:1078: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:1078: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:1078: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:1078: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:1084: error: invalid operands to binary *
../../src/regex/regc_locale.c:1096: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:1096: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:1096: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c:1096: error: dereferencing pointer to incomplete type
../../src/regex/regc_locale.c: In function `allcases':
../../src/regex/regc_locale.c:1123: error: syntax error before "c"
../../src/regex/regc_locale.c:1126: error: `lc' undeclared (first use in this function)
../../src/regex/regc_locale.c:1126: error: syntax error before "c"
../../src/regex/regc_locale.c:1127: error: `uc' undeclared (first use in this function)
../../src/regex/regc_locale.c:1127: error: syntax error before "c"
../../src/regex/regc_locale.c:1128: error: `tc' undeclared (first use in this function)
../../src/regex/regc_locale.c:1128: error: syntax error before "c"
../../src/regex/regc_locale.c: In function `cmp':
../../src/regex/regc_locale.c:1153: error: syntax error before '*' token
../../src/regex/regc_locale.c:1153: error: declaration for parameter "chr" but no such parameter
../../src/regex/regc_locale.c: In function `casecmp':
../../src/regex/regc_locale.c:1169: error: syntax error before '*' token
../../src/regex/regc_locale.c:1169: error: declaration for parameter "chr" but no such parameter
../../src/regex/regc_locale.c:1173: error: invalid type argument of `unary *'
../../src/regex/regc_locale.c:1173: error: invalid type argument of `unary *'
../../src/regex/regc_locale.c:1173: error: invalid type argument of `unary *'
../../src/regex/regc_locale.c:1173: error: invalid type argument of `unary *'
../../src/regex/regcomp.c: At top level:
../../src/regex/regcomp.c:60: warning: 'wordchrs' used but never defined
make: *** [gcc_mswdll\wxregex_regcomp.o] Error 1
make: Leaving directory `d:/wxWidgets-2.6.3/build/msw'

D:\CodeBlocks\bin>^A^A

D:\CodeBlocks\bin>
« Last Edit: July 30, 2006, 09:40:28 pm by msk4web »