Ogre link problem with ceguilua0.6
Posted: Thu Apr 03, 2008 12:51
the original topic in ogre forum:
http://www.ogre3d.org/phpBB2/viewtopic.php?t=40337
I use CEGUI0.6 SDK, use OGRE 1.47 SDK,when I use CEGUILua, run the app,and " can not find entry in CEGUIbase_d.dll" occur.
the following codes are link infos:
#pragma comment (lib,"OgreMain_d.lib")
#pragma comment (lib,"OgreGUIRenderer_d.lib")
#pragma comment (lib,"OIS_d.lib")
#pragma comment(lib,"CEGUIBase_d.lib")
#pragma comment(lib,"CEGUILua_d.lib")
#pragma comment(lib,"tolua++_d.lib")
#pragma comment(lib,"lua_d.lib")
I find that in CEGUI 0.6 lua sample,the link infos are:
#pragma comment(lib,"CEGUIBase_static_d.lib")
#pragma comment(lib,"CEGUILua_static_d.lib")
when I change mine codes to these things,the link error happened:
error LNK2019: __imp__timeGetTime@0, "public: static double __cdecl CEGUI::SimpleTimer::currentTime(void)" (?currentTime@SimpleTimer@CEGUI@@SANXZ) CEGUIBase_Static_d.lib
then I add link "winmm.lib",compiling is successful,but running's problem still exists,why???!!!
http://www.ogre3d.org/phpBB2/viewtopic.php?t=40337
I use CEGUI0.6 SDK, use OGRE 1.47 SDK,when I use CEGUILua, run the app,and " can not find entry in CEGUIbase_d.dll" occur.
the following codes are link infos:
#pragma comment (lib,"OgreMain_d.lib")
#pragma comment (lib,"OgreGUIRenderer_d.lib")
#pragma comment (lib,"OIS_d.lib")
#pragma comment(lib,"CEGUIBase_d.lib")
#pragma comment(lib,"CEGUILua_d.lib")
#pragma comment(lib,"tolua++_d.lib")
#pragma comment(lib,"lua_d.lib")
I find that in CEGUI 0.6 lua sample,the link infos are:
#pragma comment(lib,"CEGUIBase_static_d.lib")
#pragma comment(lib,"CEGUILua_static_d.lib")
when I change mine codes to these things,the link error happened:
error LNK2019: __imp__timeGetTime@0, "public: static double __cdecl CEGUI::SimpleTimer::currentTime(void)" (?currentTime@SimpleTimer@CEGUI@@SANXZ) CEGUIBase_Static_d.lib
then I add link "winmm.lib",compiling is successful,but running's problem still exists,why???!!!