August 22, 2003 Re: Am I right in thinking...... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Arjan Knepper | Arjan Is this correct should there only be this many files in wxmsw.prj helpbase.OBJ+ http.OBJ+ ..\common\imagjpeg.OBJ+ app.OBJ+ checklst.OBJ+ dc.OBJ+ gdiimage.OBJ+ ownerdrw.OBJ+ toplevel.OBJ+ utils.OBJ $$SCW$$.LIB Because these are all the file that exist in the makefile and all the files that exisit in the project ???? could this be why I am getting al these symbols undefined because it cant find the other files in the dmc_wxmsw.LIB ?? Thanks Yeric "Arjan Knepper" <arjan@ask .me> wrote in message news:bi50c2$jrv$1@digitaldaemon.com... > > dm\lib\ dir comctl32.lib etc > > > > I used the exact same settings as for the dmc_wxmsw.prj except changed the > > target to executable and also changed the directory paths as per instructions. > > > > Thanks so far for all your help, hope you can point me to where I have gone > > wrong > > Thanks > > Yeric > > > > sc -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\lib\dmc > > \release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc -I..\..\include -HF..\ > > ..\lib\dmc\release\wxprec.SYM -o..\..\lib\dmc\release\wxprec.PCO > > ..\..\include\wx\wxprec.h > > sc > > minimal.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\. > > .\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc -I..\..\inclu > > de -odmc\release\minimal.obj > > rcc -32 -I..\..\lib\dmc -I..\..\include -odmc\release\minimal.res minimal.rc > > link /NOI /DE /PACKF /XN /NT /ENTRY:WinMainCRTStartup /BAS:4194304 /A:512 > > /RC :dmc\release\minimal.RES @Minimal.LNK > > Error: O:\wxWindows_2_4_1\samples\minimal\dmc\release\minimal.OBJ(minimal) > > (6800867): Symbol Undefined > > ?CheckBuildOptions@wxAppBase@@SA_NABVwxBuildOptions@@@Z > > > > Are you sure the O:\wxWindows_2_4_1\lib\dmc\release\dmc_wxmsw.lib file is included in the project? > > Arjan > |
August 22, 2003 Re: Am I right in thinking...... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Yeric | Yeric wrote: > "> > Are you sure the O:\wxWindows_2_4_1\lib\dmc\release\dmc_wxmsw.lib file > >>>is included in the project? > > > Hi Arjan, I just wiped wxWindows reinstalled recopied patches and recompiled > everything > > This time dmc_wxmsw.LIb is even smaller @ 268kb That is not correct. Release build's should be around 6.7 MB > However I still cant get minimal to compile under idde, it still complains > about undefined symbols <see below message for output > > > I assume when you say added to project, you meant as in physically via the > same way as adding .cpp and .h files to a project ?? > Yes. You must be doing something wrong. Those Undefined Symbols errors refer to cpp files which _are_ included in de dmc_wxmsw.prj. Are you sure you leave the directory structures untouched? Are you sure you installed de file from de dmcpatchkit OVER the files in the original wxWindows.2.4.1 dirs? Are you sure all the files in the dmc_wxmsw.prj file are compiled? (Look in the compiler output directory for *.obj files) Arjan |
August 22, 2003 Re: Am I right in thinking...... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Yeric | No it seems to me you are only compiling the cpp files from the dmcpatchkit. You have to COPY the file from the dmcpatchkit OVERWRITING the original files in the wxWindows.2.4.1 src-tree. Thus the file defs.h form the dmcpatchkit.zip should overwrite the file in the original wxWindows-2.4.1\include\wx\defs.h Arjan Yeric wrote: > Arjan > > Is this correct should there only be this many files in wxmsw.prj > > helpbase.OBJ+ > > http.OBJ+ > > ..\common\imagjpeg.OBJ+ > > app.OBJ+ > > checklst.OBJ+ > > dc.OBJ+ > > gdiimage.OBJ+ > > ownerdrw.OBJ+ > > toplevel.OBJ+ > > utils.OBJ > > $$SCW$$.LIB > > Because these are all the file that exist in the makefile and all the files > that exisit in the project ???? > could this be why I am getting al these symbols undefined because it cant > find the other files in the dmc_wxmsw.LIB ?? > > Thanks > Yeric > > > "Arjan Knepper" <arjan@ask > > .me> wrote in message news:bi50c2$jrv$1@digitaldaemon.com... > >>>dm\lib\ dir comctl32.lib etc >>> >>>I used the exact same settings as for the dmc_wxmsw.prj except changed > > the > >>>target to executable and also changed the directory paths as per >>>instructions. >>> >>>Thanks so far for all your help, hope you can point me to where I have > > gone > >>>wrong >>>Thanks >>>Yeric >>> >>> > > sc -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\lib\dmc > > \release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc -I..\..\include -HF..\ > >>>..\lib\dmc\release\wxprec.SYM -o..\..\lib\dmc\release\wxprec.PCO >>>..\..\include\wx\wxprec.h >>>sc >>> > > minimal.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\. > > .\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc -I..\..\inclu > >>>de -odmc\release\minimal.obj >>>rcc -32 -I..\..\lib\dmc -I..\..\include -odmc\release\minimal.res > > minimal.rc > >>>link /NOI /DE /PACKF /XN /NT /ENTRY:WinMainCRTStartup /BAS:4194304 > > /A:512 > >>>/RC :dmc\release\minimal.RES @Minimal.LNK >>>Error: > > O:\wxWindows_2_4_1\samples\minimal\dmc\release\minimal.OBJ(minimal) > >>>(6800867): Symbol Undefined >>>?CheckBuildOptions@wxAppBase@@SA_NABVwxBuildOptions@@@Z >>> >> >>Are you sure the O:\wxWindows_2_4_1\lib\dmc\release\dmc_wxmsw.lib file >>is included in the project? >> >>Arjan >> > > > |
August 22, 2003 Re: Am I right in thinking...... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Arjan Knepper | I have done this Arjan If you look in the patchkit src\msw dmc_wxmsw.Mak file it only contains these entries and this is all that is loaded into IDDE when project selected I am now manually adding files to project, having to copy quite a few from cvs directory to get them to compile though listctrl will not compile without the wrapcttl.h filebeing added to \include\wx\msw dir As I have just found out this fails aswell listctrl I mean with the original and cvs version some error about not being able to find m_count and other m_ variables sc -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\lib\dmc \release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\include -I..\ zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -HF..\..\lib\dmc\release\wxprec .SYM -o..\..\lib\dmc\release sc ..\common\cmndata.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I ..\..\include -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\ dmc\release\cmndata.obj sc ..\common\imagjpeg.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ - I..\..\include -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib \dmc\release\imagjpeg.obj sc app.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\li b\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\include -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release\ap p.obj sc checklst.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\checklst.obj sc dc.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\lib \dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\include - I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release\dc. obj sc gdiimage.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\gdiimage.obj sc ownerdrw.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\ownerdrw.obj sc toplevel.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\toplevel.obj sc utils.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\ lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\includ e -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release\ utils.obj sc ..\COMMON\helpbase.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ - I..\..\include -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib \dmc\release\helpbase.obj sc ..\COMMON\http.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\ ..\include -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc \release\http.obj sc gsocket.c -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\ lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\includ e -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release\ gsocket.obj sc gsockmsw.c -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\.. \lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inclu de -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release \gsockmsw.obj sc accel.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\ lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\includ e -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release\ accel.obj sc bitmap.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\.. \lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inclu de -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release \bitmap.obj sc bmpbuttn.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\bmpbuttn.obj sc brush.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\ lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\includ e -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release\ brush.obj sc button.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\.. \lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inclu de -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release \button.obj sc caret.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\ lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\includ e -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release\ caret.obj sc checkbox.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\checkbox.obj sc choice.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\.. \lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inclu de -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release \choice.obj sc clipbrd.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\. .\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\incl ude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\releas e\clipbrd.obj sc colordlg.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\colordlg.obj sc colour.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\.. \lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inclu de -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release \colour.obj sc combobox.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\combobox.obj sc control.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\. .\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\incl ude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\releas e\control.obj sc curico.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\.. \lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inclu de -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release \curico.obj sc cursor.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\.. \lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inclu de -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release \cursor.obj sc data.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\l ib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\include -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release\d ata.obj sc dcclient.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\dcclient.obj sc dcmemory.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\dcmemory.obj sc dcprint.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\. .\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\incl ude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\releas e\dcprint.obj sc dcscreen.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\dcscreen.obj sc dde.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\li b\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\include -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release\dd e.obj sc dialog.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\.. \lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inclu de -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release \dialog.obj sc dialup.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\.. \lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inclu de -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release \dialup.obj sc dib.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\li b\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\include -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release\di b.obj sc dibutils.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\dibutils.obj sc dir.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\li b\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\include -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release\di r.obj sc dirdlg.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\.. \lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inclu de -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release \dirdlg.obj sc display.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\. .\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\incl ude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\releas e\display.obj sc dragimag.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\dragimag.obj sc dummy.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\ lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\includ e -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release\ dummy.obj sc dummydll.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\dummydll.obj sc enhmeta.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\. .\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\incl ude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\releas e\enhmeta.obj sc evtloop.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\. .\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\incl ude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\releas e\evtloop.obj sc fdrepdlg.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\fdrepdlg.obj sc filedlg.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\. .\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\incl ude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\releas e\filedlg.obj sc font.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\l ib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\include -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release\f ont.obj sc fontdlg.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\. .\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\incl ude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\releas e\fontdlg.obj sc fontenum.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\fontenum.obj sc fontutil.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\fontutil.obj sc frame.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\ lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\includ e -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release\ frame.obj sc gauge95.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\. .\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\incl ude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\releas e\gauge95.obj sc gdiobj.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\.. \lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inclu de -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release \gdiobj.obj sc glcanvas.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\glcanvas.obj sc helpbest.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\helpbest.obj sc helpchm.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\. .\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\incl ude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\releas e\helpchm.obj sc helpwin.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\. .\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\incl ude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\releas e\helpwin.obj sc icon.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\l ib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\include -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\release\i con.obj sc imaglist.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\imaglist.obj sc iniconf.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\. .\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\incl ude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\releas e\iniconf.obj sc joystick.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\joystick.obj sc listbox.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\. .\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\incl ude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\releas e\listbox.obj sc listctrl.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\relea se\listctrl.obj Error: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(242): undefined identifier 'm_count' Error: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(243): undefined identifier 'm_ignoreChangeMessages' Error: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1732): undefined identifier 'HDN_GETDISPINFOW' Error: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1734): undefined identifier 'LPNMHDDISPINFOW' Warning: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1734): value of expression is not used Fatal Error: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1743): too many errors Lines Processed: 590472 Errors: 5 Warnings: 1 Build failed below is the makefile that comes with the patchkit as you can see this all the files it includes Thanks Yeric ORIGIN = DigiMars C++ ORIGIN_VER = Version 7.22 VERSION = DEBUG !IFDEF SUB_DEBUG DEBUG = $(SUB_DEBUG) NDEBUG = !$(SUB_DEBUG) !ELSE DEBUG = 1 NDEBUG = 0 !ENDIF PROJ = dmc_wxmsw APPTYPE = WIN32 LIB PROJTYPE = LIB CC = SC CPP = SPP JAVAC = sj MAKE = SMAKE RC = RCC HC = HC31 ASM = SC DISASM = OBJ2ASM LNK = LINK DLLS = HEADERS = O:\dm\stlport\stlport\stdio.h O:\dm\stlport\stlport\stl\_prolog.h O:\dm\stlport\stlport\stl\_config.h \ O:\dm\stlport\stlport\stl_user_config.h O:\dm\stlport\stlport\stl\_config_compat.h O:\dm\stlport\stlport\stl\_site_config.h O:\dm\stlport\stlport\config\stlcomp.h \ O:\dm\stlport\stlport\config\stl_apple.h O:\dm\stlport\stlport\config\stl_confix.h O:\dm\stlport\stlport\stl\_epilog.h O:\dm\stlport\stlport\stl\_config_compat_post.h \ O:\dm\stlport\stlport\string.h O:\dm\stlport\stlport\ctype.h O:\dm\stlport\stlport\math.h O:\dm\include\print.h \ O:\dm\include\win16\PRINT.H O:\dm\include\direct.h O:\dm\include\dos.h DEFFILE = dmc_wxmsw.DEF !IF $(DEBUG) OUTPUTDIR = . CREATEOUTPUTDIR = TARGETDIR = . CREATETARGETDIR = SYMROOT = SYMS = LIBS = CFLAGS = -mn -C -D_WINDOWS -S -3 -a8 -c -gf LFLAGS = /CO /NOI /DE /NOPACKF /XU /A:16 DEFINES = !ELSE OUTPUTDIR = . CREATEOUTPUTDIR = TARGETDIR = . CREATETARGETDIR = SYMROOT = SYMS = LIBS = CFLAGS = -mn -o+time -D_WINDOWS -3 -a8 -c LFLAGS = /NOI /DE /E /PACKF /XU /A:16 DEFINES = !ENDIF HFLAGS = $(CFLAGS) MFLAGS = MASTERPROJ=$(PROJ) LIBFLAGS = /C RESFLAGS = DEBUGGERFLAGS = AFLAGS = $(CFLAGS) HELPFLAGS = MODEL = N PAR = PROJS BATS OBJS RCDEFINES = INCLUDES = INCLUDEDOBJS = OBJS = ..\common\cmndata.OBJ helpbase.OBJ http.OBJ \ ..\common\imagjpeg.OBJ app.OBJ checklst.OBJ dc.OBJ \ gdiimage.OBJ ownerdrw.OBJ toplevel.OBJ utils.OBJ RCFILES = RESFILES = HELPFILES = BATS = .SUFFIXES: .C .CP .CPP .CXX .CC .H .HPP .HXX .COM .EXE .DLL .LIB .RTF .DLG .ASM .RES .RC .OBJ .C.OBJ: $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o$*.obj $*.c .CPP.OBJ: $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o$*.obj $*.cpp .CXX.OBJ: $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o$*.obj $*.cxx .CC.OBJ: $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o$*.obj $*.cc .CP.OBJ: $(CC) $(CFLAGS) $(DEFINES) $(INCLUDES) -o$*.obj $*.cp .H.SYM: $(CC) $(HFLAGS) $(DEFINES) $(INCLUDES) -HF -o$(*B).sym $*.h .HPP.SYM: $(CC) $(HFLAGS) $(DEFINES) $(INCLUDES) -HF -o$(*B).sym $*.hpp .HXX.SYM: $(CC) $(HFLAGS) $(DEFINES) $(INCLUDES) -HF -o$(*B).sym $*.hxx .C.EXP: $(CPP) $(CFLAGS) $(DEFINES) $(INCLUDES) $*.c -o$*.lst .CPP.EXP: $(CPP) $(CFLAGS) $(DEFINES) $(INCLUDES) $*.cpp -o$*.lst .CXX.EXP: $(CPP) $(CFLAGS) $(DEFINES) $(INCLUDES) $*.cxx -o$*.lst .CP.EXP: $(CPP) $(CFLAGS) $(DEFINES) $(INCLUDES) $*.cp -o$*.lst .CC.EXP: $(CPP) $(CFLAGS) $(DEFINES) $(INCLUDES) $*.cc -o$*.lst .ASM.EXP: $(CPP) $(CFLAGS) $(DEFINES) $(INCLUDES) $*.asm -o$*.lst .OBJ.COD: $(DISASM) $*.OBJ -c !IF $(DEBUG) .OBJ.EXE: $(LNK) $(LFLAGS) @<<$(PROJ).LNK ..\common\cmndata.OBJ+ helpbase.OBJ+ http.OBJ+ ..\common\imagjpeg.OBJ+ app.OBJ+ checklst.OBJ+ dc.OBJ+ gdiimage.OBJ+ ownerdrw.OBJ+ toplevel.OBJ+ utils.OBJ $$SCW$$.LIB NUL dmc_wxmsw.DEF; << !ELSE .OBJ.EXE: $(LNK) $(LFLAGS) @$(PROJ).LNK<< ..\common\cmndata.OBJ+ helpbase.OBJ+ http.OBJ+ ..\common\imagjpeg.OBJ+ app.OBJ+ checklst.OBJ+ dc.OBJ+ gdiimage.OBJ+ ownerdrw.OBJ+ toplevel.OBJ+ utils.OBJ $$SCW$$.LIB NUL dmc_wxmsw.DEF; << !ENDIF .RTF.HLP: $(HC) $(HELPFLAGS) $*.HPJ .ASM.OBJ: $(ASM) $(AFLAGS) $(DEFINES) $(INCLUDES) -o$*.obj $*.asm .RC.RES: $(RC) $(RCDEFINES) $(RESFLAGS) $(INCLUDES) $*.rc -o$*.res .DLG.RES: echo ^#include "windows.h" >$$$*.rc echo ^IF EXIST "$*.h" >>$$$*.rc echo ^#include "$*.h" >>$$$*.rc echo ^#include "$*.dlg" >>$$$*.rc $(RC) $(RCDEFINES) $(RESFLAGS) $(INCLUDES) $$$*.rc -del $*.res -ren $$$*.res $*.res all: noteout createdir $(PRECOMPILE) $(SYMS) $(OBJS) $(INCLUDEDOBJS) $(POSTCOMPILE) $(TARGETDIR)\$(PROJ).$(PROJTYPE) $(POSTLINK) _done all2: createdir $(PRECOMPILE) $(SYMS) $(OBJS) $(INCLUDEDOBJS) $(POSTCOMPILE) $(TARGETDIR)\$(PROJ).$(PROJTYPE) $(POSTLINK) _done noteout: REM Output to $(OUTPUTDIR) createdir: $(CREATEOUTPUTDIR) $(CREATETARGETDIR) $(TARGETDIR)\$(PROJ).$(PROJTYPE): $(OBJS) $(INCLUDEDOBJS) $(RCFILES) $(RESFILES) $(HELPFILES) -del $(TARGETDIR)\$(PROJ).$(PROJTYPE) LIB $(TARGETDIR)\$$SCW$$.$(PROJTYPE) $(LIBFLAGS)\ @<< +..\common\cmndata.OBJ +helpbase.OBJ +http.OBJ & +..\common\imagjpeg.OBJ +app.OBJ +checklst.OBJ +dc.OBJ & +gdiimage.OBJ +ownerdrw.OBJ +toplevel.OBJ +utils.OBJ << -ren $(TARGETDIR)\$$SCW$$.$(PROJTYPE) $(PROJ).$(PROJTYPE) -echo $(TARGETDIR)\$(PROJ).$(PROJTYPE) built _done: REM Project is up to date buildall: clean all clean: -del $(TARGETDIR)\$$SCW$$.$(PROJTYPE) -del $(PROJ).CLE -del $(OUTPUTDIR)\SCPH.SYM -del dmc_wxmsw.dpd -del $(OBJS) cleanres: res: cleanres $(RCFILES) all link: LIB $(TARGETDIR)\$$SCW$$.$(PROJTYPE) $(LIBFLAGS)\ @<< +..\common\cmndata.OBJ +helpbase.OBJ +http.OBJ & +..\common\imagjpeg.OBJ +app.OBJ +checklst.OBJ +dc.OBJ & +gdiimage.OBJ +ownerdrw.OBJ +toplevel.OBJ +utils.OBJ << -del $(TARGETDIR)\$(PROJ).$(PROJTYPE) -ren $(TARGETDIR)\$$SCW$$.$(PROJTYPE) $(PROJ).$(PROJTYPE) !IF EXIST (dmc_wxmsw.dpd) !INCLUDE dmc_wxmsw.dpd !ENDIF |
August 22, 2003 Re: Am I right in thinking...... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Arjan Knepper | Ok time to start again <g> I will not copy the makefile that is in the \src\msw directory only the prj file, it is odd that this make file is not visible in z-Zip when I view files only when extracted. Uninstalled and reinstalling wxWindows once more :) the prj should the create a make file if one does not exist, but the one in the patch kit really does only include the file in the patch kit I will let you know what occurs Thanks for all your time and patience Yeric "Arjan Knepper" <arjan@ask.me> wrote in message news:bi5cj4$15b4$1@digitaldaemon.com... > No it seems to me you are only compiling the cpp files from the dmcpatchkit. > > You have to COPY the file from the dmcpatchkit OVERWRITING the original files in the wxWindows.2.4.1 src-tree. Thus the file defs.h form the dmcpatchkit.zip should overwrite the file in the original wxWindows-2.4.1\include\wx\defs.h > > Arjan > > Yeric wrote: > > > Arjan > > > > Is this correct should there only be this many files in wxmsw.prj > > > > helpbase.OBJ+ > > > > http.OBJ+ > > > > ..\common\imagjpeg.OBJ+ > > > > app.OBJ+ > > > > checklst.OBJ+ > > > > dc.OBJ+ > > > > gdiimage.OBJ+ > > > > ownerdrw.OBJ+ > > > > toplevel.OBJ+ > > > > utils.OBJ > > > > $$SCW$$.LIB > > > > Because these are all the file that exist in the makefile and all the files > > that exisit in the project ???? > > could this be why I am getting al these symbols undefined because it cant > > find the other files in the dmc_wxmsw.LIB ?? > > > > Thanks > > Yeric > > > > > > "Arjan Knepper" <arjan@ask > > > > .me> wrote in message news:bi50c2$jrv$1@digitaldaemon.com... > > > >>>dm\lib\ dir comctl32.lib etc > >>> > >>>I used the exact same settings as for the dmc_wxmsw.prj except changed > > > > the > > > >>>target to executable and also changed the directory paths as per instructions. > >>> > >>>Thanks so far for all your help, hope you can point me to where I have > > > > gone > > > >>>wrong > >>>Thanks > >>>Yeric > >>> > >>> > > > > sc -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\..\lib\dmc > > > > \release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc -I..\..\include -HF..\ > > > >>>..\lib\dmc\release\wxprec.SYM -o..\..\lib\dmc\release\wxprec.PCO > >>>..\..\include\wx\wxprec.h > >>>sc > >>> > > > > minimal.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\. > > > > .\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc -I..\..\inclu > > > >>>de -odmc\release\minimal.obj > >>>rcc -32 -I..\..\lib\dmc -I..\..\include -odmc\release\minimal.res > > > > minimal.rc > > > >>>link /NOI /DE /PACKF /XN /NT /ENTRY:WinMainCRTStartup /BAS:4194304 > > > > /A:512 > > > >>>/RC :dmc\release\minimal.RES @Minimal.LNK > >>>Error: > > > > O:\wxWindows_2_4_1\samples\minimal\dmc\release\minimal.OBJ(minimal) > > > >>>(6800867): Symbol Undefined > >>>?CheckBuildOptions@wxAppBase@@SA_NABVwxBuildOptions@@@Z > >>> > >> > >>Are you sure the O:\wxWindows_2_4_1\lib\dmc\release\dmc_wxmsw.lib file is included in the project? > >> > >>Arjan > >> > > > > > > > |
August 22, 2003 Re: Am I right in thinking...... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Arjan Knepper | Well this is the furthest yet ;) I reinstalled wxWindows as I copied all sorts of files from cvs and broke it completely. So a fresh install was needed Then I was very careful to copy the files from dmcpatch, making certain that i did not copy that makefile over only the source files, the .def files and the .prj files. It is still failing on the listctrl.cpp file I have included the output, but only the from the error bit sc listctrl.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc lude\ -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\rele ase\listctrl.obj Error: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1761): undefined identifier 'HDN_GETDISPINFOW' Error: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1763): undefined identifier 'LPNMHDDISPINFOW' Warning: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1763): value of expression is not used Error: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1772): pointer required before '->', '->*' or after '*' O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1772): Had: int Warning: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1772): value of expression is not used Lines Processed: 1010113 Errors: 3 Warnings: 10 Build failed thanks Yeric |
August 22, 2003 Re: Am I right in thinking...... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Arjan Knepper | Well good news and not so good Arjan, it all compiles fine if listctrl.cpp is taken out builds without problem just a few warnings, however none of the sample will compile because of missing symbols, to listctrl. Well this is as close as I have got so far, so keep up the excellent work Thanks Yeric |
August 22, 2003 Re: Am I right in thinking...... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Yeric Attachments: | HDN_GETDISPINFOW Is normally defined in commctrl.h in de compiler include direcory. I think you need a newer version of this file which you can get from the MS PlatformSDK. Or replace the file <wxWindow-dir>\include\wx\msw\missing.h with the one attached Arjan Yeric wrote: > Well this is the furthest yet ;) > I reinstalled wxWindows as I copied all sorts of files from cvs and broke it > completely. > So a fresh install was needed > > Then I was very careful to copy the files from dmcpatch, making certain that i did not copy that makefile over only the source files, the .def files and the .prj files. > > It is still failing on the listctrl.cpp file > I have included the output, but only the from the error bit > > sc > listctrl.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ > ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc > lude\ -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\rele > ase\listctrl.obj > Error: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1761): undefined identifier > 'HDN_GETDISPINFOW' > Error: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1763): undefined identifier > 'LPNMHDDISPINFOW' > Warning: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1763): value of expression > is not used > Error: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1772): pointer required > before '->', '->*' or after '*' > O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1772): Had: int > Warning: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1772): value of expression > is not used > Lines Processed: 1010113 Errors: 3 Warnings: 10 > Build failed > > thanks > Yeric > > |
August 22, 2003 Re: Am I right in thinking...... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Arjan Knepper | > HDN_GETDISPINFOW > > Is normally defined in commctrl.h in de compiler include direcory. > I think you need a newer version of this file which you can get from the > MS PlatformSDK. Ok thanks, I did also notice that the line that checks for (__DIGITALMARS__) in missing.h was not there so I added it and am compiling now, and crossed my fingers;) > Thanks for all your help Arjan it most appreciated I think this has fixed it though for sure so far so good infact YEEEEEEEEESSS!!!! it has just built listctrl successfully and is now compiling the rest of the library !! Yipeeeeee it worls!!!! it actually works!!!! ( jumping for joy cracking open the champaign well pils anyway ) Yeeeeehaaaa!!!! well nearly 13 hours later and it is done this is a lot of thanks to you two Knepper brothers Thanks thanks thanks!!!! happy Yeric ;p > Or replace the file <wxWindow-dir>\include\wx\msw\missing.h > > with the one attached > > Arjan > ---------------------------------------------------------------------------- ---- > //////////////////////////////////////////////////////////////////////////// / > // Name: missing.h > // Purpose: Declarations for parts of the Win32 SDK that are missing in > // the version that comes with some compilers > // Created: 2002/04/23 > // RCS-ID: $Id: missing.h,v 1.1.1.1 2003/08/14 11:32:03 arjan Exp $ > // Licence: wxWindows licence > //////////////////////////////////////////////////////////////////////////// / > > #ifndef _WX_MISSING_H_ > #define _WX_MISSING_H_ > > // ------------------------------------------------------------------------- --- > // ListView common control > // ------------------------------------------------------------------------- --- > > #ifndef LVHT_ONITEM > #define LVHT_ONITEM \ > (LVHT_ONITEMICON | LVHT_ONITEMLABEL | LVHT_ONITEMSTATEICON) > #endif > > #ifndef LVM_SETEXTENDEDLISTVIEWSTYLE > #define LVM_SETEXTENDEDLISTVIEWSTYLE (0x1000 + 54) > #endif > > #ifndef LVS_EX_FULLROWSELECT > #define LVS_EX_FULLROWSELECT 0x00000020 > #endif > > #ifndef LVS_OWNERDATA > #define LVS_OWNERDATA 0x1000 > #endif > > #ifndef LVM_FIRST > #define LVM_FIRST 0x1000 > #endif > > #ifndef HDM_FIRST > #define HDM_FIRST 0x1200 > #endif > > #ifndef LVCFMT_JUSTIFYMASK > #define LVCFMT_JUSTIFYMASK 0x0003 > #endif > > #ifndef LVSICF_NOSCROLL > #define LVSICF_NOSCROLL 0x0002 > #endif > > // mingw32/cygwin don't have declarations for comctl32.dll 4.70+ stuff > #ifndef NM_CACHEHINT > typedef struct tagNMLVCACHEHINT > { > NMHDR hdr; > int iFrom; > int iTo; > } NMLVCACHEHINT; > > #define NM_CACHEHINT NMLVCACHEHINT > #endif > > #ifndef LVN_ODCACHEHINT > #define LVN_ODCACHEHINT (-113) > #endif > > #ifndef ListView_GetHeader > #define ListView_GetHeader(w) (HWND)SendMessage((w),LVM_GETHEADER,0,0) > #endif > > #ifndef LVM_GETHEADER > #define LVM_GETHEADER (LVM_FIRST+31) > #endif > > #ifndef Header_GetItemRect > #define Header_GetItemRect(w,i,r) \ > (BOOL)SendMessage((w),HDM_GETITEMRECT,(WPARAM)(i),(LPARAM)(r)) > #endif > > #ifndef HDM_GETITEMRECT > #define HDM_GETITEMRECT (HDM_FIRST+7) > #endif > > #ifndef LVCF_IMAGE > #define LVCF_IMAGE 0x0010 > #endif > > #ifndef LVCFMT_BITMAP_ON_RIGHT > #define LVCFMT_BITMAP_ON_RIGHT 0x1000 > #endif > > #if defined(__GNUWIN32__) && !defined(LV_ITEM) \ > && !wxCHECK_W32API_VERSION( 0, 5 ) > typedef struct _LVITEMW { > UINT mask; > int iItem; > int iSubItem; > UINT state; > UINT stateMask; > LPWSTR pszText; > int cchTextMax; > int iImage; > LPARAM lParam; > #if (_WIN32_IE >= 0x0300) > int iIndent; > #endif > } LV_ITEMW; > > typedef struct tagLVITEMA > { > UINT mask; > int iItem; > int iSubItem; > UINT state; > UINT stateMask; > LPSTR pszText; > int cchTextMax; > int iImage; > LPARAM lParam; > #if (_WIN32_IE >= 0x0300) > int iIndent; > #endif > } LV_ITEMA; > > #define LV_ITEM LV_ITEMA; > #endif > > #ifndef ListView_GetColumnWidth > #define ListView_GetColumnWidth(hwnd, iCol) \ > (int)SNDMSG((hwnd), LVM_GETCOLUMNWIDTH, (WPARAM)(int)(iCol), 0) > #endif > > #ifndef ListView_SetColumnWidth > #define ListView_SetColumnWidth(hwnd, iCol, cx) \ > (BOOL)SNDMSG((hwnd), LVM_SETCOLUMNWIDTH, (WPARAM)(int)(iCol), MAKELPARAM((cx), 0)) > #endif > > #ifndef ListView_GetTextColor > #define ListView_GetTextColor(hwnd) \ > (COLORREF)SNDMSG((hwnd), LVM_GETTEXTCOLOR, 0, 0L) > #endif > > #ifndef ListView_FindItem > #define ListView_FindItem(hwnd, iStart, plvfi) \ > (int)SNDMSG((hwnd), LVM_FINDITEM, (WPARAM)(int)(iStart), (LPARAM)(const LV_FINDINFO FAR*)(plvfi)) > #endif > > #if defined(__GNUWIN32__) && !wxCHECK_W32API_VERSION( 0, 5 ) > #ifndef LV_DISPINFOA > typedef struct tagNMLVDISPINFOA { > NMHDR hdr; > LV_ITEMA item; > } NMLVDISPINFOA, FAR *LPNMLVDISPINFOA; > #define _LV_DISPINFOA tagNMLVDISPINFOA > #define LV_DISPINFOA NMLVDISPINFOA > #endif > #ifndef LV_DISPINFOW > typedef struct tagNMLVDISPINFOW { > NMHDR hdr; > LV_ITEMW item; > } NMLVDISPINFOW, FAR *LPNMLVDISPINFOW; > #define _LV_DISPINFOW tagNMLVDISPINFOW > #define LV_DISPINFOW NMLVDISPINFOW > #endif > #endif > > #if ((defined(__WATCOMC__) && __WATCOMC__ >= 1200) || defined(__GNUWIN32__) || defined (__MINGW32__) || defined (__BORLANDC__) || defined(__DMCPP__)) && !defined(HDN_GETDISPINFOW) > #define HDN_GETDISPINFOW (HDN_FIRST-29) > #if !wxCHECK_W32API_VERSION(2, 2) > typedef struct { > NMHDR hdr; > int iItem; > UINT mask; > LPWSTR pszText; > int cchTextMax; > int iImage; > LPARAM lParam; > } NMHDDISPINFOW, *LPNMHDDISPINFOW; > #endif > #endif > > > // ------------------------------------------------------------------------- --- > // MS HTML Help > // ------------------------------------------------------------------------- --- > > // instead of including htmlhelp.h, duplicate the things from it we need here: > > enum > { > HH_DISPLAY_TOPIC, > HH_DISPLAY_TOC, > HH_DISPLAY_INDEX, > HH_DISPLAY_SEARCH, > HH_SET_WIN_TYPE, > HH_GET_WIN_TYPE, > HH_GET_WIN_HANDLE, > HH_ENUM_INFO_TYPE, > HH_SET_INFO_TYPE, > HH_SYNC, > HH_RESERVED1, > HH_RESERVED2, > HH_RESERVED3, > HH_KEYWORD_LOOKUP, > HH_DISPLAY_TEXT_POPUP, > HH_HELP_CONTEXT, > HH_TP_HELP_CONTEXTMENU, > HH_TP_HELP_WM_HELP, > HH_CLOSE_ALL, > HH_ALINK_LOOKUP, > HH_GET_LAST_ERROR, > HH_ENUM_CATEGORY, > HH_ENUM_CATEGORY_IT, > HH_RESET_IT_FILTER, > HH_SET_INCLUSIVE_FILTER, > HH_SET_EXCLUSIVE_FILTER > }; > > struct HH_POPUP > { > int cbStruct; > HINSTANCE hinst; > UINT idString; > LPCTSTR pszText; > POINT pt; > COLORREF clrForeground; > COLORREF clrBackground; > RECT rcMargins; > LPCTSTR pszFont; > }; > > struct HH_AKLINK > { > int cbStruct; > BOOL fReserved; > LPCTSTR pszKeywords; > LPCTSTR pszUrl; > LPCTSTR pszMsgText; > LPCTSTR pszMsgTitle; > LPCTSTR pszWindow; > BOOL fIndexOnFail; > }; > > > // ------------------------------------------------------------------------- --- > // Misc stuff > // ------------------------------------------------------------------------- --- > > #ifndef QS_ALLPOSTMESSAGE > #define QS_ALLPOSTMESSAGE 0x0100 > #endif > > #ifdef __WXWINE__ > #define LV_ITEMA LVITEMA > #define LV_ITEMW LVITEMW > #define LV_DISPINFOA NMLVDISPINFOA > #define LV_DISPINFOW NMLVDISPINFOW > > #if wxUSE_UNICODE > #define LV_FINDINFO LVFINDINFOW > #else > #define LV_FINDINFO LVFINDINFOA > #endif > > #endif > > #endif > // _WX_MISSING_H_ > |
August 22, 2003 Re: Am I right in thinking...... | ||||
---|---|---|---|---|
| ||||
Posted in reply to Arjan Knepper | Confirmed successfully built minimal Thank you very much Yeric "Arjan Knepper" <arjan@ask.me> wrote in message news:bi61vp$24j5$1@digitaldaemon.com... > HDN_GETDISPINFOW > > Is normally defined in commctrl.h in de compiler include direcory. > I think you need a newer version of this file which you can get from the > MS PlatformSDK. > > Or replace the file <wxWindow-dir>\include\wx\msw\missing.h > > with the one attached > > Arjan > > Yeric wrote: > > > Well this is the furthest yet ;) > > I reinstalled wxWindows as I copied all sorts of files from cvs and broke it > > completely. > > So a fresh install was needed > > > > Then I was very careful to copy the files from dmcpatch, making certain that > > i did not copy that makefile over only the source files, the .def files and > > the .prj files. > > > > It is still failing on the listctrl.cpp file > > I have included the output, but only the from the error bit > > > > sc > > listctrl.cpp -cpp -Ae -Ar -mn -o+time -D_WINDOWS -ff -5 -a8 -Nc -c -H -HD..\ > > ..\lib\dmc\release -HO- -D__WXMSW__ -D__WIN95__ -I..\..\lib\dmc\ -I..\..\inc > > lude\ -I..\zlib -I..\png -I..\jpeg -I..\tiff -I..\regex -o..\..\lib\dmc\rele > > ase\listctrl.obj > > Error: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1761): undefined identifier > > 'HDN_GETDISPINFOW' > > Error: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1763): undefined identifier > > 'LPNMHDDISPINFOW' > > Warning: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1763): value of expression > > is not used > > Error: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1772): pointer required > > before '->', '->*' or after '*' > > O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1772): Had: int > > Warning: O:\wxWindows_2_4_1\src\msw\listctrl.cpp(1772): value of expression > > is not used > > Lines Processed: 1010113 Errors: 3 Warnings: 10 > > Build failed > > > > thanks > > Yeric > > > > > ---------------------------------------------------------------------------- ---- > //////////////////////////////////////////////////////////////////////////// / > // Name: missing.h > // Purpose: Declarations for parts of the Win32 SDK that are missing in > // the version that comes with some compilers > // Created: 2002/04/23 > // RCS-ID: $Id: missing.h,v 1.1.1.1 2003/08/14 11:32:03 arjan Exp $ > // Licence: wxWindows licence > //////////////////////////////////////////////////////////////////////////// / > > #ifndef _WX_MISSING_H_ > #define _WX_MISSING_H_ > > // ------------------------------------------------------------------------- --- > // ListView common control > // ------------------------------------------------------------------------- --- > > #ifndef LVHT_ONITEM > #define LVHT_ONITEM \ > (LVHT_ONITEMICON | LVHT_ONITEMLABEL | LVHT_ONITEMSTATEICON) > #endif > > #ifndef LVM_SETEXTENDEDLISTVIEWSTYLE > #define LVM_SETEXTENDEDLISTVIEWSTYLE (0x1000 + 54) > #endif > > #ifndef LVS_EX_FULLROWSELECT > #define LVS_EX_FULLROWSELECT 0x00000020 > #endif > > #ifndef LVS_OWNERDATA > #define LVS_OWNERDATA 0x1000 > #endif > > #ifndef LVM_FIRST > #define LVM_FIRST 0x1000 > #endif > > #ifndef HDM_FIRST > #define HDM_FIRST 0x1200 > #endif > > #ifndef LVCFMT_JUSTIFYMASK > #define LVCFMT_JUSTIFYMASK 0x0003 > #endif > > #ifndef LVSICF_NOSCROLL > #define LVSICF_NOSCROLL 0x0002 > #endif > > // mingw32/cygwin don't have declarations for comctl32.dll 4.70+ stuff > #ifndef NM_CACHEHINT > typedef struct tagNMLVCACHEHINT > { > NMHDR hdr; > int iFrom; > int iTo; > } NMLVCACHEHINT; > > #define NM_CACHEHINT NMLVCACHEHINT > #endif > > #ifndef LVN_ODCACHEHINT > #define LVN_ODCACHEHINT (-113) > #endif > > #ifndef ListView_GetHeader > #define ListView_GetHeader(w) (HWND)SendMessage((w),LVM_GETHEADER,0,0) > #endif > > #ifndef LVM_GETHEADER > #define LVM_GETHEADER (LVM_FIRST+31) > #endif > > #ifndef Header_GetItemRect > #define Header_GetItemRect(w,i,r) \ > (BOOL)SendMessage((w),HDM_GETITEMRECT,(WPARAM)(i),(LPARAM)(r)) > #endif > > #ifndef HDM_GETITEMRECT > #define HDM_GETITEMRECT (HDM_FIRST+7) > #endif > > #ifndef LVCF_IMAGE > #define LVCF_IMAGE 0x0010 > #endif > > #ifndef LVCFMT_BITMAP_ON_RIGHT > #define LVCFMT_BITMAP_ON_RIGHT 0x1000 > #endif > > #if defined(__GNUWIN32__) && !defined(LV_ITEM) \ > && !wxCHECK_W32API_VERSION( 0, 5 ) > typedef struct _LVITEMW { > UINT mask; > int iItem; > int iSubItem; > UINT state; > UINT stateMask; > LPWSTR pszText; > int cchTextMax; > int iImage; > LPARAM lParam; > #if (_WIN32_IE >= 0x0300) > int iIndent; > #endif > } LV_ITEMW; > > typedef struct tagLVITEMA > { > UINT mask; > int iItem; > int iSubItem; > UINT state; > UINT stateMask; > LPSTR pszText; > int cchTextMax; > int iImage; > LPARAM lParam; > #if (_WIN32_IE >= 0x0300) > int iIndent; > #endif > } LV_ITEMA; > > #define LV_ITEM LV_ITEMA; > #endif > > #ifndef ListView_GetColumnWidth > #define ListView_GetColumnWidth(hwnd, iCol) \ > (int)SNDMSG((hwnd), LVM_GETCOLUMNWIDTH, (WPARAM)(int)(iCol), 0) > #endif > > #ifndef ListView_SetColumnWidth > #define ListView_SetColumnWidth(hwnd, iCol, cx) \ > (BOOL)SNDMSG((hwnd), LVM_SETCOLUMNWIDTH, (WPARAM)(int)(iCol), MAKELPARAM((cx), 0)) > #endif > > #ifndef ListView_GetTextColor > #define ListView_GetTextColor(hwnd) \ > (COLORREF)SNDMSG((hwnd), LVM_GETTEXTCOLOR, 0, 0L) > #endif > > #ifndef ListView_FindItem > #define ListView_FindItem(hwnd, iStart, plvfi) \ > (int)SNDMSG((hwnd), LVM_FINDITEM, (WPARAM)(int)(iStart), (LPARAM)(const LV_FINDINFO FAR*)(plvfi)) > #endif > > #if defined(__GNUWIN32__) && !wxCHECK_W32API_VERSION( 0, 5 ) > #ifndef LV_DISPINFOA > typedef struct tagNMLVDISPINFOA { > NMHDR hdr; > LV_ITEMA item; > } NMLVDISPINFOA, FAR *LPNMLVDISPINFOA; > #define _LV_DISPINFOA tagNMLVDISPINFOA > #define LV_DISPINFOA NMLVDISPINFOA > #endif > #ifndef LV_DISPINFOW > typedef struct tagNMLVDISPINFOW { > NMHDR hdr; > LV_ITEMW item; > } NMLVDISPINFOW, FAR *LPNMLVDISPINFOW; > #define _LV_DISPINFOW tagNMLVDISPINFOW > #define LV_DISPINFOW NMLVDISPINFOW > #endif > #endif > > #if ((defined(__WATCOMC__) && __WATCOMC__ >= 1200) || defined(__GNUWIN32__) || defined (__MINGW32__) || defined (__BORLANDC__) || defined(__DMCPP__)) && !defined(HDN_GETDISPINFOW) > #define HDN_GETDISPINFOW (HDN_FIRST-29) > #if !wxCHECK_W32API_VERSION(2, 2) > typedef struct { > NMHDR hdr; > int iItem; > UINT mask; > LPWSTR pszText; > int cchTextMax; > int iImage; > LPARAM lParam; > } NMHDDISPINFOW, *LPNMHDDISPINFOW; > #endif > #endif > > > // ------------------------------------------------------------------------- --- > // MS HTML Help > // ------------------------------------------------------------------------- --- > > // instead of including htmlhelp.h, duplicate the things from it we need here: > > enum > { > HH_DISPLAY_TOPIC, > HH_DISPLAY_TOC, > HH_DISPLAY_INDEX, > HH_DISPLAY_SEARCH, > HH_SET_WIN_TYPE, > HH_GET_WIN_TYPE, > HH_GET_WIN_HANDLE, > HH_ENUM_INFO_TYPE, > HH_SET_INFO_TYPE, > HH_SYNC, > HH_RESERVED1, > HH_RESERVED2, > HH_RESERVED3, > HH_KEYWORD_LOOKUP, > HH_DISPLAY_TEXT_POPUP, > HH_HELP_CONTEXT, > HH_TP_HELP_CONTEXTMENU, > HH_TP_HELP_WM_HELP, > HH_CLOSE_ALL, > HH_ALINK_LOOKUP, > HH_GET_LAST_ERROR, > HH_ENUM_CATEGORY, > HH_ENUM_CATEGORY_IT, > HH_RESET_IT_FILTER, > HH_SET_INCLUSIVE_FILTER, > HH_SET_EXCLUSIVE_FILTER > }; > > struct HH_POPUP > { > int cbStruct; > HINSTANCE hinst; > UINT idString; > LPCTSTR pszText; > POINT pt; > COLORREF clrForeground; > COLORREF clrBackground; > RECT rcMargins; > LPCTSTR pszFont; > }; > > struct HH_AKLINK > { > int cbStruct; > BOOL fReserved; > LPCTSTR pszKeywords; > LPCTSTR pszUrl; > LPCTSTR pszMsgText; > LPCTSTR pszMsgTitle; > LPCTSTR pszWindow; > BOOL fIndexOnFail; > }; > > > // ------------------------------------------------------------------------- --- > // Misc stuff > // ------------------------------------------------------------------------- --- > > #ifndef QS_ALLPOSTMESSAGE > #define QS_ALLPOSTMESSAGE 0x0100 > #endif > > #ifdef __WXWINE__ > #define LV_ITEMA LVITEMA > #define LV_ITEMW LVITEMW > #define LV_DISPINFOA NMLVDISPINFOA > #define LV_DISPINFOW NMLVDISPINFOW > > #if wxUSE_UNICODE > #define LV_FINDINFO LVFINDINFOW > #else > #define LV_FINDINFO LVFINDINFOA > #endif > > #endif > > #endif > // _WX_MISSING_H_ > |
Copyright © 1999-2021 by the D Language Foundation