wxd does not build
dolive
dolive89 at sina.com
Thu Feb 23 05:54:23 PST 2012
James Miller дµ½:
> On 23 February 2012 18:19, dolive <dolive89 at sina.com> wrote:
> > c:\wxd>set WXDIR=c:\wxWidgets-2.8.12
> > c:\wxd>make COMPILER=DMD LIBRARY=Phobos DFLAGS+=-d
> > make -C wxc WX_RELEASE
> > make[1]: Entering directory `/wxd/wxc'
> > g++ -D__DMD__ Â `wx-config --cxxflags` -O2 -Wall -c -o wx-release.o wx-release.cp
> > p
> > /bin/sh: wx-config: command not found
> > wx-release.cpp:6:21: fatal error: wx/defs.h: No such file or directory
> > compilation terminated.
> > make[1]: *** [wx-release.o] Error 1
> > make[1]: Leaving directory `/wxd/wxc'
> > make: *** [wxc/WX_RELEASE] Error 2
> >
> >
> > with dmd2.057 2.058, wxd0.16. wxd0.16-18 for winxp
> >
> > thank's
> >
> > dolive
>
> Hey, are you sure that the Makefile is using WXDIR? Try adding it to
> you PATH (or whatever the windows equivalent is) You should probably
> add it anyway, since `sh`will be trying to find wx-config in your
> path.
>
> --
> James Miller
Thanks for your give directions, I did added c:\wxWidgets-2.8.12and c:\wxWidgets-2.8.12\lib\gcc_lib ,andor dmdbin , dmdlib path in windows envionment variables
I've the following build wx:
cd build\msw
mingw32-make -f makefile.gcc BUILD=release
build wxWidgets-2.8.12 ok, passed with a time of one hour, andor
make up to many *.a file in \wxWidgets-2.8.12\lib\gcc_lib.
I manual search ¡®wx-config¡¯ in \wxWidgets-2.8.12, founded only
wx-config.in and wx-config-inplace.in two relevant files.
How do I solve this problem?
Thanks for your give directions!
--
dolive
More information about the Digitalmars-d
mailing list