User forums > Using Code::Blocks

How to associate headers with libraries

(1/2) > >>

Storkman:
Good evening...

I"m trying to compile some PSDK samples; and I had the hardest time figuring out which libraries I need to link to.  Going through the platform SDK docs could take a while.  Is there a list somewhere that associates the header file with the library that needs to be linked to?  I'm using the Visual C++ Toolkit 2003, but I suppose the question would arise for any compiler.

Thanks.

Michael:
Hello,

May be the Code::Blocks SDK Reference Manual for 1.0 RC2 WIP (http://forums.codeblocks.org/index.php?topic=1358.0) could be of some help.

Michael
 

takeshimiya:
Are you talking about MS Platform SDK or C::B SDK?
What do you want to compile?

Vampyre_Dark:

--- Quote from: Storkman on December 10, 2005, 11:32:21 pm ---Good evening...

I"m trying to compile some PSDK samples; and I had the hardest time figuring out which libraries I need to link to.  Going through the platform SDK docs could take a while.  Is there a list somewhere that associates the header file with the library that needs to be linked to?  I'm using the Visual C++ Toolkit 2003, but I suppose the question would arise for any compiler.
--- End quote ---
I think they all match up. mmsystem.h into mmsystem.lib and etc... If not, it's very easy to see just by browsing and seeing the matching names, like ~cmctrl.h ~cmctrlxx.lib for the common controls.

Storkman:

--- Quote from: Vampyre_Dark on December 11, 2005, 05:49:15 am --- I think they all match up.
--- End quote ---

Good afternoon...

Not exactly.  I mean some do, 1:1.  Others are pretty close, like commctrl.h to comctl32.lib.  But when headers are nested, i.e.: including windows.h includes winuser.h wihich is assoicated with user32.lib.  It's especially the last case that is troublesome.

Navigation

[0] Message Index

[#] Next page

Go to full version