Page 1 of 1

CEGUI Static Linking

Posted: Thu Aug 30, 2012 14:57
by communism
Hello.
I've been using CEGUI DLLs and have found them to contain runtime errors.
So I thought I would try the static libs instead, but the #define preprocessor
directive is slipping my mind.
How do I link just the static libs instead of the DLLs?

Re: CEGUI Static Linking

Posted: Fri Aug 31, 2012 00:19
by efaj
Pass the "-static" flag to the linker

Re: CEGUI Static Linking

Posted: Fri Aug 31, 2012 13:04
by Kulik
Your post reeks of misunderstandings on what runtime error and dynamic vs static linking is. Please stop and do yourself a favor. Learn what it is!

You do NOT want static linking unless you are deploying in a week! And even then you probably don't want it.