User forums > Using Code::Blocks

How to associate headers with libraries

<< < (2/2)

Urxae:
How about this: don't bother with libraries until you get a link error, then you look at http://www.google.com/search?q=site%3Amsdn.microsoft.com%20SOME_NAME, with SOME_NAME replaced by whatever symbol you got the error on. (Might want to strip any 'A' or 'W' at the end off though)
I think MSDN lists for every function in the PSDK what library is required... At least, I've never had any problems doing this and I don't even use MSVC :D.

tiwag:
there is a thread regarding this in another forum, where they try to automate this task
http://smorgasbordet.com/phpBB2/viewtopic.php?t=391&highlight=hdr2lib

there you can download a list (csv file) of matching headers <==> libraries

but personally i find it convenient to have a look at http://msdn.microsoft.com (or your local installed PSDK )
to resolve linker errors.

Storkman:

--- Quote from: tiwag on December 11, 2005, 07:33:24 pm ---there is a thread regarding this in another forum, where they try to automate this task
http://smorgasbordet.com/phpBB2/viewtopic.php?t=391&highlight=hdr2lib

--- End quote ---

wow!  there's so much cool stuff on the net.  thanks for pointing this one out to me.


--- Quote from: tiwag on December 11, 2005, 07:33:24 pm ---there you can download a list (csv file) of matching headers <==> libraries

--- End quote ---

i haven't found the link to the download yet, but i'll try again later when i have more time to really read through the whole posting.


--- Quote from: tiwag on December 11, 2005, 07:33:24 pm ---but personally i find it convenient to have a look at http://msdn.microsoft.com (or your local installed PSDK )
to resolve linker errors.

--- End quote ---

yeah, i can see when developing my own stuff i'll have the PSDK docs open and i'll naturally just include, add the lib, then use the function/class/whatever...  but when trying to setup an environment to compile someone else's code, who either did not provide a projet or like in this case where no project exists for C::B it'd be handy to have a quick-ref table. 

if i come up with anything i'll post it - somewhere in the neighborhood.

Navigation

[0] Message Index

[*] Previous page

Go to full version