www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - MinWin with dmd 0.121

reply Oliver <Oliver_member pathlink.com> writes:
Hi !

Has anyone used MinWin with dmd 0.121 ?
Under Linux, I get a lot of undefined references when trying to 
compile the examples using the included Makefile (And the precompiled libraries,
which are in the right locations.)
The undefined references are all to some MinWin functions.

regards, Oliver 
May 14 2005
parent reply "Ben Hinkle" <ben.hinkle gmail.com> writes:
"Oliver" <Oliver_member pathlink.com> wrote in message 
news:d65chm$1gvd$1 digitaldaemon.com...
 Hi !

 Has anyone used MinWin with dmd 0.121 ?
 Under Linux, I get a lot of undefined references when trying to
 compile the examples using the included Makefile (And the precompiled 
 libraries,
 which are in the right locations.)
 The undefined references are all to some MinWin functions.

 regards, Oliver
The precompiled libraries might be out of date. I thought I had re-precompiled them but maybe I missed one. Try recompiling them by giong to the directory above the examples directory and make'ing with the appropriate makefile.
May 14 2005
parent reply Oliver <Oliver_member pathlink.com> writes:
In article <d65gip$1jor$1 digitaldaemon.com>, Ben Hinkle says...
"Oliver" <Oliver_member pathlink.com> wrote in message 
news:d65chm$1gvd$1 digitaldaemon.com...
 Hi !

 Has anyone used MinWin with dmd 0.121 ?
 Under Linux, I get a lot of undefined references when trying to
 compile the examples using the included Makefile (And the precompiled 
 libraries,
 which are in the right locations.)
 The undefined references are all to some MinWin functions.

 regards, Oliver
