Link error using
-
this is the error: error LNK2001: unresolved external symbol "class std::basic_string using std:: At this point VS gives me a short list that doesn't look like the string class. It shows: _Bool_allocator _Vbase _VBITS vector Vector Any idea on why I'm not getting the right class? Thanks, Jim
-
this is the error: error LNK2001: unresolved external symbol "class std::basic_string using std:: At this point VS gives me a short list that doesn't look like the string class. It shows: _Bool_allocator _Vbase _VBITS vector Vector Any idea on why I'm not getting the right class? Thanks, Jim
-
It usually has something to do with linked libraries. What compiler are you using? What runtime library settings are you using? Have you tried a Rebuild All? - It's easier to make than to correct a mistake.
-
I have rebuilt everything many times. I'm using ../vc98/lib and ../vc98/mfc/lib I'm compliling with Visual C++ 6.0 Thanks for the help, I'm really lost on how to debug this.. Jim
-
I mean what C/C++ run-time libraries you are linking. Could you add "msvcprt.lib" to the additional libraries? - It's easier to make than to correct a mistake.
msvcprt.lit wasn't in the additional libraries so I added it and re-compiled everything and still received the same errors. this is the whole error, it may help: error LNK2001: unresolved external symbol "class std::basic_string,class std::allocator > __cdecl GetConfiguredClientTypes(class std::vector,class std::allocator >,class std::allocator,class std::allocator > > > *)" (?GetConfiguredClientTypes@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAV ?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@2@@Z) thanks again!
-
msvcprt.lit wasn't in the additional libraries so I added it and re-compiled everything and still received the same errors. this is the whole error, it may help: error LNK2001: unresolved external symbol "class std::basic_string,class std::allocator > __cdecl GetConfiguredClientTypes(class std::vector,class std::allocator >,class std::allocator,class std::allocator > > > *)" (?GetConfiguredClientTypes@@YA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PAV ?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@2@@Z) thanks again!
Could you check two things: 1) Whick one of the following appears in your linker settings: /ML /MT /MD /MLd /MTd /MDd Let me know if more than one are being used. 2) Does your app load any other modules (DLLs)? - It's easier to make than to correct a mistake.
-
Could you check two things: 1) Whick one of the following appears in your linker settings: /ML /MT /MD /MLd /MTd /MDd Let me know if more than one are being used. 2) Does your app load any other modules (DLLs)? - It's easier to make than to correct a mistake.
-
/MLd is the only one I saw in there. The app does load 1 DLL*****I take that back, it doesn't link to a dll -- modified at 13:32 Thursday 15th June, 2006
-
If you've set /nodefaultlibs, try to scrap it. - It's easier to make than to correct a mistake.
-
Anybody else have any ideas on where to go from here? It really seems like the info from is getting stepped on or something. Help I'm totally stuck!! Thanks, Jim