Jump to content
  • Advertisement
Sign in to follow this  
Jimfing

Is this possible in DirectX? (MSVC linking question)

This topic is 4883 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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!