CEGUI Static Linking

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

communism
Just popping in
Just popping in
Posts: 9
Joined: Tue Aug 28, 2012 19:16

CEGUI Static Linking

Postby communism » Thu Aug 30, 2012 14:57

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?

efaj
Just popping in
Just popping in
Posts: 8
Joined: Wed Aug 29, 2012 16:20

Re: CEGUI Static Linking

Postby efaj » Fri Aug 31, 2012 00:19

Pass the "-static" flag to the linker

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: CEGUI Static Linking

Postby Kulik » Fri Aug 31, 2012 13:04

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.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 11 guests