樓主你好,很高興你能夠無(wú)私的開(kāi)源自己的作品。
我改成靜態(tài)LIB,結(jié)果除了以下鏈接問(wèn)題,如何處理呢?謝謝。
1>------ 已啟動(dòng)生成: 項(xiàng)目: ControlDemo, 配置: Release Win32 ------
1>正在鏈接...
1>duilib.lib(DUIRenderEngine.obj) : error LNK2019: 無(wú)法解析的外部符號(hào) __imp__GradientFill@24,該符號(hào)在函數(shù) "private: static void __cdecl DUI::CDUIRenderEngine::GradientFill(struct HDC__ *,struct tagRECT const &,unsigned long,unsigned long,int)" (?GradientFill@CDUIRenderEngine@DUI@@CAXPAUHDC__@@ABUtagRECT@@KKH@Z) 中被引用
1>duilib.lib(DUIRenderEngine.obj) : error LNK2019: 無(wú)法解析的外部符號(hào) __imp__AlphaBlend@44,該符號(hào)在函數(shù) "public: static void __cdecl DUI::CDUIRenderEngine::DrawGradien(struct HDC__ *,struct tagRECT const &,class DUI::CARGB const &,class DUI::CARGB const &,int)" (?DrawGradien@CDUIRenderEngine@DUI@@SAXPAUHDC__@@ABUtagRECT@@ABVCARGB@2@2H@Z) 中被引用
1>duilib.lib(DUIDdb.obj) : error LNK2001: 無(wú)法解析的外部符號(hào) __imp__AlphaBlend@44
1>duilib.lib(DUIDib.obj) : error LNK2001: 無(wú)法解析的外部符號(hào) __imp__AlphaBlend@44
1>duilib.lib(DUIDdb.obj) : error LNK2019: 無(wú)法解析的外部符號(hào) __imp__TransparentBlt@44,該符號(hào)在函數(shù) "public: static int __cdecl DUI::CBitmapCommonFunction::TransparentBltWithoutStretch(struct HDC__ *,struct HBITMAP__ *,struct tagRECT const &,class DUI::CARGB const &)" (?TransparentBltWithoutStretch@CBitmapCommonFunction@DUI@@SAHPAUHDC__@@PAUHBITMAP__@@ABUtagRECT@@ABVCARGB@2@@Z) 中被引用
1>duilib.lib(DUIDib.obj) : error LNK2001: 無(wú)法解析的外部符號(hào) __imp__TransparentBlt@44
1>../../bin/Release/ControlDemo.exe : fatal error LNK1120: 3 個(gè)無(wú)法解析的外部命令
1>生成日志保存在“file://f:\duilib_modify_version\dui\obj\release\ControlDemo\BuildLog.htm”
1>ControlDemo - 7 個(gè)錯(cuò)誤,0 個(gè)警告
========== 生成: 成功 0 個(gè),失敗 1 個(gè),最新 2 個(gè),跳過(guò) 0 個(gè) ==========
回復(fù) 更多評(píng)論