Archived

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

Yratelev

recompile tutorial

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