View mode: basic / threaded / horizontal-split · Log in · Help
July 03, 2007
Re: Compiling wxd
torhu Wrote:

> Dnoob wrote:
> > when i try to compile wxd on win32 with MinGW, i have the following error:
> > 
> > process_begin: CreateProcess((null), uname, ...) failed.
> > g++ -D__WXD__  `wx-config --cxxflags` -O2 -Wall -c -o wx-version.o wx-version.cp
> > p
> > process_begin: CreateProcess((null), uname, ...) failed.
> > g++: `wx-config: No such file or directory
> > cc1plus.exe: error: unrecognized command line option "-fcxxflags`"
> > mingw32-make.exe: *** [wx-version.o] Error 1
> > 
> > 
> 
> Looks like you're using the unix build config.  How to build on windows 
> is probably described in the readme file or the website.

the readme file doesn't really content importants informations

"** build wxD

- extract
- compile
windows:
 set WXDIR=<path to wxWidgets>
 make all test"

when I indicate a makefile, I get a different error:

C:\wxWidgets-2.8.4\wxd\wxc>make -f Makefile WXDIR=C:\wxWidgets-2.8.4
make: *** No rule to make target `wx-release-win.obj', needed by `wx-release.exe
'.  Stop.
July 10, 2007
Re: Compiling wxd
dnoob Wrote:

> torhu Wrote:
> 
> > Dnoob wrote:
> > > when i try to compile wxd on win32 with MinGW, i have the following error:
> > > 
> > > process_begin: CreateProcess((null), uname, ...) failed.
> > > g++ -D__WXD__  `wx-config --cxxflags` -O2 -Wall -c -o wx-version.o wx-version.cp
> > > p
> > > process_begin: CreateProcess((null), uname, ...) failed.
> > > g++: `wx-config: No such file or directory
> > > cc1plus.exe: error: unrecognized command line option "-fcxxflags`"
> > > mingw32-make.exe: *** [wx-version.o] Error 1
> > > 
> > > 
> > 
> > Looks like you're using the unix build config.  How to build on windows 
> > is probably described in the readme file or the website.
> 
> the readme file doesn't really content importants informations
> 
> "** build wxD
> 
> - extract
> - compile
> windows:
>   set WXDIR=<path to wxWidgets>
>   make all test"
> 
> when I indicate a makefile, I get a different error:
> 
> C:\wxWidgets-2.8.4\wxd\wxc>make -f Makefile WXDIR=C:\wxWidgets-2.8.4
> make: *** No rule to make target `wx-release-win.obj', needed by `wx-release.exe
> '.  Stop.


UP ?!
July 12, 2007
Re: Compiling wxd
dnoob wrote:

>> Looks like you're using the unix build config.  How to build on windows 
>> is probably described in the readme file or the website.
> 
> the readme file doesn't really content importants informations
> 
> "** build wxD
> 
> - extract
> - compile
> windows:
>   set WXDIR=<path to wxWidgets>
>   make all test"

The wxD website is a little less sparse,
http://wxd.sourceforge.net/#installation

> when I indicate a makefile, I get a different error:
> 
> C:\wxWidgets-2.8.4\wxd\wxc>make -f Makefile WXDIR=C:\wxWidgets-2.8.4
> make: *** No rule to make target `wx-release-win.obj', needed by `wx-release.exe
> '.  Stop.

That should be a simple C++ -> EXE rule,
not sure why your Make didn't have that...


You will probably have more luck with wxD support on the wxD project 
site than on the digitalmars.D forum, since most are using other GUI.

It should work out of the box with MinGW's MSYS shell, but currently 
there is no-one maintaining the Windows makefiles for Digital Mars C.

--anders
Top | Discussion index | About this forum | D home