• Advertisement

Archived

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

header problem?

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

I have a header and cpp file that are included in a vs 6.0 project and they have the proper #ifndef __file__ #define __file__ code #endif However, I''m getting errors such as: main.obj : error LNK2005: "float yPos" (?yPos@@3MA) already defined in game.obj main.obj : error LNK2005: "float force" (?force@@3MA) already defined in game.obj when linking, where game is the file I''m linking. What would be causing this?

Share this post


Link to post
Share on other sites
Advertisement
poopface here,

well if anyone is having this problem - the answer has been posted a few questions below in response to marty666.

Share this post


Link to post
Share on other sites

  • Advertisement