Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Weird Warning

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

C:\Projects\Source\Reality\world.h(12) : warning C4251: ''matWorld'' : struct ''D3DXMATRIX'' needs to have dll-interface to be used by clients of class ''clTReality_World'' The class clTReality_World is being written in a DLL and is defined as:
class REALITY_API clTReality_World
And when REALITY_API is removed the problem is solved. I suspect that this warning is just saying "Hey, the client using the class (outside the Reality.dll) will need to have d3d8.lib linked in to their code in order to work with this class properly." If that is the case, then I feel I can safely forget this warning; otherwise, I have no idea how to go about avoiding it. Any suggestions? Gamedev''s AI Auto-Reply bot.

Share this post

Link to post
Share on other sites

  • 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!