Click here to Skip to main content
15,882,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: linker error lnk2005 Pin
k505429-Aug-22 5:28
mvek505429-Aug-22 5:28 
GeneralRe: linker error lnk2005 Pin
Roberto64_Ge29-Aug-22 8:56
Roberto64_Ge29-Aug-22 8:56 
AnswerRe: linker error lnk2005 Pin
Richard MacCutchan29-Aug-22 4:45
mveRichard MacCutchan29-Aug-22 4:45 
GeneralRe: linker error lnk2005 Pin
Roberto64_Ge29-Aug-22 5:14
Roberto64_Ge29-Aug-22 5:14 
Questiontracking down linker errors Pin
Calin Negru27-Aug-22 3:50
Calin Negru27-Aug-22 3:50 
AnswerRe: tracking down linker errors Pin
Mircea Neacsu27-Aug-22 4:03
Mircea Neacsu27-Aug-22 4:03 
SuggestionRe: tracking down linker errors Pin
Richard MacCutchan27-Aug-22 6:44
mveRichard MacCutchan27-Aug-22 6:44 
General[solved]Re: tracking down linker errors Pin
Calin Negru27-Aug-22 8:01
Calin Negru27-Aug-22 8:01 
I`m not sure what details you are expecting. All I have in the build output window is a one line message:
1>Tutorial07.obj : error LNK2001: unresolved external symbol "void __cdecl CheckCollisions(class std::vector<class gameelement="" *,class="" std::allocator<class="" *=""> > *,int,class contim *,int)"

I know an error of this type means that some parameters don`t match in the function definition, declaration and the place where the function is being used. I did a search for the function name within the code file, everything seems to be fine in the function header (return type, function name and parameters) everywhere. I need more details to know what exactly doesn`t match.

void CheckCollisions(vector<gameelement * > * GAllElements, int UnitCount, contim* OldNewTable,int frame);




never mind I found the error, it was a parameter mismatch, you have to be extra careful with those.

modified 27-Aug-22 15:51pm.

QuestionUsing nlohmann JSON to insert more data Pin
Kiran Satish26-Aug-22 7:03
Kiran Satish26-Aug-22 7:03 
AnswerRe: Using nlohmann JSON to insert more data Pin
Mircea Neacsu26-Aug-22 8:53
Mircea Neacsu26-Aug-22 8:53 
QuestionQuestion About CToolTipCtrl Pin
ForNow24-Aug-22 8:33
ForNow24-Aug-22 8:33 
AnswerRe: Question About CToolTipCtrl Pin
Victor Nijegorodov24-Aug-22 21:53
Victor Nijegorodov24-Aug-22 21:53 
GeneralRe: Question About CToolTipCtrl Pin
ForNow24-Aug-22 22:19
ForNow24-Aug-22 22:19 
GeneralRe: Question About CToolTipCtrl Pin
Victor Nijegorodov24-Aug-22 23:56
Victor Nijegorodov24-Aug-22 23:56 
GeneralRe: Question About CToolTipCtrl Pin
ForNow25-Aug-22 1:36
ForNow25-Aug-22 1:36 
GeneralRe: Question About CToolTipCtrl Pin
Victor Nijegorodov25-Aug-22 2:18
Victor Nijegorodov25-Aug-22 2:18 
GeneralRe: Question About CToolTipCtrl Pin
Victor Nijegorodov25-Aug-22 2:44
Victor Nijegorodov25-Aug-22 2:44 
GeneralRe: Question About CToolTipCtrl Pin
ForNow25-Aug-22 3:01
ForNow25-Aug-22 3:01 
QuestionProperly document C++ code for use in Intellisense ? Pin
Maximilien22-Aug-22 5:14
Maximilien22-Aug-22 5:14 
AnswerRe: Properly document C++ code for use in Intellisense ? Pin
Richard MacCutchan22-Aug-22 21:28
mveRichard MacCutchan22-Aug-22 21:28 
QuestionNeed insight as to how VS2008 parses vcproj files Pin
charlieg21-Aug-22 8:45
charlieg21-Aug-22 8:45 
AnswerRe: Need insight as to how VS2008 parses vcproj files Pin
Mircea Neacsu21-Aug-22 10:35
Mircea Neacsu21-Aug-22 10:35 
GeneralRe: Need insight as to how VS2008 parses vcproj files Pin
charlieg22-Aug-22 0:56
charlieg22-Aug-22 0:56 
GeneralRe: Need insight as to how VS2008 parses vcproj files Pin
Mircea Neacsu22-Aug-22 1:45
Mircea Neacsu22-Aug-22 1:45 
GeneralRe: Need insight as to how VS2008 parses vcproj files Pin
charlieg22-Aug-22 1:53
charlieg22-Aug-22 1:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.