www.digitalmars.com         C & C++   DMDScript  

c++.announce - Bakefile 0.1.5 with enhanced DMC support released

reply "W這dzimierz Skiba" <abx abx.art.pl> writes:
Hi!

Vaclav Slavik has released the new version of 'bakefile'.
Download it from http://bakefile.sourceforge.net/
Version 0.1.5 ehnances DMC support with precompiled headers and both smake 
and make support.

ABX
Jan 19 2005
parent reply Hakki Dogusan <dogusanh tr.net> writes:
Hi,


W這dzimierz Skiba wrote:

 Hi!
 
 Vaclav Slavik has released the new version of 'bakefile'.
 Download it from http://bakefile.sourceforge.net/
 Version 0.1.5 ehnances DMC support with precompiled headers and both smake 
 and make support.
 
 ABX
I'm trying to use new makefile.dms (xp, wx253 cvs). Library compiles ok. But minimal sample is not. Compile output is as follows: C:\wx25\samples\minimal>smake -fmakefile.dms SMAKE Program Maintenance Utility (Console) Version 7.50 Copyright (c) 1994-1995 Innovative Data Concepts Incorporated Copyright (c) 1994-2001 Digital Mars All Rights Reserved dmc -mn -c -odmc_msw\minimal_minimal.obj -o -D__WXMSW__ -I.\..\.. \include -I.\..\..\lib\dmc_lib\msw -w- -I. -WA -I.\..\..\samples -DNOPCH -Ar - Ae .\minimal.cpp rcc .\..\..\samples\sample.rc -odmc_msw\minimal_sample.res -D__WXMSW__ -I.\..\..\include -I.\..\..\lib\dmc_lib\msw -I. -I.\..\..\samples -32 -v- link /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT /su:windows:4.0 dmc_msw\minimal_minimal.obj,dmc_msw\minimal.exe,dmc_msw\minimal.map, .\..\..\lib \dmc_lib\ wxmsw25.lib wxtiff.lib wxjpeg.lib wxpng.lib wxzlib.lib wxregex.li b wxexpat.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winm m.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi 32.lib wsock32.lib odbc32.lib ,, dmc_msw\minimal_sample.res OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved .\..\..\lib\dmc_lib\wxmsw25.lib(window) Error 42: Symbol Undefined ?_TrackMouseEvent YGHPAUtagTRACKMOUSEEVENT Z (int stdcall _TrackMouseEvent(tagTRACKMOUSEEVENT *)) SMAKE fatal error: command "link" returned with error code 1 Stopping. Could you help me, please ? -- Regards, Hakki Dogusan
Jan 20 2005
parent reply "W這dzimierz Skiba" <abx abx.art.pl> writes:
Hakki Dogusan <dogusanh tr.net> wrote in
news:csocfo$2ogc$1 digitaldaemon.com: 
 Hi,
 
 W這dzimierz Skiba wrote:
 
 Hi!
 
 Vaclav Slavik has released the new version of 'bakefile'.
 Download it from http://bakefile.sourceforge.net/
 Version 0.1.5 ehnances DMC support with precompiled headers and both
 smake and make support.
 
 ABX
I'm trying to use new makefile.dms (xp, wx253 cvs). Library compiles ok. But minimal sample is not.
I just noticed exactly the same. It was fine two days ago when I made a 2 complete different builds with smake and one with make. It must be some recent commit to CVS. I will look what could it be. Wait, I found that _TrackMouseEvent is in #ifdef __DMC__ block in file include\wx\msw\missing.h . It can be a reason. Could you verify if commenting out this line (or whole __DMC__ related #ifdef) removes this problem ? ABX
Jan 20 2005
parent reply Hakki Dogusan <dogusanh tr.net> writes:
Hi,


W這dzimierz Skiba wrote:
 
 I just noticed exactly the same. It was fine two days ago when I made a 
 2 complete different builds with smake and one with make. It must be some 
 recent commit to CVS. I will look what could it be.
 
 Wait, I found that _TrackMouseEvent is in #ifdef __DMC__ block in file 
 include\wx\msw\missing.h . It can be a reason. Could you verify if 
 commenting out this line (or whole __DMC__ related #ifdef) removes this 
 problem ?
 
 ABX
Thanks for the hint. I did following changes and now minimal is compiling: missing.h: commented lines 521-532 starting with #ifdef __DMC__ block window.cpp: line 4455 changed _TrackMouseEvent to TrackMouseEvent config.dms: line 26 added flag CPPFLAGS = -D_WIN32_WINNT=0x0400 not related above, but otherwise can't compile lib setup.h: line 550 changed flag 1 to 0 #define wxUSE_DATEPICKCTRL 0 // wxDatePickerCtrl -- Regards, Hakki Dogusan
Jan 20 2005
parent "W這dzimierz Skiba" <abx abx.art.pl> writes:
Hakki Dogusan <dogusanh tr.net> wrote in
news:csoqgl$a6i$1 digitaldaemon.com: 
 I did following changes and now minimal is compiling:
 missing.h: commented lines 521-532
 starting with #ifdef __DMC__ block
 window.cpp: line 4455
 changed _TrackMouseEvent to TrackMouseEvent
 config.dms: line 26
 added flag CPPFLAGS = -D_WIN32_WINNT=0x0400
Little differently but it is now fixed in wxWidgets CVS Head, thanks!
 not related above, but otherwise can't compile lib
 setup.h: line 550
 changed flag 1 to 0
 #define wxUSE_DATEPICKCTRL 0    // wxDatePickerCtrl
Yes, DMC misses this native common control in the headers. But note that if you would want to use it, there is a general replacement for it which is buildable in wxMSW port too. But it can be out of your interest. Regards, ABX
Jan 25 2005