Sign in to follow this  

Animation in D3D

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

HI, i started to learn animation from this sample:
[url="http://www.toymaker.info/Games/html/load_x_hierarchy.html"]http://www.toymaker.info/Games/html/load_x_hierarchy.html[/url]

There is no problem to understand how animation works, but i have very BIG problem with using that code in my projects...

There is a structure CGraphics that contains everything, i just try to use animation without that class. So about the problem:
project contains all files in two parts .h and .cpp in the sample - everything works good, but if i add this files in my project:
[CODE]#include "XfileEntity.h"
#include "Utility.h"[/CODE]

i have errors like this :
: error LNK2019: public: static void __cdecl CUtility::DebugString

why? How shoud i add that files to project correctly?

Share this post


Link to post
Share on other sites
[i]Their[/i] project compiles and runs out-of-the box.
If you are trying to say that you are making your own new project and copying their files over, you need to add the .CPP files to your project, not just the .H files.


L. Spiro

Share this post


Link to post
Share on other sites
[CODE]
#include "Utility.h"
#include "Utility.cpp"
[/CODE]
i have this error:
[CODE]error LNK2005: "public: static char * __cdecl CUtility::DuplicateCharString[/CODE] for all utility functions.

Share this post


Link to post
Share on other sites

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this