Ok, there is still something that is I'm not comprehending. I have nuked my CodeBlocks & wxWidgets & MinGW installs and reinstalled everything as recommended by the good advisors on this forum. This time I used the MinGW 5.0.2 installer, which has backed me off to gcc v 3.4.2 (from 3.4.4) and installed wxWidgets 2.6.2 instead of 2.6.3-rc1.
Following the directions on the page "Compiling wxWidgets 2.6.1 to develop Code::Blocks (MSW)" as instructed, I encounter a problem I grappled with when I built wxWidgets the last time. Either command (at a cmd.exe prompt):
D:\bin\CodeBlocks\wx\build\msw>mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0 clean
- or -
D:\bin\CodeBlocks\wx\build\msw>make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0
is greeted with derision by the makefiles, beginning in the general form of:
if not exist gcc_mswdll mkdir gcc_mswdll
C:\DOCUME~1\ADMINI~1.OUT\LOCALS~1\Temp\make13042.sh: command not found: not [1]
if not exist ..\..\lib\gcc_dll mkdir ..\..\lib\gcc_dll
C:\DOCUME~1\ADMINI~1.OUT\LOCALS~1\Temp\make13043.sh: command not found: not [1]
if not exist ..\..\lib\gcc_dll\msw mkdir ..\..\lib\gcc_dll\msw
C:\DOCUME~1\ADMINI~1.OUT\LOCALS~1\Temp\make13044.sh: command not found: not [1]
if not exist ..\..\lib\gcc_dll\msw\wx mkdir ..\..\lib\gcc_dll\msw\wx
C:\DOCUME~1\ADMINI~1.OUT\LOCALS~1\Temp\make13044.sh: command not found: not [1]
if not exist ..\..\lib\gcc_dll\msw\wx mkdir ..\..\lib\gcc_dll\msw\wx
C:\DOCUME~1\ADMINI~1.OUT\LOCALS~1\Temp\make13045.sh: command not found: not [1]
if not exist ..\..\lib\gcc_dll\msw\wx\setup.h copy ..\..\include\wx\msw\setup.h ..\..\lib\gcc_dll\msw\wx\setup.h
C:\DOCUME~1\ADMINI~1.OUT\LOCALS~1\Temp\make13046.sh: command not found: not [1]
gcc -c -o gcc_mswdll\wxregex_regcomp.o -O2 -mthreads -DHAVE_W32API_H -I..\..\include -I..\..\lib\gcc_dll\msw -D__WXMSW
__ -MTgcc_mswdll\wxregex_regcomp.o -MFgcc_mswdll\wxregex_regcomp.o.d -MD ../../src/regex/regcomp.c
In file included from ../../include/wx/defs.h:21,
from ../../include/wx/wxchar.h:21,
from ../../src/regex/regcustom.h:39,
from ../../src/regex/regguts.h:38,
from ../../src/regex/regcomp.c:33:
../../include/wx/platform.h:190:22: wx/setup.h: No such file or directory
In file included from ../../include/wx/platform.h:258,
from ../../include/wx/defs.h:21,
from ../../include/wx/wxchar.h:21,
from ../../src/regex/regcustom.h:39,
from ../../src/regex/regguts.h:38,
from ../../src/regex/regcomp.c:33:
... etc, followed by a good dose of the now familiar:
../../include/wx/chkconf.h:84:9: #error "wxUSE_DYNLIB_CLASS must be defined."
../../include/wx/chkconf.h:92:9: #error "wxUSE_EXCEPTIONS must be defined."
../../include/wx/chkconf.h:100:9: #error "wxUSE_FILESYSTEM must be defined."
../../include/wx/chkconf.h:113:9: #error "wxUSE_DYNAMIC_LOADER must be defined."
../../include/wx/chkconf.h:121:9: #error "wxUSE_LOG must be defined."
../../include/wx/chkconf.h:129:9: #error "wxUSE_LONGLONG must be defined."
../../include/wx/chkconf.h:137:9: #error "wxUSE_MIMETYPE must be defined."
../../include/wx/chkconf.h:153:9: #error "wxUSE_PROTOCOL must be defined."
../../include/wx/chkconf.h:195:9: #error "wxUSE_REGEX must be defined."
../../include/wx/chkconf.h:203:9: #error "wxUSE_STDPATHS must be defined."
../../include/wx/chkconf.h:211:9: #error "wxUSE_XML must be defined."
../../include/wx/chkconf.h:219:9: #error "wxUSE_SOCKETS must be defined."
../../include/wx/chkconf.h:227:9: #error "wxUSE_STREAMS must be defined."
../../include/wx/chkconf.h:235:9: #error "wxUSE_STOPWATCH must be defined."
... etc, etc.
This implies to me that I have not given proper attention to the configuration of the build in some important way, such as by running configure. I got around all this the last time by using msys and running configure, and then running the build from the msys prompt. This despite the fact that everything in the recommended procedure (and install-msw.txt) seems to tell me *not* to do this. At least that way I was able to do a successful build and get the libraries and setup.h that I needed. Something seems to be seriously missing here. I am certain that whatever I am doing wrong seems too obvious to mention for old hands at this process. But it certainly has caused me an excess of grief.
as always, I am hoping someone can show me the error(s) of my ways.
thanks,
--dave