Compiling SciTE 2.24 with Microsoft Visual C++ 2008 Express Edition

200 views
Skip to first unread message

dlchnr

unread,
Feb 6, 2011, 12:53:47 PM2/6/11
to scite-interest
@ Neil
I've compiled new release of SciTE with Microsoft Visual C++ 2008
Express Edition
and got the following warnings and linker errors (no problem for me,
only a hint for
you - maybe you want to change something):

# Warnings
h:\p2009\wxwidgets-2.8.9\test224\scite\win32\scitewin.cxx(516) :
warning C4996: 'unlink': The POSIX name for this item is deprecated.
Instead, use the ISO C++ conformant name: _unlink. See online help for
details.
c:\programme\microsoft visual studio 9.0\vc\include
\stdio.h(301) : see declaration of 'unlink'
h:\p2009\wxwidgets-2.8.9\test224\scite\win32\scitewin.cxx(1053) :
warning C4996: 'strlwr': The POSIX name for this item is deprecated.
Instead, use the ISO C++ conformant name: _strlwr. See online help for
details.
c:\programme\microsoft visual studio 9.0\vc\include
\string.h(216) : see declaration of 'strlwr'

# Linker Errors
Linking...
SciTEWin.obj : error LNK2019: unresolved external symbol
__imp__CloseThemeData@4 referenced in function "protected: virtual
void __thiscall Strip::Destruction(void)" (?Destruction@Strip@@MAEXXZ)
SciTEWin.obj : error LNK2019: unresolved external symbol
__imp__DrawThemeBackground@24 referenced in function "protected:
virtual void __thiscall Strip::Paint(struct HDC__ *)" (?
Paint@Strip@@MAEXPAUHDC__@@@Z)
SciTEWin.obj : error LNK2019: unresolved external symbol
__imp__GetThemePartSize@28 referenced in function "protected: void
__thiscall Strip::SetTheme(void)" (?SetTheme@Strip@@IAEXXZ)
SciTEWin.obj : error LNK2019: unresolved external symbol
__imp__OpenThemeData@8 referenced in function "protected: void
__thiscall Strip::SetTheme(void)" (?SetTheme@Strip@@IAEXXZ)
SciTEWin.obj : error LNK2019: unresolved external symbol
__imp__TransparentBlt@44 referenced in function "protected: virtual
long __thiscall Strip::CustomDraw(struct tagNMHDR *)" (?
CustomDraw@Strip@@MAEJPAUtagNMHDR@@@Z)
SciTEWin.obj : error LNK2019: unresolved external symbol
__imp__GetThemeBackgroundContentRect@24 referenced in function
"protected: virtual long __thiscall Strip::CustomDraw(struct tagNMHDR
*)" (?CustomDraw@Strip@@MAEJPAUtagNMHDR@@@Z)
SciTEWin.obj : error LNK2019: unresolved external symbol
__imp__DrawThemeParentBackground@12 referenced in function "protected:
virtual long __thiscall Strip::CustomDraw(struct tagNMHDR *)" (?
CustomDraw@Strip@@MAEJPAUtagNMHDR@@@Z)
.\Debug/SciTE.exe : fatal error LNK1120: 7 unresolved externals

To avoid the linker errors, UxTheme.lib and Msimg32.lib
has to be add as linker input files to the project.
Reply all
Reply to author
Forward
0 new messages