Re: Easy Question - LINK2005 error
- From: "Michael K. O'Neill" <MikeAThon2000@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 5 Jul 2007 15:00:54 -0700
"bones288" <b_t_k@xxxxxxxxxxx> wrote in message
news:1183664580.433749.38930@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
.....
try.obj : error LNK2005: "void __cdecl SetNumber(int)" (?
SetNumber@@YAXH@Z) already defined in try_example.obj
try.obj : error LNK2005: "void __cdecl SetNumber(int)" (?SetNumber@@$
$FYAXH@Z) already defined in try_example.obj
.....
You might have too many files included in your project. It seems that
Num:SetNumber(int) is defined in both try.cpp and in try_example.cpp
Go to the file view of your project, and see if it includes too many files.
If so, hit the delete key on the unneeded files. This will delete the file
from the project without also deleting the file from your disk.
Mike
.
- Follow-Ups:
- Re: Easy Question - LINK2005 error
- From: Joseph M . Newcomer
- Re: Easy Question - LINK2005 error
- References:
- Easy Question - LINK2005 error
- From: bones288
- Easy Question - LINK2005 error
- Prev by Date: Problem with Base64 Decoding for a CBitmap
- Next by Date: Re: WaitForSingleObject() will not deadlock
- Previous by thread: Re: Easy Question - LINK2005 error
- Next by thread: Re: Easy Question - LINK2005 error
- Index(es):
Relevant Pages
|
|