How do you use static libraries?

Started by
12 comments, last by Cornstalks 17 years, 1 month ago
Quote:
Does anyone know what the gdi32.lib library is and why I only need to include it in Debug builds and not in Release builds?

Its just the Win32 GDI. Im not sure why you only need to link it for debug builds though..

What libraries does your release build use?
Advertisement
The debug build uses the libraries:
opengl32
gdi32
ProjectEngine (a library I've made, which doesn't link to any other libraries)

The release build uses:
opengl32
ProjectEngine (the same one I made)

However, i poked around in the project options and everything (I'm new to the IDE so I'm not sure what it's doing without me knowing), and I think I found why.





Do you think that since it changes from a Console application to a GUI application that it then automatically links to the gdi32 library?

[I'm using CodeBlocks]
[size=2][ I was ninja'd 71 times before I stopped counting a long time ago ] [ f.k.a. MikeTacular ] [ My Blog ] [ SWFer: Gaplessly looped MP3s in your Flash games ]
Probably because Console apps dont use the gdi.
You can also try to create a new console application and a new windows
application and check the difference.
thanks, ill look at that. I wish it told me what it was doing behind my back... that would make life easier
[size=2][ I was ninja'd 71 times before I stopped counting a long time ago ] [ f.k.a. MikeTacular ] [ My Blog ] [ SWFer: Gaplessly looped MP3s in your Flash games ]

This topic is closed to new replies.

Advertisement