I keep running into issues with static linking. For one, my package (MSVC 2008) simply won't link (unresolved externals) to the static libs when CEGUIEXPORT is set to either import or export, so I end up with this:
Code: Select all
//#if (defined( __WIN32__ ) || defined( _WIN32 )) && !defined(CEGUI_STATIC)
//# ifdef CEGUIBASE_EXPORTS
//# define CEGUIEXPORT __declspec(dllexport)
//# else
//# define CEGUIEXPORT __declspec(dllimport)
//# endif
//# define CEGUIPRIVATE
//#else
# define CEGUIEXPORT
# define CEGUIPRIVATE
//#endif
CEGUI_STATIC is defined and I haven't touched anything after the premake made the solution/project files for me.
Just thought I'd mention it.