I got some issues when I try to static link CEGUI 0.7.5.
While compiling my app fine with dynamic libs I get loads of "unresolved external symbol" errors (for example: __declspec(dllimport) public: void __thiscall CEGUI::MouseCursor::hide(void)" (__imp_?hide@MouseCursor@CEGUI@@QAEXXZ)" ).
I've just removed the dnymic libs and added the *_Static.lib's to the linker options. Is there anything else I need to to in order to compile my app with static CEGUI libs?
[Solved]CEGUI 0.7.5 static linking
Moderators: CEGUI MVP, CEGUI Team
[Solved]CEGUI 0.7.5 static linking
Last edited by AlanDa on Sat Jan 15, 2011 22:27, edited 4 times in total.
Re: CEGUI 0.7.5 static linking
Unfortunately (as you probably found out), there is no documentation about static linking. There are a couple of threads regarding it though: http://www.cegui.org.uk/phpBB2/viewtopic.php?f=10&t=4285 and http://www.cegui.org.uk/phpBB2/viewtopic.php?f=10&t=4798.
Unless you really need static linking, I would strongly advise against it. It's a lot of pain for very little gain.
We will try to document this for 0.8.
Unless you really need static linking, I would strongly advise against it. It's a lot of pain for very little gain.
We will try to document this for 0.8.
Re: CEGUI 0.7.5 static linking
Thanks for the links.
After a bit of fiddling it's working now. Thanks
After a bit of fiddling it's working now. Thanks
Who is online
Users browsing this forum: No registered users and 6 guests