From: Keith M. <kei...@us...> - 2015-03-23 14:02:08
|
On 23/03/15 13:06, Gisle Vanem wrote: > Keith Marshall wrote: > >> Yes ... mingw-get.exe uses an icon borrowed from Synaptic, (a package >> manager GUI, used by several GNU/Linux distributions as a wrapper for >> APT). You can find the source in the MinGW.org git repository: >> https://sourceforge.net/p/mingw/mingw-get/ci/master/tree/ >> https://sourceforge.net/p/mingw/mingw-get/ci/master/tree/src/guimain.rc > > This got me interested in building wtklite myself. I did > as the instruction told me (md build; cd build; make). But: > ... > g++ -c -MMD -MP -g -O2 -o vsashctl.o -D VSASH_IMPLEMENTATION ../sashctrl.cpp > g++ -c -MMD -MP -g -O2 -o strres.o ../strres.cpp > g++ -c -MMD -MP -g -O2 -o wtkraise.o ../wtkraise.cpp > ../wtkraise.cpp:42:21: fatal error: wtklite.h: No such file or directory > compilation terminated. Ouch! > (I guess you have wtklite.h in your C_INCLUDE_PATH). I don't, as it happens, but I do seem to have an uncommitted change in my local tree, to correct this; thanks for the reminder. > This patch fixed it for me: > > --- Makefile.in.orig 2015-03-23 13:33:17 +0000 > +++ Makefile.in 2015-03-23 13:32:59 +0000 > @@ -49,7 +49,7 @@ > CC = @CC@ > CXX = @CXX@ > CPPFLAGS = @CPPFLAGS@ > -CXXFLAGS = @CXXFLAGS@ > +CXXFLAGS = @CXXFLAGS@ -I${srcdir} > CFLAGS = @CFLAGS@ > OBJEXT = @OBJEXT@ > My chosen alternative is attached: I elected to use a quoted include, rather than the bracketed form. -- Regards, Keith. |