March 26, 2005 building 2.5.3 | |
|---|---|
How to compile WxWidgets 2.5.3 with DMC ?
I had to patch the main makefile because ".cpp" was meant instead of ".c" at
2 places, and now I get an OPTLINK error when building the samples :
C:\lib\c\wxWidgets-2.5.3\samples>make -f makefile.dmc
cd access
make -f makefile.dmc CC="dmc" CXX="dmc" CFLAGS="" CXXFLAGS="" CPPFLAGS=""
LDFLA
GS="" VENDOR="custom" CFG="" CPPUNIT_CFLAGS="" CPPUNIT_LIBS="" all
link /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT /DEBUG /CODEVIEW
/su:wind
ows
dmc_mswd\accesstest_accesstest.obj,dmc_mswd\accesstest.exe,dmc_mswd\accesste
st.map, .\..\..\lib\dmc_lib\ wxmsw25d_core.lib wxbase25d.lib wxtiffd.lib
wxjp
egd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib
user32.
lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib
ole32
.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ,,
dmc
_mswd\accesstest_accesstest.res
OPTLINK (R) for Win32 Release 7.50B1
Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved
.\..\..\lib\dmc_lib\wxmsw25d_core.lib(button)
Error 42: Symbol Undefined ?wxGetStockLabel@@YA?AVwxString@@H@Z (wxString
cdecl
wxGetStockLabel(int ))
.\..\..\lib\dmc_lib\wxmsw25d_core.lib(button)
Error 42: Symbol Undefined ?wxIsStockID@@YA_NH@Z
c:\dm\bin\..\lib\shell32.lib(shguid)
Warning 160: MS Precompiled TYPES not supported
c:\dm\bin\..\lib\shell32.lib(shguid)
Warning 161: Unknown CV version, ignored
--- errorlevel 2
--- errorlevel 2
Valéry.
| |
March 30, 2005 Re: building 2.5.3 | |
|---|---|
Posted in reply to Valéry | did the minimal sample link ok ? I would suggest updating your wxW to a more recent version- http://biolpc22.york.ac.uk/pub/CVS_HEAD/ builds the access sample ok chris Valéry wrote: > How to compile WxWidgets 2.5.3 with DMC ? > I had to patch the main makefile because ".cpp" was meant instead of ".c" at > 2 places, and now I get an OPTLINK error when building the samples : > > C:\lib\c\wxWidgets-2.5.3\samples>make -f makefile.dmc > cd access > make -f makefile.dmc CC="dmc" CXX="dmc" CFLAGS="" CXXFLAGS="" CPPFLAGS="" > LDFLA > GS="" VENDOR="custom" CFG="" CPPUNIT_CFLAGS="" CPPUNIT_LIBS="" all > link /NOLOGO /SILENT /NOI /DELEXECUTABLE /EXETYPE:NT /DEBUG /CODEVIEW > /su:wind > ows > dmc_mswd\accesstest_accesstest.obj,dmc_mswd\accesstest.exe,dmc_mswd\accesste > st.map, .\..\..\lib\dmc_lib\ wxmsw25d_core.lib wxbase25d.lib wxtiffd.lib > wxjp > egd.lib wxpngd.lib wxzlibd.lib wxregexd.lib wxexpatd.lib kernel32.lib > user32. > lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib > ole32 > .lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib ,, > dmc > _mswd\accesstest_accesstest.res > OPTLINK (R) for Win32 Release 7.50B1 > Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved > > .\..\..\lib\dmc_lib\wxmsw25d_core.lib(button) > Error 42: Symbol Undefined ?wxGetStockLabel@@YA?AVwxString@@H@Z (wxString > cdecl > wxGetStockLabel(int )) > .\..\..\lib\dmc_lib\wxmsw25d_core.lib(button) > Error 42: Symbol Undefined ?wxIsStockID@@YA_NH@Z > c:\dm\bin\..\lib\shell32.lib(shguid) > Warning 160: MS Precompiled TYPES not supported > c:\dm\bin\..\lib\shell32.lib(shguid) > Warning 161: Unknown CV version, ignored > > --- errorlevel 2 > > --- errorlevel 2 > > Valéry. > > |

Reply