Hi,
I managed to solve this particular issue in the meantime (I dumped a .bat file wrapping mingw32-make as 'make' on mingw side, and used that to compile via command-prompt). However, I'm currently getting heaps of errors that seem to be related to G_GNUC_NULL_TERMINATED.
cd plugins && make -f makefile.win32 && cd ..
mingw32-make[1]: Entering directory `c:/geanydev/trunk/plugins'
gcc -O2 -Wall -pipe -mms-bitfields -DHAVE_CONFIG_H -I.. -I../src -I../scintilla/include -I../tagman
ager/include -IC:\libs/include/gtk-2.0 -IC:\libs/lib/gtk-2.0/include -IC:\libs/include/atk-1.0 -IC:\
libs/include/pango-1.0 -IC:\libs/include/cairo -IC:\libs/include/glib-2.0 -IC:\libs/lib/glib-2.0/inc
lude -IC:\libs/include/gettext -IC:\libs/include -o htmlchars.dll.o -c htmlchars.c
In file included from htmlchars.c:32:
../src/plugindata.h:389: warning: no semicolon at end of struct or union
../src/plugindata.h:389: error: syntax error before "G_GNUC_NULL_TERMINATED"
../src/plugindata.h:399: error: syntax error before '}' token
../src/plugindata.h:400: warning: type defaults to `int' in declaration of `UIUtilsFuncs'
../src/plugindata.h:400: warning: data definition has no type or storage class
In file included from htmlchars.c:36:
../src/ui_utils.h:191: error: syntax error before "G_GNUC_NULL_TERMINATED"
../src/ui_utils.h:191: warning: type defaults to `int' in declaration of `G_GNUC_NULL_TERMINATED'
../src/ui_utils.h:191: warning: data definition has no type or storage class
In file included from htmlchars.c:37:
../src/utils.h:147: error: syntax error before "G_GNUC_NULL_TERMINATED"
../src/utils.h:147: warning: type defaults to `int' in declaration of `G_GNUC_NULL_TERMINATED'
../src/utils.h:147: warning: data definition has no type or storage class
../src/utils.h:149: error: syntax error before "G_GNUC_NULL_TERMINATED"
../src/utils.h:149: warning: type defaults to `int' in declaration of `G_GNUC_NULL_TERMINATED'
../src/utils.h:149: warning: data definition has no type or storage class
../src/utils.h:170: error: syntax error before "G_GNUC_NULL_TERMINATED"
../src/utils.h:170: warning: type defaults to `int' in declaration of `G_GNUC_NULL_TERMINATED'
../src/utils.h:170: warning: data definition has no type or storage class
htmlchars.c: In function `tools_show_dialog_insert_special_chars':
htmlchars.c:459: error: dereferencing pointer to incomplete type
htmlchars.c: In function `plugin_init':
htmlchars.c:696: error: dereferencing pointer to incomplete type
htmlchars.c:721: error: dereferencing pointer to incomplete type
mingw32-make[1]: *** [htmlchars.dll] Error 1
mingw32-make[1]: Leaving directory `c:/geanydev/trunk/plugins'
mingw32-make: *** [all] Error 2
On Wed, 29 Apr 2009 12:06:31 +1200Do you have the header files for glib (not glibc) installed inside your
Joshua Leung <aligorith@gmail.com> wrote:
> Even after adding a localwin32.mk file and changing the PREFIX as suggested,
> I still get
> lregex.c:22:18: glib.h: No such file or directory
build environment?