Original Post
Recently, I''ve been trying to integrate a camera class into the new NeHe framework. The problem is since it''s split into two, and the camera has functions being executed in both segments, I have to have one camera defined in the header. So I did that, and whenever I compile I get the following linker error:
NeHeGL error LNK2005: "class CCamera Camera" (?Camera@@3VCCamera@@A) already defined
I''m not really sure what the problem is. I have the #ifndef/#define/#endif statements in the camera class, so I''m not sure why it''s telling me it''s already defined. If anyone can supply me with ideas on how to fix this, I appreciate it.
Thanks