digitalmars.D.learn - Beginner bud problem
- notknown (7/7) Oct 24 2006 Hey,
- Carlos Santander (5/15) Oct 24 2006 wxd comes with sample Makefiles. What I do is copy one of them into my p...
- notknown (3/18) Oct 24 2006 Okay, I actually have working SConstruct file but wanted to try build
- Chris Nicholson-Sauls (5/27) Oct 24 2006 Its not so much the 'official' system, so much as its tailor-suited (and...
- notknown (3/34) Oct 24 2006 Okay, will use scons.
- Chris Nicholson-Sauls (13/23) Oct 24 2006 In file build.brf try writing:
- notknown (10/37) Oct 24 2006 That almost works.
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (10/23) Oct 24 2006 For later versions of wxD, you will also need to set the wx platform.
- notknown (4/32) Oct 24 2006 Okay.
Hey, I have wxd in /home/me/D/wxd/ I have project in /home/me/D/DayBook/ containing daybook.d only Just cant get it to compile, finding the right parameters for bud. Is there very simple tutorial how to do this: Just compile my files only, no compiling wxd files. Include libraries libwxd.a and libwxc.a from wxd directory.
Oct 24 2006
notknown escribió:Hey, I have wxd in /home/me/D/wxd/ I have project in /home/me/D/DayBook/ containing daybook.d only Just cant get it to compile, finding the right parameters for bud. Is there very simple tutorial how to do this: Just compile my files only, no compiling wxd files. Include libraries libwxd.a and libwxc.a from wxd directory.wxd comes with sample Makefiles. What I do is copy one of them into my project folder and change names/paths accordingly. And then just "make". -- Carlos Santander Bernal
Oct 24 2006
Carlos Santander kirjoitti:notknown escribió:Okay, I actually have working SConstruct file but wanted to try build because it sounds the official D 'make' system.Hey, I have wxd in /home/me/D/wxd/ I have project in /home/me/D/DayBook/ containing daybook.d only Just cant get it to compile, finding the right parameters for bud. Is there very simple tutorial how to do this: Just compile my files only, no compiling wxd files. Include libraries libwxd.a and libwxc.a from wxd directory.wxd comes with sample Makefiles. What I do is copy one of them into my project folder and change names/paths accordingly. And then just "make".
Oct 24 2006
notknown wrote:Carlos Santander kirjoitti:Its not so much the 'official' system, so much as its tailor-suited (and written /in/ D, which makes a nice showcase). If SCons is working for you right now, I'd stick with it for the moment. (I used SCons myself before Build came along. Its pretty darned effective.) -- Chris Nicholson-Saulsnotknown escribió:Okay, I actually have working SConstruct file but wanted to try build because it sounds the official D 'make' system.Hey, I have wxd in /home/me/D/wxd/ I have project in /home/me/D/DayBook/ containing daybook.d only Just cant get it to compile, finding the right parameters for bud. Is there very simple tutorial how to do this: Just compile my files only, no compiling wxd files. Include libraries libwxd.a and libwxc.a from wxd directory.wxd comes with sample Makefiles. What I do is copy one of them into my project folder and change names/paths accordingly. And then just "make".
Oct 24 2006
Chris Nicholson-Sauls kirjoitti:notknown wrote:Okay, will use scons. Further question with bud would have been how to use the 'wx-config--libs'..Carlos Santander kirjoitti:Its not so much the 'official' system, so much as its tailor-suited (and written /in/ D, which makes a nice showcase). If SCons is working for you right now, I'd stick with it for the moment. (I used SCons myself before Build came along. Its pretty darned effective.) -- Chris Nicholson-Saulsnotknown escribió:Okay, I actually have working SConstruct file but wanted to try build because it sounds the official D 'make' system.Hey, I have wxd in /home/me/D/wxd/ I have project in /home/me/D/DayBook/ containing daybook.d only Just cant get it to compile, finding the right parameters for bud. Is there very simple tutorial how to do this: Just compile my files only, no compiling wxd files. Include libraries libwxd.a and libwxc.a from wxd directory.wxd comes with sample Makefiles. What I do is copy one of them into my project folder and change names/paths accordingly. And then just "make".
Oct 24 2006
notknown wrote:Hey, I have wxd in /home/me/D/wxd/ I have project in /home/me/D/DayBook/ containing daybook.d only Just cant get it to compile, finding the right parameters for bud. Is there very simple tutorial how to do this: Just compile my files only, no compiling wxd files. Include libraries libwxd.a and libwxc.a from wxd directory.In file build.brf try writing: Then run the command line, from within /home/me/D/DayBook: bud build I think that should be enough. -- Chris Nicholson-Sauls
Oct 24 2006
Chris Nicholson-Sauls kirjoitti:notknown wrote:That almost works. /usr/bin/ld: cannot find -llibwxd collect2: ld returned 1 exit status Is there linux incompatibility in bud? Tried also wxd.a in place of libwxd.a => /usr/bin/ld: cannot find -lwxd collect2: ld returned 1 exit status It is not critical since I have scons working. But would be nice to get things work though and maybe someone else finds this useful too.Hey, I have wxd in /home/me/D/wxd/ I have project in /home/me/D/DayBook/ containing daybook.d only Just cant get it to compile, finding the right parameters for bud. Is there very simple tutorial how to do this: Just compile my files only, no compiling wxd files. Include libraries libwxd.a and libwxc.a from wxd directory.In file build.brf try writing: Then run the command line, from within /home/me/D/DayBook: bud build I think that should be enough. -- Chris Nicholson-Sauls
Oct 24 2006
Chris Nicholson-Sauls wrote:In file build.brf try writing: Then run the command line, from within /home/me/D/DayBook: bud build I think that should be enough.For later versions of wxD, you will also need to set the wx platform. (-version=__WXMSW__ -version=ANSI, or whatever your wx-config says...) You can find the wxD values for these by looking in the autogenerated files: wxc/platform and wxc/encoding, but unfortunately D versions can't be imported to other modules so you need to add them all at commandline. I have no idea how to write something like "autoconf" in D, actually ? Support for Bud is on the TODO for wxD, but for now it uses DM/GNU Make. If anyone has a working barf file to build wxD, please send it to me... --anders
Oct 24 2006
Anders F Björklund kirjoitti:Chris Nicholson-Sauls wrote:Okay. I tried wxd some versions earlier and it had some crashing problems but now all those seem solved and it is usable, thanks for great work!In file build.brf try writing: Then run the command line, from within /home/me/D/DayBook: bud build I think that should be enough.For later versions of wxD, you will also need to set the wx platform. (-version=__WXMSW__ -version=ANSI, or whatever your wx-config says...) You can find the wxD values for these by looking in the autogenerated files: wxc/platform and wxc/encoding, but unfortunately D versions can't be imported to other modules so you need to add them all at commandline. I have no idea how to write something like "autoconf" in D, actually ? Support for Bud is on the TODO for wxD, but for now it uses DM/GNU Make. If anyone has a working barf file to build wxD, please send it to me... --anders
Oct 24 2006