Sign in to follow this  

Static library question

This topic is 4304 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Edit: Rewrote after I woke up a bit. Ok, so I'm making a static library to contain some code. That code requires the OpenAL32.lib to work. But it doesnt matter if I link my static libray to the lib or not, the .exe that's using MY lib still requires me to link to the OpenAL32.lib to compile. Is there a way around this? Is there a way to actually make my static library link to the OpenAL32.lib so projects using mine don't need to link to the OpenAL library too? Hope this makes more sense now. Sorry about earlier :) [Edited by - Mike2343 on March 4, 2006 1:38:14 AM]

Share this post


Link to post
Share on other sites
Hello,

Yes, it seems to be possible using the LIB.EXE program, with a syntax like lib.exe lib1.lib lib2.lib /out:lib3.lib
Take a look here.
Cheers
StratBoy61

[Edited by - StratBoy61 on March 4, 2006 3:19:53 AM]

Share this post


Link to post
Share on other sites

This topic is 4304 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this