Skip to main content
GameDev.net gamedev.net
🔒 Locked

camera probs

Started by Calypso Nov 24, 2001 at 3:50 AM 0 replies 400+ views
Original Post
Calypso
Calypso
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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.