viewtopic.php?f=19&t=46125
However at the point where I issue the command
I get the following errormingw32-make -f makefile.gcc SHARED=0 BUILD=debug MONOLITHIC=0
I have come across this error before but I have lost the notes on how I solved the problem last time (it over a year since solved it).C:\WxWidgets-3.1.2\build\msw>mingw32-make -f makefile.gcc SHARED=0 BUILD=debug MONOLITHIC=0
if not exist gcc_mswud mkdir gcc_mswud
if not exist ..\..\lib\gcc_lib mkdir ..\..\lib\gcc_lib
if not exist ..\..\lib\gcc_lib\mswud mkdir ..\..\lib\gcc_lib\mswud
if not exist ..\..\lib\gcc_lib\mswud\wx mkdir ..\..\lib\gcc_lib\mswud\wx
if not exist ..\..\lib\gcc_lib\mswud\wx\setup.h copy ..\..\include\wx\msw\setup.h ..\..\lib\gcc_lib\mswud\wx\setup.h
if not exist ..\..\lib\gcc_lib\mswud\wx\msw mkdir ..\..\lib\gcc_lib\mswud\wx\msw
gcc -E "..\..\include\wx\msw\genrcdefs.h" > "..\..\lib\gcc_lib\mswud\wx\msw\rcdefs.h"
gcc -c -o gcc_mswud\wxregex_regcomp.o -g -O0 -mthreads -DHAVE_W32API_H -DNDEBUG -I..\..\include -I..\..\lib\gcc_lib\mswud -D__WXMSW__ -D_UNICODE -MTgcc_mswud\wxregex_regcomp.o -MFgcc_mswud\wxregex_regcomp.o.d -MD -MP ../../src/regex/regcomp.c
In file included from ..\..\include/wx/defs.h:45:0,
from ../../src/regex/regcustom.h:39,
from ../../src/regex/regguts.h:38,
from ../../src/regex/regcomp.c:33:
..\..\include/wx/platform.h:148:22: fatal error: wx/setup.h: No such file or directory
compilation terminated.
makefile.gcc:5787: recipe for target 'gcc_mswud\wxregex_regcomp.o' failed
mingw32-make: *** [gcc_mswud\wxregex_regcomp.o] Error 1
C:\WxWidgets-3.1.2\build\msw>
I did notice that if I manually create a folder (I created the gcc_mswud folder mentioned on the first line above) then the first line above vanished on running the command again. I have discovered that windows 10 folders are anoyingly persisting in staying read only. Maybe this is the problem?
Does anyone know what the directory structure is beyond the top \build\msw so that I can create the directories myself?
Any other help would be appreciated. Thanks.
David.