Compile wxd

Anders F Björklund afb at algonet.se
Tue Jun 27 06:34:27 PDT 2006


nobody wrote:

> i try to compile wxd, but i get the following error message:
> 
[...]
> I think this line make the problem:
> gcc -o ../../bin/Controls Controls.o -L../.. -lwxd -lwxc -lm -lphobos `wx-config
> 
> Must  -lphobos switch to -lgphobos?

It seems confused, yes.


Please change (in "config.Linux") from:

gcc -o $@ $(OBJECTS) -L$(TOPDIR) -lwxd -lwxc -lm -lphobos $(LDFLAGS)

to the this instead (mind the initial tab):

gdc -o $@ $(OBJECTS) -L$(TOPDIR) -lwxd -lwxc $(LDFLAGS)

Only tried the Linux version with DMD, will fix for next wxD release...


Thanks for trying wxD !

--anders



More information about the Digitalmars-d-dwt mailing list