Jump to content

Static linking


Laurens
 Share

Recommended Posts

Hi,

 

Last night I have been playing around to get CEGUI linked statically so I can get rid of all the DLL's in the working directory. I have it compiling and running just fine right now but there is one thing I worry about.

 

I have changed the Code Generator from Multithreaded Debug DLL to Multithreaded Debug and I have the linker include the following dependencies:

 

CEGUI and dependencies:

 

- CEGUIBase_Static_d.lib

- CEGUIOpenGLRenderer_Static_d.lib

- CEGUITGAImageCodec_Static_d.lib

- CEGUIExpatParser_Static_d.lib

- CEGUIFalagardWRBase_Static_d.lib

- expat_d.lib

- freetype_d.lib

- libpng_d.lib

- jpeg_d.lib

- zlib_d.lib

- pcre_d.lib

- winmm.lib

 

Other required libraries:

 

- opengl32.lib

- glu32.lib

 

It's fine that it is statically linking CEGUI and its dependencies but I doubt I need to statically link opengl32.lib and glu32.lib.

 

Is this a problem or if not a problem, unwanted? Is there any way I can tell Visual Studio to exclude these from static linking?

 

Thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...