On my Linux Mint 20.3 and Xubuntu 20.04 virtual box guests I cannot get the <Add option="`$(WX_CONFIG) --cflags`" /> to work with the Nightly r12639, it does not expand to anything (aka empty string) in the build log and therefore I cannot use the CodeBlocks_wx30-unix.cbp to build C::B without hacking the project file to manually change the $(WX_CONFIG) to wx_config. Hopefully it's just a config issues somewhere, but I cannot find it.
Do other linux devs using r12639 have any issues with <Add option="`$(WX_CONFIG) --cflags`" /> ? If you have a different C::B version do you have an issue or not? Please post you result and which SVN version so I can go back to a working version and then start bisecting until I find the issue, unless it's my setup.....
Below are details of the issue debugging output are below:
BUILD LOG SNIPPET: -D__START__1__
wx-config --toolkit=gtk3 --cflags
-D__START__2__
-D__START__3__
-I/usr/lib/x86_64-linux-gnu/wx/include/base-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -pthread pkg-config gdk-wx-config --toolkit=gtk3 --cflags
-D__START__4__
pkg-config gdk-3.0 --cflags
-D__START__5__
-pthread -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-D__START__6__
-D__WX__
UNIX PROJECT FILE SNIPPET: <Target title="scintilla">
<Option output="devel30/wxscintilla_cb" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output=".objs30" />
<Option type="2" />
<Option compiler="gcc" />
<Compiler>
<Add option="-D__START__1__" />
<Add option="$(WX_CONFIG) --cflags" />
<Add option="-D__START__2__" />
<Add option="`$(WX_CONFIG) --cflags`" />
<Add option="-D__START__3__" />
<Add option="`wx-config --cflags`" />
<Add option="pkg-config gdk-$(WX_CONFIG) --cflags" />
<Add option="-D__START__4__" />
<Add option="pkg-config gdk-$(PKG_CONFIG_GTK_VERSION) --cflags" />
<Add option="-D__START__5__" />
<Add option="`pkg-config gdk-$(PKG_CONFIG_GTK_VERSION) --cflags`" />
<Add option="-D__START__6__" />
<Add option="-D__WX__" />
<Add option="-DGTK" />
<Add option="-DLINK_LEXERS" />
<Add option="-DSCI_LEXER" />
<Add option="-DWXMAKINGDLL_SCI" />
<Add directory="sdk/wxscintilla/src/scintilla/include" />
<Add directory="sdk/wxscintilla/src/scintilla/src" />
<Add directory="sdk/wxscintilla/src/scintilla/lexlib" />
</Compiler>
<ResourceCompiler>
<Add directory="sdk/wxscintilla/include" />
</ResourceCompiler>
</Target>
........
<Environment>
<Variable name="PKG_CONFIG_GTK_VERSION" value="3.0" />
<Variable name="WX_CFG" value="" />
<Variable name="WX_CONFIG" value="wx-config --toolkit=gtk3" />
<Variable name="WX_SUFFIX" value="u" />
<Variable name="WX_VERSION" value="30" />
</Environment>
</Build>
C:B DetailsName : Code::Blocks
Version : svn-r12639
SDK Version : 2.16.0
Scintilla Version : 3.7.5
Author : The Code::Blocks Team
E-mail : info@codeblocks.org
Website : http://www.codeblocks.org
OS : Linux 5.4.0-94-generic x86_64
Scaling factor : 1.000000
Detected scaling factor: 1.000000
Display PPI : 96x96
Display count : 1
Display 0 : XY=[0,0]; Size=[1920,969]; Primary
wxWidgets Library (wxGTK port)
Version 3.0.5 (Unicode: wchar_t, debug level: 1),
Runtime version of toolkit used is 3.24.
Compile-time GTK+ version is 3.24.20.
C::B source : Downloaded from
https://wxstuff.xaviou.fr/article/debian-repository.html .
Note: Info on
https://forums.codeblocks.org/index.php/topic,24798.msg169113.html#msg169113 could be relevant.