Hi,
I downloaded a fresh build of wxWidgets-2.5.2 and was trying to compile the same on my platform.
gcc (GCC) 3.3.1 (mingw special 20030804-1)
WinXP SP 2.
As per the documentation ( WXDIR/docs/msw/install.txt ) , I went to the directory WXDIR/build/msw and invoked the makefile as follows.
<-- Build Log starts -->
C:\Programs\wxWidgets-2.5.2\build\msw>make -f makefile.gcc
gcc -c -o gcc_mswd\wxregex_regcomp.o -g -O0 -DHAVE_W32API_H -I..\..\include -I.
.\..\lib\gcc_lib\mswd ../../src/regex/regcomp.c
In file included from ../../src/regex/regguts.h:38,
from ../../src/regex/regcomp.c:33:
../../src/regex/regcustom.h:30:23: wx/wxchar.h: No such file or directory
<-- Build Log Ends -->
There is a whole long list of error log, but this is the first among them.
I was wondering what could have gone here. Did anyone encounter similar errors. If so,
how would I fix this.
--
Karthik.
wxWidgets 2.5.2 - MinGW - WinXP - cannot find wx/wxchar.h !
Have you checked if that wx/wxchar.h is in one of the include-locations?
wxWidgets: SVN/trunk
OS: WinXP/2 + Ubuntu + Mac 10.4.11
Compiler: VS2005 + GCC 4.2 + GCC 4.0.1
-----
home: http://www.salvania.be
OS: WinXP/2 + Ubuntu + Mac 10.4.11
Compiler: VS2005 + GCC 4.2 + GCC 4.0.1
-----
home: http://www.salvania.be
gcc -c -o gcc_mswd\wxregex_regcomp.o -g -O0 -DHAVE_W32API_H -I..\..\include -I.KaReL wrote:Have you checked if that wx/wxchar.h is in one of the include-locations?
.\..\lib\gcc_lib\mswd ../../src/regex/regcomp.c
Checed for ..\..\include,
Yeah. of course, it is.
C:\Programs\wxWidgets-2.5.2\build\msw>dir ..\..\include\wx\wxchar.h
05/23/2004 09:50 PM 36,388 wxchar.h
1 File(s) 36,388 bytes
The file indeed is there. I donno what could have gone wrong out here.
- Ryan Norton
- wxWorld Domination!
- Posts: 1319
- Joined: Mon Aug 30, 2004 6:01 pm
Thanks for that though. The problem though actually seems with the 'make' utility that is mentioned in that file - Extra.zip , that I had downloaded as per the instructions for wxWindows - 2.4.2 codeline.Ryan Norton wrote:I recall this being brought up a few times on the lists.
For now though you can add $WXFOLDER$\include to your PATH environment variable.
* I downloaded the latest version of devcpp ( with MinGW distribution) 4.9.9.0 . Added the binaries in that distribution to the PATH environment variable.
* Then I went to build/msw directory and invoked the make command.
Right now, it is compiling pretty much ok
The make utility that am using is -
'GNU Make 3.80'
instead of 3.77 that I was using previously. Thanks guyz for all your help.
Yes. It did compile successfully. But just a point to the developers here,
the page http://www.wxwidgets.org/dl_msw2.htm says we might need a Extra.zip for building wxwindows.
While that is true, ( we need the executables, cp.exe - rm.exe exe ) , the make.exe that comes bundled with that Extra.zip seems to be buggy. That was the cause for the strange errors that I had reported in the beginning. It would be nice if you could add that disclaimer somewhere, so that people would find it easier to build wxWidgets.
the page http://www.wxwidgets.org/dl_msw2.htm says we might need a Extra.zip for building wxwindows.
While that is true, ( we need the executables, cp.exe - rm.exe exe ) , the make.exe that comes bundled with that Extra.zip seems to be buggy. That was the cause for the strange errors that I had reported in the beginning. It would be nice if you could add that disclaimer somewhere, so that people would find it easier to build wxWidgets.
Karthik.