Jump to content
  • Advertisement

Archived

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

Yratelev

recompile tutorial

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

ok, ive copied d8 3D tutorial 1 to another folder to edit a bit, but before ANY editting i recompiled, and now it says this: CreateDevice.obj : error LNK2001: unresolved external symbol _Direct3DCreate8@4 Help! Yratelev

Share this post


Link to post
Share on other sites
Advertisement
Use d3d8.lib in your project (will be found in [SKDroot]\lib I believe).

Your program is trying to call functions such as Direct3D8Create (declared in d3d8.h) but does not find their definition (which is inside the lib) = what they actually do.

Share this post


Link to post
Share on other sites
either:

1. they included it but didnt tell you (my pet gripe with other people''s tuts, btw )

2. they used a nifty #pragma statement in their header which they didnt tell you about, which gets around playing with the linker settings

all in all, it comes down to they didnt tell you about it

but yeah its all good

Qatal

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.

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

Sign me up!