Thread overview
Anyone know how to fix this ?
Aug 10, 2003
Yeric
Aug 11, 2003
Arjan
Aug 11, 2003
Yeric
August 10, 2003
> Hi
> wonder if someone can help on this one
> 
> First off I doenloaded the wx2.41 release of wxwin and tried to compile with the /src/msw/makwfile.sc and got hundreds of errors, so I downloaded the latest cvs release and then tried to build wxwindows again
> 
> This time it gets a lot further than it did, I am fairly new to C/C++ and cant fix these errors myself :(
> 
> I am using the src/msw/makefile.sc file as I was unable to dind the makefile.dm that was suggested in the install.txt file it just does not exist anywhere !!
> 
> My machine is a xp2500+, 1 gig ram, winXP pro, 40gig ide drive and digital mars cd release 8.34, which does work, as I have successfully built many C++ programs with it and the idde.
> 
> here is an output of the first error I get, I can fix this by commenting out the offending lines, but I am sure this is a bad thing to be doing ??
> 
> implib  /s ..\..\lib\shell32_sc ..\..\lib\_sc\shell32_sc.def
> Digital Mars Import Library Manager Version 7.6B1n
> Copyright (C) Digital Mars 2000.  All Rights Reserved.
> Output is a Windows NT import library.
> Digital Mars Import Library Creator complete.
> 
> implib  /s ..\..\lib\wsock32_sc ..\..\lib\_sc\wsock32_sc.def
> Digital Mars Import Library Manager Version 7.6B1n
> Copyright (C) Digital Mars 2000.  All Rights Reserved.
> Output is a Windows NT import library.
> Digital Mars Import Library Creator complete.
> 
> dmc -cpp -Ae -Ar -mn -D_WINDOWS -6 -a8 -Nc -c -H -HD..\..\d_mars -HO- -DWXMSW -D__WIN32__ -D__WIN95__ -D__WXDEBUG__  -I..\..\include -I..\..\lib\_sc -I..\..\contrib\include
>
-I..\../src/regex;..\../src/png;..\../src/jpeg;..\../src/zlib;..\../src/tiff
> -HF..\..\d_mars\wxprec.SYM -o..\..\d_mars\wxprec.PCO ..\..\include\wx\wxprec.h
> 
> dmc -c -cpp -Ae -Ar -mn -D_WINDOWS -6 -a8 -Nc -c -H -HD..\..\d_mars -HO- -DWXMSW -D__WIN32__ -D__WIN95__ -D__WXDEBUG__  -I..\..\include -I..\..\lib\_sc -I..\..\contrib\include
>
-I..\../src/regex;..\../src/png;..\../src/jpeg;..\../src/zlib;..\../src/tiff
> ..\..\src\msw\listctrl.cpp -o..\..\src\msw\listctrl.obj
>                     LPNMHDDISPINFOW info = (LPNMHDDISPINFOW) lParam;
>                                        ^
> ..\..\src\msw\listctrl.cpp(1750) : Error: undefined identifier
> 'LPNMHDDISPINFOW'
>                     LPNMHDDISPINFOW info = (LPNMHDDISPINFOW) lParam;
>                                                                    ^
> ..\..\src\msw\listctrl.cpp(1750) : Warning 6: value of expression is not
> used
>                     if ( info->iItem >= GetColumnCount() )
>                                    ^
> ..\..\src\msw\listctrl.cpp(1759) : Error: pointer required before '->',
> '->*' or after '*'
> Had: int
>                     if ( info->iItem >= GetColumnCount() )
>                                                          ^
> ..\..\src\msw\listctrl.cpp(1759) : Warning 6: value of expression is not
> used
> --- errorlevel 1
> 
> --- errorlevel 1
> 
> 
> Can anyone help me out here, something I need to change in the makefile or something ??
> 
> Chris elliot has successfully built wxwindows for digital mars, so it must be possible, but with some tweaking I guess ??
> 
> TIA
> Yeric

August 11, 2003
In article <bh6cti$2akn$1@digitaldaemon.com>, Yeric says...
>
>> Hi
>> wonder if someone can help on this one
>> 
>> First off I doenloaded the wx2.41 release of wxwin and tried to compile with the /src/msw/makwfile.sc and got hundreds of errors, so I downloaded the latest cvs release and then tried to build wxwindows again
>

wxWindows-2.4.1 has no support for DMC 8.34.

To use DMC with wxWindows. Use a cvs checkout form ca 20 june 2003. See also the announce newsgroup. At that time the makefile.sc for DMC were working correct.

Arjan


August 11, 2003
> wxWindows-2.4.1 has no support for DMC 8.34.
Too bad :(

> 
> To use DMC with wxWindows. Use a cvs checkout form ca 20 june 2003. See also the announce newsgroup. At that time the makefile.sc for DMC were working correct.

I have downloaded the cvs not from 20th June though, just did a cvs wxwindows.

I have managed to build wxwindows by hacking the files that broke the make, but as I am not entirely sure what I was doing whn I tried to use wxwindows I got lots of crashes ( not surprisingly really )

I read that dmc is in the process of changing to bakfiles, I notice from cvs sources that a few vendors are using them as well.

Hopefully wxWindows will be available for dmc soon

Regards
Yeric


> 
> Arjan