CEGUI版本是0.8.4
我用的是VS2012,DX、CEGUI环境已经配置,准备尝试按照教程初始化CEGUI
包含了Renderer头文件
#include
也在链接器的附加依赖项里添加了需要的库
CEGUIBase-0_d.lib
CEGUIDirect3D9Renderer-0_d.lib
之后尝试调用这个函数的时候
CEGUI::Direct3D9Renderer& myRenderer = CEGUI::Direct3D9Renderer::bootstrapSystem( myD3D9Device );
报错
CEtest.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static class CEGUI::Direct3D9Renderer & cdecl CEGUI::Direct3D9Renderer::bootstrapSystem(struct IDirect3DDevice9 *,int)" (imp_?bootstrapSystem@Direct3D9Renderer@CEGUI@@SAAAV12@PAUIDirect3DDevice9@@H@Z)
求解为什么……