The precompiled libraries might be out of date. I thought I had re-precompiled them but maybe I missed one. Try recompiling them by giong to the directory above the examples directory and make'ing with the appropriate makefile.
Hello ! Thx. for the answer. I thougt of that, but there is no Linux Makefile included :(. I have no idea how to compile... (There is a windows configuration file for build and a windows Makefile) regards, Oliver
May 14 2005
parent reply "Ben Hinkle" <ben.hinkle gmail.com> writes:
"Oliver" <Oliver_member pathlink.com> wrote in message 
news:d665o5$20ib$1 digitaldaemon.com...
 In article <d65gip$1jor$1 digitaldaemon.com>, Ben Hinkle says...
"Oliver" <Oliver_member pathlink.com> wrote in message
news:d65chm$1gvd$1 digitaldaemon.com...
 Hi !

 Has anyone used MinWin with dmd 0.121 ?
 Under Linux, I get a lot of undefined references when trying to
 compile the examples using the included Makefile (And the precompiled
 libraries,
 which are in the right locations.)
 The undefined references are all to some MinWin functions.

 regards, Oliver
The precompiled libraries might be out of date. I thought I had re-precompiled them but maybe I missed one. Try recompiling them by giong to the directory above the examples directory and make'ing with the appropriate makefile.
Hello ! Thx. for the answer. I thougt of that, but there is no Linux Makefile included :(. I have no idea how to compile... (There is a windows configuration file for build and a windows Makefile) regards, Oliver
ah - I must have deleted the linux.mak. Are there .brf files? Those are "build" files (not barf files...). I've been spending time on other projects besides MinWin for a while so I can't remember exactly how well build works with WinWin. I kept having troubles so I shouldn't have deleted those make files but give the brfs a shot.
May 14 2005
parent reply Oliver <Oliver_member pathlink.com> writes:
In article <d666i9$2139$1 digitaldaemon.com>, Ben Hinkle says...
"Oliver" <Oliver_member pathlink.com> wrote in message 
news:d665o5$20ib$1 digitaldaemon.com...
 In article <d65gip$1jor$1 digitaldaemon.com>, Ben Hinkle says...
"Oliver" <Oliver_member pathlink.com> wrote in message
news:d65chm$1gvd$1 digitaldaemon.com...
 Hi !

 Has anyone used MinWin with dmd 0.121 ?
 Under Linux, I get a lot of undefined references when trying to
 compile the examples using the included Makefile (And the precompiled
 libraries,
 which are in the right locations.)
 The undefined references are all to some MinWin functions.

 regards, Oliver
The precompiled libraries might be out of date. I thought I had re-precompiled them but maybe I missed one. Try recompiling them by giong to the directory above the examples directory and make'ing with the appropriate makefile.
Hello ! Thx. for the answer. I thougt of that, but there is no Linux Makefile included :(. I have no idea how to compile... (There is a windows configuration file for build and a windows Makefile) regards, Oliver
ah - I must have deleted the linux.mak. Are there .brf files? Those are "build" files (not barf files...). I've been spending time on other projects besides MinWin for a while so I can't remember exactly how well build works with WinWin. I kept having troubles so I shouldn't have deleted those make files but give the brfs a shot.
Hi ! Sry - no Linux brf-files. (I checked that out , too) Only Windows brf .... Regards, Oliver PS: Maybe u can send me a Linux Makefile ? Mail : Herr_Sauron t-online.de
May 14 2005
parent reply "Ben Hinkle" <ben.hinkle gmail.com> writes:
 Hi !

 Sry - no Linux brf-files. (I checked that out , too)
 Only Windows brf ....

 Regards, Oliver

 PS: Maybe u can send me a Linux Makefile ?
 Mail : Herr_Sauron t-online.de
there's no gtk.brf or motif.brf? I've attached an old linux.mak. It might need some missing files but it should be close. begin 666 linux.mak M(&)U:6QT+B!4;R!B=6EL9"!F;W( 9W1K('5N8V]M;65N="!T:&4 35=,24(- M(')E<75I<F5S($EM;&EB(&9O<B!L;V%D:6YG(&EM86=E<PT*35=,24( /2!M M,5(V+VQI8B M3"UL6&T +4PM;%AT("U,+6Q8,3$-" T*(TU73$E"(#T ;6EN M=VEN7V=T:PT*(U9%4B ]($=42PT*(UA,24)3(#T M;FET=&5S="YE>&4-"D153DE41DQ!1U,]+6< +75N:71T97-T("U)+BX ("UV M97)S:6]N/20H5D52*2 -" T*(R!F;&%G<R!T;R!U<V4 =VAE;B!B=6EL9&EN M9R!T:&4 ;6EN=VEN(&QI8G)A<GD-"B-$3$E"1DQ!1U,]+4\ +7)E;&5A<V4 M+4DN+B M=F5R<VEO;CTD*%9%4BD-"D1,24)&3$%'4STM9R M22XN("UV97)S M:6]N/20H5D52*2 M=F5R<VEO;CU,3T<-" T*1$U$(#T M<W0-" T*3$E"3D%-12 ](&QI8B0H35=,24(I+F$-" T*)"A-5TQ)0BD .B D M+F0 7 T*"6=T:U]P965R<RYD(%P-" EM=6QT:61G+F0 7 T*"6-O;7!O;F5N M8V]N+F0 7 T*"61I86QO9RYD(%P-" EG<F]U<"YD(%P-" EI;6%G92YD(%P- M" EP965R+F0 7 T*"7!E97)I;7!L+F0 7 T*"6QA8F5L+F0 7 T*"71E>'0N M7 T*"6=T:U]P965R<RYO(%P-" EM=6QT:61G+F\ 7 T*"6-O;7!O;F5N="YO M+F\ 7 T*"61I86QO9RYO(%P-" EG<F]U<"YO(%P-" EI;6%G92YO(%P-" EP M965R+F\ 7 T*"7!E97)I;7!L+F\ 7 T*"6QA8F5L+F\ 7 T*"71E>'0N;R!< M5$9,04=3*2 N+R0H3$E"3D%-12D +6]F=6YI='1E<W0 )"A83$E"4RD-" T* ` end
May 14 2005
parent reply Oliver <Oliver_member pathlink.com> writes:
In article <d668so$22sr$1 digitaldaemon.com>, Ben Hinkle says...
 Hi !

 Sry - no Linux brf-files. (I checked that out , too)
 Only Windows brf ....

 Regards, Oliver

 PS: Maybe u can send me a Linux Makefile ?
 Mail : Herr_Sauron t-online.de
there's no gtk.brf or motif.brf? I've attached an old linux.mak. It might need some missing files but it should be close.
Hello ! --Sry I found the gtk.brf and motif.brf, BUT they do not seem usable. When I run build gtk.brf a gtk.a is generated. I rename it to libminwin_gtk.a and try to compile the examples. All I get are many undefined references., mostly to minwin stuff. (I use the supplied Makefile, changed accordingly) --I cant use the Makefile u sent because it seems to be in an encoding my browser/editor does not understand. Could u please mail me a simple Makefile ? --Herr_Sauron t-online.de regards, Oliver
May 14 2005
parent Thomas Kuehne <thomas-dloop kuehne.thisisspam.cn> writes:
http://pastebin.de/433
May 17 2005