Archived

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

Yanny

Linking problem

Recommended Posts

Yanny    122
Hi, I am a new beginner of game programming. I hv some linking problem, pls help me to solve with it ^^: I would like to combine two sample files say "SkinnedMesh" from Direct3D and "SimpleClient" from DirectPlay I already duplicate all those files into separate files, and made explicitly links to the header files and source files. but once i add "#include ..\a.h" into b.cpp ("a.h" from "SkinnedMesh", "b.cpp" from "SimpleClient") compilation error occur in "a.h" What ''s wrong with it?

Share this post


Link to post
Share on other sites
DanTheRocker    122
The most likely reason for the error (i''m guessing that it''s a linker error) is because you have defined two identical functions or have declared a function, but not implemented the body of it.

Share this post


Link to post
Share on other sites