Author Topic: eRROR WHILE COMPILING WXWIDGETS  (Read 13461 times)

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: eRROR WHILE COMPILING WXWIDGETS
« Reply #15 on: August 01, 2006, 11:12:36 am »
Nothing obvious from that path. However, you should try
SET PATH=D:\Program Files\CodeBlocks\bin;D:\Program Files\CodeBlocks\mingw32\bin
nevertheless to rule out any doubt.

Building wxWidgets using the correct version of make and using the build instructions found in the WiKi and on the forums works 100% reliably, I just made an ANSI build last evening to test something.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline ac506in

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: eRROR WHILE COMPILING WXWIDGETS
« Reply #16 on: August 01, 2006, 11:15:10 am »
Got it working , there was path problem
but still not able to compile successfully...following is output:

D:\OpenSource\wx\build\msw>mingw32-make -f makefile.gcc  MONOLITHIC=1 SHARED=1 U
NICODE=1 BUILD=release
gcc -c -o gcc_mswudll\wxregex_regcomp.o  -O2 -mthreads  -DHAVE_W32API_H -I..\..\
include -I..\..\lib\gcc_dll\mswu -D__WXMSW__ -D_UNICODE   -MTgcc_mswudll\wxregex
_regcomp.o -MFgcc_mswudll\wxregex_regcomp.o.d -MD ../../src/regex/regcomp.c
In file included from ../../src/regex/regguts.h:38,
                 from ../../src/regex/regcomp.c:33:
../../src/regex/regcustom.h:32:19: stdio.h: No such file or directory
../../src/regex/regcustom.h:33:20: stdlib.h: No such file or directory
../../src/regex/regcustom.h:34:19: ctype.h: No such file or directory
In file included from D:/OpenSource/MingW/bin/../lib/gcc/mingw32/3.4.2/include/s
yslimits.h:7,
                 from D:/OpenSource/MingW/bin/../lib/gcc/mingw32/3.4.2/include/l
imits.h:11,
                 from ../../src/regex/regcustom.h:35,
                 from ../../src/regex/regguts.h:38,
                 from ../../src/regex/regcomp.c:33:
D:/OpenSource/MingW/bin/../lib/gcc/mingw32/3.4.2/include/limits.h:122:61: no inc
lude path in which to search for limits.h
In file included from ../../src/regex/regguts.h:38,
                 from ../../src/regex/regcomp.c:33:
../../src/regex/regcustom.h:36:20: string.h: No such file or directory
In file included from ../../include/wx/platform.h:534,
                 from ../../include/wx/defs.h:21,
                 from ../../src/regex/regcustom.h:39,
                 from ../../src/regex/regguts.h:38,
                 from ../../src/regex/regcomp.c:33:
../../include/wx/msw/gccpriv.h:22:24: _mingw.h: No such file or directory
In file included from ../../include/wx/defs.h:503,
                 from ../../src/regex/regcustom.h:39,
                 from ../../src/regex/regguts.h:38,
                 from ../../src/regex/regcomp.c:33:
../../include/wx/debug.h:18:21: assert.h: No such file or directory
In file included from ../../include/wx/debug.h:22,
                 from ../../include/wx/defs.h:503,
                 from ../../src/regex/regcustom.h:39,
                 from ../../src/regex/regguts.h:38,
                 from ../../src/regex/regcomp.c:33:
../../include/wx/wxchar.h:103:27: wchar.h: No such file or directory
../../include/wx/wxchar.h:158:23: tchar.h: No such file or directory
In file included from ../../src/regex/regcustom.h:39,
                 from ../../src/regex/regguts.h:38,
                 from ../../src/regex/regcomp.c:33:
