Thread overview | |||||
---|---|---|---|---|---|
|
September 29, 2003 Symbols Undefined in wx_sc.lib ! | ||||
---|---|---|---|---|
| ||||
Hi, I just built wxwindows-2.4.2 with DMC++, using include files and converted .libs from the latest MS Platform SDK (February 2003). When linking the samples in wxwindows-2.4.2 I alway's get the same linker error: for example: > make -f makefile.sc link /DELEXECUTABLE /RC -L/exet:nt/su:windows notebook.obj , notebook.exe, note book, ..\..\lib\ wx_sc.lib png_sc tiff_sc jpeg_sc zlib_sc shell32_sc wsock32_sc winmm32_sc advapi32 comctl32 comdlg32 gc gdi32 kernel32 ole32 oleaut32 snn user 32 uuid OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved ..\..\lib\wx_sc.lib(droptgt) Error 42: Symbol Undefined _IID_IDropTarget ..\..\lib\wx_sc.lib(droptgt) Error 42: Symbol Undefined _IID_IUnknown ..\..\lib\wx_sc.lib(dataobj) Error 42: Symbol Undefined _IID_IDataObject ..\..\lib\wx_sc.lib(dataobj) Error 42: Symbol Undefined _IID_IEnumFORMATETC --- errorlevel 4 I rebuilt the wx_sc.lib library after changing wxUSE_DATAOBJ and wxUSE_DRAG_AND_DROP = 0 but the error persist! I assume that droptgt.cpp gets compiled and inserted into that wx_sc.lib, where it references those symbols , but it failes to resolve the symbols _IID_IDropTarget (et al.). I couldn't figure out the origin of IID_IDropTarget but I guess it should be something like ...\sdk\ole32.lib ! The only ole*-libraries I have are those from the converted Platform SDK libraries [C:\utv\dm] > dir ole*.lib /s Volume in drive C has no label. Volume Serial Number is 40AC-9A22 Directory of C:\utv\dm\mssdk\Lib 2003-09-29 21:25 38 400 ole32.lib 2003-09-29 21:25 2 048 oleacc.lib 2003-09-29 21:25 30 208 oleaut32.lib 2003-09-29 21:25 3 072 oledlg.lib 2003-09-29 21:25 1 024 olepro32.lib 5 File(s) 74 752 bytes Total Files Listed: 5 File(s) 74 752 bytes 0 Dir(s) 95 266 861 056 bytes free Done anyone have a hint on how to get by the problem described above ? regards - Ingi |
September 30, 2003 Re: Symbols Undefined in wx_sc.lib ! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ingvaldur Sigurjonsson |
Ingvaldur Sigurjonsson wrote:
> Hi,
>
> I just built wxwindows-2.4.2 with DMC++, using include files and converted .libs from the latest MS Platform SDK (February 2003).
>
It links for me using the libraries suppiled with DMC; I've not tried it against the libaries from the SDK, but the error you report is suggestive of missing imports in the .lib files
chris
|
October 22, 2003 Re: Symbols Undefined in wx_sc.lib ! | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ingvaldur Sigurjonsson | I built a project using the IDDE and libs from the D Mars CD; I saw these symbols as unresolved when linking, and these symbols were resolved by adding uuid.lib chris "Ingvaldur Sigurjonsson" <ingi@telia.com> wrote in message news:bla6u6$u6a$1@digitaldaemon.com... > Hi, > > I just built wxwindows-2.4.2 with DMC++, using include files and converted .libs from the latest MS Platform SDK (February 2003). > > When linking the samples in wxwindows-2.4.2 I alway's get the same linker error: > > for example: > > make -f makefile.sc > link /DELEXECUTABLE /RC -L/exet:nt/su:windows notebook.obj , > notebook.exe, note > book, ..\..\lib\ wx_sc.lib png_sc tiff_sc jpeg_sc zlib_sc shell32_sc > wsock32_sc > winmm32_sc advapi32 comctl32 comdlg32 gc gdi32 kernel32 ole32 oleaut32 > snn user > 32 uuid > OPTLINK (R) for Win32 Release 7.50B1 > Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved > > ..\..\lib\wx_sc.lib(droptgt) > Error 42: Symbol Undefined _IID_IDropTarget > ..\..\lib\wx_sc.lib(droptgt) > Error 42: Symbol Undefined _IID_IUnknown > ..\..\lib\wx_sc.lib(dataobj) > Error 42: Symbol Undefined _IID_IDataObject > ..\..\lib\wx_sc.lib(dataobj) > Error 42: Symbol Undefined _IID_IEnumFORMATETC > > --- errorlevel 4 > > > I rebuilt the wx_sc.lib library after changing wxUSE_DATAOBJ and wxUSE_DRAG_AND_DROP = 0 > > but the error persist! > > > I assume that droptgt.cpp gets compiled and inserted into that wx_sc.lib, where it references those symbols , but it failes to resolve the symbols _IID_IDropTarget (et al.). I couldn't figure out the origin of IID_IDropTarget but I guess it should be something like ...\sdk\ole32.lib ! > > The only ole*-libraries I have are those from the converted Platform SDK libraries > > [C:\utv\dm] > > dir ole*.lib /s > Volume in drive C has no label. > Volume Serial Number is 40AC-9A22 > > Directory of C:\utv\dm\mssdk\Lib > > 2003-09-29 21:25 38 400 ole32.lib > 2003-09-29 21:25 2 048 oleacc.lib > 2003-09-29 21:25 30 208 oleaut32.lib > 2003-09-29 21:25 3 072 oledlg.lib > 2003-09-29 21:25 1 024 olepro32.lib > 5 File(s) 74 752 bytes > > Total Files Listed: > 5 File(s) 74 752 bytes > 0 Dir(s) 95 266 861 056 bytes free > > Done anyone have a hint on how to get by the problem described above ? > > regards > > - Ingi > |
Copyright © 1999-2021 by the D Language Foundation