Jump to content
  • Advertisement
Sign in to follow this  

Is this possible in DirectX? (MSVC linking question)

This topic is 4731 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

Hello - I want to link all the DirectX9 .libs into my engine .lib. The idea being that I can distribute my lib without the users having to have the DirectX SDK since they would be contained in my engine .lib It all works perfectly apart from I get 1000's of linker warnings when building the engine lib, all saying the same:
d3d9.lib(d3d9.dll) : warning LNK4006: _Direct3DCreate9@4 already defined in d3d9.lib(d3d9.dll); second definition ignored
d3d9.lib(d3d9.dll) : warning LNK4006: __imp__Direct3DCreate9@4 already defined in d3d9.lib(d3d9.dll); second definition ignored

etc...
Any help would be appreciated.

Share this post


Link to post
Share on other sites
Advertisement
First, users don't have to install the SDK -- they just install the runtime. Second, they will still need the DLLs, which means they have to install the runtime.

Share this post


Link to post
Share on other sites
Quote:
Original post by JohnBolton
First, users don't have to install the SDK -- they just install the runtime. Second, they will still need the DLLs, which means they have to install the runtime.


I think the OP was refering to "user" as other developers, not the end user of a game.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!