| |
| Posted by Yeric | PermalinkReply |
|
Yeric
| > 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
|