../../include/wx/defs.h:701:27: sys/types.h: No such file or directory
../../src/regex/regcomp.c:68: error: syntax error before "FILE"
../../src/regex/regcomp.c:69: error: syntax error before "FILE"
../../src/regex/regcomp.c:73: error: syntax error before "FILE"
../../src/regex/regcomp.c:74: error: syntax error before "FILE"
../../src/regex/regcomp.c:75: error: syntax error before "FILE"
../../src/regex/regcomp.c:140: error: syntax error before "FILE"
../../src/regex/regcomp.c:141: error: syntax error before "FILE"
../../src/regex/regcomp.c:143: error: syntax error before "FILE"
../../src/regex/regcomp.c:149: error: syntax error before "FILE"
../../src/regex/regcomp.c:158: error: syntax error before "FILE"
../../src/regex/regcomp.c:165: error: syntax error before "FILE"
../../src/regex/regcomp.c: In function `wx_re_comp':
../../src/regex/regcomp.c:295: error: `FILE' undeclared (first use in this funct
ion)
../../src/regex/regcomp.c:295: error: (Each undeclared identifier is reported on
ly once
../../src/regex/regcomp.c:295: error: for each function it appears in.)
../../src/regex/regcomp.c:295: error: `debug' undeclared (first use in this func
tion)
../../src/regex/regcomp.c:295: error: `stdout' undeclared (first use in this fun
ction)
../../src/regex/regcomp.c:295: error: syntax error before ')' token
../../src/regex/regcomp.c: In function `nfatree':
../../src/regex/regcomp.c:1917: error: syntax error before "FILE"
../../src/regex/regcomp.c: In function `nfanode':
../../src/regex/regcomp.c:1937: error: syntax error before "FILE"
../../src/regex/regcomp.c:1945: warning: comparison between pointer and integer
../../src/regex/regcomp.c:1947: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c: In function `dump':
../../src/regex/regcomp.c:2051: error: syntax error before "FILE"
../../src/regex/regcomp.c: In function `dumpst':
../../src/regex/regcomp.c:2095: error: syntax error before "FILE"
../../src/regex/regcomp.c:2099: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c: In function `stdump':
../../src/regex/regcomp.c:2112: error: syntax error before "FILE"
../../src/regex/regcomp.c:2117: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2119: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2121: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2123: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2125: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2127: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2129: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2131: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2133: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2135: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2136: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2139: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2141: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2143: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2145: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2147: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
In file included from ../../src/regex/regcomp.c:2177:
../../src/regex/regc_nfa.c: In function `optimize':
../../src/regex/regc_nfa.c:711: error: syntax error before "FILE"
../../src/regex/regc_nfa.c:713: warning: comparison between pointer and integer
../../src/regex/regc_nfa.c:716: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regc_nfa.c:721: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regc_nfa.c:724: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regc_nfa.c:728: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regc_nfa.c: In function `pullback':
../../src/regex/regc_nfa.c:740: error: syntax error before "FILE"
../../src/regex/regc_nfa.c:761: warning: comparison between pointer and integer
../../src/regex/regc_nfa.c: In function `pushfwd':
../../src/regex/regc_nfa.c:858: error: syntax error before "FILE"
../../src/regex/regc_nfa.c:879: warning: comparison between pointer and integer
../../src/regex/regc_nfa.c: In function `fixempties':
../../src/regex/regc_nfa.c:1040: error: syntax error before "FILE"
../../src/regex/regc_nfa.c:1060: warning: comparison between pointer and integer

../../src/regex/regc_nfa.c: In function `dumpnfa':
../../src/regex/regc_nfa.c:1350: error: syntax error before "FILE"
../../src/regex/regc_nfa.c: In function `dumpcnfa':
../../src/regex/regc_nfa.c:1518: error: syntax error before "FILE"
mingw32-make: *** [gcc_mswudll\wxregex_regcomp.o] Error 1

D:\OpenSource\wx\build\msw>mingw32-make -f makefile.gcc  MONOLITHIC=1 SHARED=1 U
NICODE=1 BUILD=release >a.txt
In file included from ../../src/regex/regguts.h:38,
                 from ../../src/regex/regcomp.c:33:
../../src/regex/regcustom.h:32:19: stdio.h: No such file or directory
../../src/regex/regcustom.h:33:20: stdlib.h: No such file or directory
../../src/regex/regcustom.h:34:19: ctype.h: No such file or directory
In file included from D:/OpenSource/MingW/bin/../lib/gcc/mingw32/3.4.2/include/s
yslimits.h:7,
                 from D:/OpenSource/MingW/bin/../lib/gcc/mingw32/3.4.2/include/l
imits.h:11,
                 from ../../src/regex/regcustom.h:35,
                 from ../../src/regex/regguts.h:38,
                 from ../../src/regex/regcomp.c:33:
D:/OpenSource/MingW/bin/../lib/gcc/mingw32/3.4.2/include/limits.h:122:61: no inc
lude path in which to search for limits.h
In file included from ../../src/regex/regguts.h:38,
                 from ../../src/regex/regcomp.c:33:
../../src/regex/regcustom.h:36:20: string.h: No such file or directory
In file included from ../../include/wx/platform.h:534,
                 from ../../include/wx/defs.h:21,
                 from ../../src/regex/regcustom.h:39,
                 from ../../src/regex/regguts.h:38,
                 from ../../src/regex/regcomp.c:33:
../../include/wx/msw/gccpriv.h:22:24: _mingw.h: No such file or directory
In file included from ../../include/wx/defs.h:503,
                 from ../../src/regex/regcustom.h:39,
                 from ../../src/regex/regguts.h:38,
                 from ../../src/regex/regcomp.c:33:
../../include/wx/debug.h:18:21: assert.h: No such file or directory
In file included from ../../include/wx/debug.h:22,
                 from ../../include/wx/defs.h:503,
                 from ../../src/regex/regcustom.h:39,
                 from ../../src/regex/regguts.h:38,
                 from ../../src/regex/regcomp.c:33:
../../include/wx/wxchar.h:103:27: wchar.h: No such file or directory
../../include/wx/wxchar.h:158:23: tchar.h: No such file or directory
In file included from ../../src/regex/regcustom.h:39,
                 from ../../src/regex/regguts.h:38,
                 from ../../src/regex/regcomp.c:33:
../../include/wx/defs.h:701:27: sys/types.h: No such file or directory
../../src/regex/regcomp.c:68: error: syntax error before "FILE"
../../src/regex/regcomp.c:69: error: syntax error before "FILE"
../../src/regex/regcomp.c:73: error: syntax error before "FILE"
../../src/regex/regcomp.c:74: error: syntax error before "FILE"
../../src/regex/regcomp.c:75: error: syntax error before "FILE"
../../src/regex/regcomp.c:140: error: syntax error before "FILE"
../../src/regex/regcomp.c:141: error: syntax error before "FILE"
../../src/regex/regcomp.c:143: error: syntax error before "FILE"
../../src/regex/regcomp.c:149: error: syntax error before "FILE"
../../src/regex/regcomp.c:158: error: syntax error before "FILE"
../../src/regex/regcomp.c:165: error: syntax error before "FILE"
../../src/regex/regcomp.c: In function `wx_re_comp':
../../src/regex/regcomp.c:295: error: `FILE' undeclared (first use in this funct
ion)
../../src/regex/regcomp.c:295: error: (Each undeclared identifier is reported on
ly once
../../src/regex/regcomp.c:295: error: for each function it appears in.)
../../src/regex/regcomp.c:295: error: `debug' undeclared (first use in this func
tion)
../../src/regex/regcomp.c:295: error: `stdout' undeclared (first use in this fun
ction)
../../src/regex/regcomp.c:295: error: syntax error before ')' token
../../src/regex/regcomp.c: In function `nfatree':
../../src/regex/regcomp.c:1917: error: syntax error before "FILE"
../../src/regex/regcomp.c: In function `nfanode':
../../src/regex/regcomp.c:1937: error: syntax error before "FILE"
../../src/regex/regcomp.c:1945: warning: comparison between pointer and integer
../../src/regex/regcomp.c:1947: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c: In function `dump':
../../src/regex/regcomp.c:2051: error: syntax error before "FILE"
../../src/regex/regcomp.c: In function `dumpst':
../../src/regex/regcomp.c:2095: error: syntax error before "FILE"
../../src/regex/regcomp.c:2099: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c: In function `stdump':
../../src/regex/regcomp.c:2112: error: syntax error before "FILE"
../../src/regex/regcomp.c:2117: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2119: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2121: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2123: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2125: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2127: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2129: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2131: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2133: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2135: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2136: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2139: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2141: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2143: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2145: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regcomp.c:2147: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
In file included from ../../src/regex/regcomp.c:2177:
../../src/regex/regc_nfa.c: In function `optimize':
../../src/regex/regc_nfa.c:711: error: syntax error before "FILE"
../../src/regex/regc_nfa.c:713: warning: comparison between pointer and integer
../../src/regex/regc_nfa.c:716: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regc_nfa.c:721: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regc_nfa.c:724: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regc_nfa.c:728: warning: passing arg 1 of `fprintf' makes pointe
r from integer without a cast
../../src/regex/regc_nfa.c: In function `pullback':
../../src/regex/regc_nfa.c:740: error: syntax error before "FILE"
../../src/regex/regc_nfa.c:761: warning: comparison between pointer and integer
../../src/regex/regc_nfa.c: In function `pushfwd':
../../src/regex/regc_nfa.c:858: error: syntax error before "FILE"
../../src/regex/regc_nfa.c:879: warning: comparison between pointer and integer
../../src/regex/regc_nfa.c: In function `fixempties':
../../src/regex/regc_nfa.c:1040: error: syntax error before "FILE"
../../src/regex/regc_nfa.c:1060: warning: comparison between pointer and integer

../../src/regex/regc_nfa.c: In function `dumpnfa':
../../src/regex/regc_nfa.c:1350: error: syntax error before "FILE"
../../src/regex/regc_nfa.c: In function `dumpcnfa':
../../src/regex/regc_nfa.c:1518: error: syntax error before "FILE"
mingw32-make: *** [gcc_mswudll\wxregex_regcomp.o] Error 1


Offline ac506in

  • Multiple posting newcomer
  • *
  • Posts: 11
Re: eRROR WHILE COMPILING WXWIDGETS
« Reply #17 on: August 01, 2006, 12:12:05 pm »
Able to compile after installing Code::blocks with mingw32 compiler.