I haven't coded in C++ with codeblocks in many years. (since version 8.) - I decided to check things out again but I'm getting an error when using v17.12 with wxWidgets 3.1.1 - This PC and install is totally clean, and I'm seeing the "cannot find debug configuration" error message.
I have followed steps from this forum, wiki on the build process and editing paths, global variables etc.. but the articles are old.. (2016) - Was this issue ever resolved? And why is it still showing up on a clean install?
One final question: Can these widgets be easily separated or are the dependencies an "all or nothing" deal? I'm interested in playing ONLY with the webView widget for a small project.
Any help would be appreciated. - If anyone has this webView widget working and would be interested in a small project, feel free to contact me. (I'd even pay for your services.)
Thanks in advance!
Steps I ran:
mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=release clean
mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=release
So after posting this message I attempted to build in debug.
mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=debug clean
mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=debug
And now I'm getting a bunch of errors.
"This file should only be included when using Microsoft Visual C++"C:\wx\wx311\build\msw>mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=debug
if not exist ..\..\lib\gcc_dll\mswud mkdir ..\..\lib\gcc_dll\mswud
gcc -c -o gcc_mswuddll\wxregex_regcomp.o -g -O0 -mthreads -DHAVE_W32API_H -DNDEBUG -I..\..\include -I..\..\lib\gcc_dll\mswud -D__WXMSW__ -D_UNICODE -MTgcc_mswuddll\wxregex_regcomp.o -MFgcc_mswuddll\wxregex_regcomp.o.d -MD -MP ../../src/regex/regcomp.c
In file included from ..\..\include/wx/platform.h:148:0,
from ..\..\include/wx/defs.h:45,
from ../../src/regex/regcustom.h:39,
from ../../src/regex/regguts.h:38,
from ../../src/regex/regcomp.c:33:
..\..\include/wx/setup.h:12:6: error: #error "This file should only be included when using Microsoft Visual C++"
#error "This file should only be included when using Microsoft Visual C++"
^~~~~
In file included from ..\..\include/wx/version.h:16:0,
from ..\..\include/wx/setup.h:19,
from ..\..\include/wx/platform.h:148,
from ..\..\include/wx/defs.h:45,
from ../../src/regex/regcustom.h:39,
from ../../src/regex/regguts.h:38,
from ../../src/regex/regcomp.c:33:
..\..\include/wx/setup.h:115:31: error: pasting "/" and "vc_lib" does not give a valid preprocessing token
wxCONCAT6(../../../lib/, wxLIB_SUBDIR, /, wxTOOLKIT_PREFIX, wxSUFFIX, /wx/setup.h)