On Fri, 2013-05-17 at 10:07 -0500, Jeremiah Benham wrote: > That's weird. The compiler error seems to suggest that the compiler > thinks Ww and near are pointers or something. I am not sure what to do > about that. Try storing the doubles in a another variable type double > and see if the compiler allows that? I changed the names "near" and "far" of two fields and the build seemed ok. It is now on denemo.org and I have tested it on two machines (a bit). Different (and very polluting) headers were obviously getting dragged in. The evidently defined Rectangle, near and far as something or other and exposed the Denemo sources to it. The only candidate change in Denemo's source code so far found is the one Eloi pointed out, changing the -DLOCALE value. He has reverted this, but I haven't re-tested (I will have to revert my workaround to do that).
But for the moment, we seem to have a workable mingw build. I tried placing fonts in likely locations but could not get your gtk3 binary to run with them. You have fixed fonts problems in the past when I have tried to run gtk2 binaries and found them missing, but I guess this is not the same? Richard > > Jeremiah > > On May 16, 2013 10:43 AM, "Richard Shann" <[email protected]> > wrote: > Jeremiah, > > I have just fixed a memory error that has been plaguing the > master > branch for a week or so, and I wanted to rebuild the windows > binary > using gub. It failed to compile print.c saying that some > header was > defining the type Rectangle - so I change this in print.c and > then it > complained as follows: > > > /home/rshann/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/src/print.c:1265: > error: expected identifier before '.' token > > this is where a GdkPoint is having a member extracted, I > changed this > also to a new type WwPoint but the code still will not compile > under > gub. > I wonder if you are able to build for windows still? > FWIW I include the compile step that fails below. > > Richard > > i686-mingw32-gcc -mms-bitfields -DHAVE_CONFIG_H -I. > > -I/home/rshann/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/src > -I.. -I../intl > -I/home/rshann/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/intl > > -I/home/rshann/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/include > > -I/home/rshann/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/libsmf > > -I/home/rshann/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/libsffile > > -I/home/rshann/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/pixmaps > -DPREFIX=\"/usr\" -DBINDIR=\"/usr/bin\" > -DDENEMO_LOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/usr/etc/denemo/\" > -DPKGDATADIR=\"/usr/share/denemo/\" -DDATAROOTDIR=\"/usr/share/\" > -DPKGNAME=\"denemo\" > -I/home/rshann/gub/target/mingw/root/usr/include/evince/2.32 > -I/home/rshann/gub/target/mingw/root/usr/include > -I/home/rshann/gub/target/mingw/root/usr/include/libxml2 -mms-bitfields > -I/home/rshann/gub/target/mingw/root/usr > /include/librsvg-2 > -I/home/rshann/gub/target/mingw/root/usr/include/glib-2.0 > -I/home/rshann/gub/target/mingw/root/usr/lib/glib-2.0/include > -I/home/rshann/gub/target/mingw/root/usr/include/gdk-pixbuf-2.0 > -I/home/rshann/gub/target/mingw/root/usr/include/cairo > -I/home/rshann/gub/target/mingw/root/usr/include/libpng12 > -I/home/rshann/gub/target/mingw/root/usr/include > -L/home/rshann/gub/target/mingw/root/usr/lib -lgthread-2.0 -lglib-2.0 -lintl > -L/home/rshann/gub/target/mingw/root/usr/lib -lsndfile -mms-bitfields > -I/home/rshann/gub/target/mingw/root/usr/include/gtk-2.0 > -I/home/rshann/gub/target/mingw/root/usr/lib/gtk-2.0/include > -I/home/rshann/gub/target/mingw/root/usr/include/atk-1.0 > -I/home/rshann/gub/target/mingw/root/usr/include/cairo > -I/home/rshann/gub/target/mingw/root/usr/include/gdk-pixbuf-2.0 > -I/home/rshann/gub/target/mingw/root/usr/include/pango-1.0 > -I/home/rshann/gub/target/mingw/root/usr/include/glib-2.0 > -I/home/rshann/gub/target/mingw/root/usr/lib/glib-2.0/inc > lude > -I/home/rshann/gub/target/mingw/root/usr/include/freetype2 > -I/home/rshann/gub/target/mingw/root/usr/include > -I/home/rshann/gub/target/mingw/root/usr/include/libpng12 > -mms-bitfields > -I/home/rshann/gub/target/mingw/root/usr/include/gtksourceview-2.0 > -I/home/rshann/gub/target/mingw/root/usr/include/gtk-2.0 > -I/home/rshann/gub/target/mingw/root/usr/lib/gtk-2.0/include > -I/home/rshann/gub/target/mingw/root/usr/include/atk-1.0 > -I/home/rshann/gub/target/mingw/root/usr/include/cairo > -I/home/rshann/gub/target/mingw/root/usr/include/gdk-pixbuf-2.0 > -I/home/rshann/gub/target/mingw/root/usr/include/pango-1.0 > -I/home/rshann/gub/target/mingw/root/usr/include/glib-2.0 > -I/home/rshann/gub/target/mingw/root/usr/lib/glib-2.0/include > -I/home/rshann/gub/target/mingw/root/usr/include/freetype2 > -I/home/rshann/gub/target/mingw/root/usr/include > -I/home/rshann/gub/target/mingw/root/usr/include/libpng12 -mms-bitfields > -I/home/rshann/gub/target/mingw/root/usr/include -I/home/rshann/gub/target/m > ingw/root/usr/include/gtk-2.0 > -I/home/rshann/gub/target/mingw/root/usr/include/glib-2.0 > -I/home/rshann/gub/target/mingw/root/usr/lib/glib-2.0/include > -I/home/rshann/gub/target/mingw/root/usr/lib/gtk-2.0/include > -I/home/rshann/gub/target/mingw/root/usr/include/atk-1.0 > -I/home/rshann/gub/target/mingw/root/usr/include/cairo > -I/home/rshann/gub/target/mingw/root/usr/include/gdk-pixbuf-2.0 > -I/home/rshann/gub/target/mingw/root/usr/include/pango-1.0 > -I/home/rshann/gub/target/mingw/root/usr/include/freetype2 > -I/home/rshann/gub/target/mingw/root/usr/include/libpng12 > -D_HAVE_FLUIDSYNTH_ -I/home/rshann/gub/target/mingw/root/usr/include > -D_HAVE_PORTAUDIO_ -mthreads -I/home/rshann/gub/target/mingw/root/usr/include > -I/home/rshann/gub/target/mingw/root/usr/include > -I/home/rshann/gub/target/mingw/root/usr/include -D_HAVE_PORTMIDI_ > -D_HAVE_X11_ -MT print.o -MD -MP -MF .deps/print.Tpo -c -o print.o > /home/rshann/gub/target/mingw/src/denemo-git.savannah.gnu.org--denemo.git-master/src/p > rint.c > > > > _______________________________________________ > Denemo-devel mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/denemo-devel _______________________________________________ Denemo-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/denemo-devel
