Click here to Skip to main content
15,890,512 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
JokeRe: regarding creating databse Pin
CPallini28-Mar-10 23:28
mveCPallini28-Mar-10 23:28 
GeneralRe: regarding creating databse Pin
KingsGambit28-Mar-10 9:57
KingsGambit28-Mar-10 9:57 
QuestionVariables not the same as input file. Pin
Frank Robertson27-Mar-10 18:06
Frank Robertson27-Mar-10 18:06 
AnswerRe: Variables not the same as input file. Pin
Garth J Lancaster27-Mar-10 21:14
professionalGarth J Lancaster27-Mar-10 21:14 
AnswerRe: Variables not the same as input file. Pin
Richard MacCutchan28-Mar-10 1:32
mveRichard MacCutchan28-Mar-10 1:32 
GeneralRe: Variables not the same as input file. Pin
Frank Robertson28-Mar-10 2:56
Frank Robertson28-Mar-10 2:56 
GeneralRe: Variables not the same as input file. Pin
Richard MacCutchan28-Mar-10 4:30
mveRichard MacCutchan28-Mar-10 4:30 
QuestionLNK2001 and LNK2019 errors Pin
Krzysiaczek9927-Mar-10 15:17
Krzysiaczek9927-Mar-10 15:17 
Hello,



I'm trying to build a project but getting errors 2001 and 2019. Here is an error data in normal and verbose mode.



1>MBackProp.obj : error LNK2019: unresolved external symbol "public: __thiscall CudaMultipleBackPropagation::~CudaMultipleBackPropagation(void)" (??1CudaMultipleBackPropagation@@QAE@XZ) referenced in function "public: void * __thiscall CudaMultipleBackPropagation::`scalar deleting destructor'(unsigned int)" (??_GCudaMultipleBackPropagation@@QAEPAXI@Z)
1>MBackPropDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CudaMultipleBackPropagation::~CudaMultipleBackPropagation(void)" (??1CudaMultipleBackPropagation@@QAE@XZ)
1>MBPTopologyCtrl.obj : error LNK2001: unresolved external symbol "public: __thiscall CudaMultipleBackPropagation::~CudaMultipleBackPropagation(void)" (??1CudaMultipleBackPropagation@@QAE@XZ)
1>MBackPropDlg.obj : error LNK2019: unresolved external symbol "public: __thiscall Cuda::Cuda(void)" (??0Cuda@@QAE@XZ) referenced in function "public: __thiscall CMBackPropDlg::CMBackPropDlg(void)" (??0CMBackPropDlg@@QAE@XZ)
1>MBackPropDlg.obj : error LNK2019: unresolved external symbol "public: __thiscall CudaMultipleBackPropagation::CudaMultipleBackPropagation(class Pointer<class MultipleBackPropagation> &,class Matrix<double> &,class Matrix<double> &)" (??0CudaMultipleBackPropagation@@QAE@AAV?$Pointer@VMultipleBackPropagation@@@@AAV?$Matrix@N@@1@Z) referenced in function "private: static unsigned int __cdecl CMBackPropDlg::TrainNetwork(void *)" (?TrainNetwork@CMBackPropDlg@@CAIPAX@Z)
1>MBackPropDlg.obj : error LNK2019: unresolved external symbol "public: void __thiscall CudaMultipleBackPropagation::CopyNetworkHost(class Pointer<class MultipleBackPropagation> &)" (?CopyNetworkHost@CudaMultipleBackPropagation@@QAEXAAV?$Pointer@VMultipleBackPropagation@@@@@Z) referenced in function "protected: void __thiscall CMBackPropDlg::TrainOneEpochUsingCuda(void)" (?TrainOneEpochUsingCuda@CMBackPropDlg@@IAEXXZ)
1>MBackPropDlg.obj : error LNK2019: unresolved external symbol "public: void __thiscall CudaMultipleBackPropagation::Train(double,double,bool,double,double)" (?Train@CudaMultipleBackPropagation@@QAEXNN_NNN@Z) referenced in function "protected: void __thiscall CMBackPropDlg::TrainOneEpochUsingCuda(void)" (?TrainOneEpochUsingCuda@CMBackPropDlg@@IAEXXZ)
1>C:\Documents and Settings\Administrator\MBP_clone\MBackProp\Debug\MBackProp.exe : fatal error LNK1120: 5 unresolved externals



Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\kernel32.lib:
Found __imp__GetLastError@0
Referenced in BackPropagation.obj
Referenced in MBackPropDlg.obj
Referenced in MultipleBackPropagation.obj
Referenced in VariablesData.obj
Loaded kernel32.lib(KERNEL32.dll)



Searching C:\Program Files\Microsoft SDKs\Windows\v6.0A\\lib\gdiplus.lib:
Searching C:\Program Files\Microsoft Visual Studio 9.0\VC\lib\comsuppwd.lib:
Found "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z)
Referenced in MBackPropDlg.obj
Loaded comsuppwd.lib(comsupp.obj)


Found "void __stdcall _com_raise_error(long,struct IErrorInfo *)" (?_com_raise_error@@YGXJPAUIErrorInfo@@@Z)
Referenced in comsuppwd.lib(comsupp.obj)
Loaded comsuppwd.lib(comraise.obj)


Found "long __cdecl _com_invoke_helper(struct IDispatch *,long,unsigned short,unsigned short,void *,wchar_t const *,char *,struct IErrorInfo * *)" (?_com_invoke_helper@@YAJPAUIDispatch@@JGGPAXPB_WPADPAPAUIErrorInfo@@@Z)
Referenced in comsuppwd.lib(comsupp.obj)
Loaded comsuppwd.lib(invkprxy.obj)

Found "long __stdcall _com_handle_excepinfo(struct tagEXCEPINFO &,struct IErrorInfo * *)" (?_com_handle_excepinfo@@YGJAAUtagEXCEPINFO@@PAPAUIErrorInfo@@@Z)
Referenced in comsuppwd.lib(invkprxy.obj)
Loaded comsuppwd.lib(invkerr.obj)

Can anybody direct me how to proceed wit this. I set already lib path

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Include

C:\Program Files\Microsoft SDKs\Windows\v6.0A\Lib

But it dont help



Krzysztof
AnswerRe: LNK2001 and LNK2019 errors Pin
Adam Roderick J27-Mar-10 17:43
Adam Roderick J27-Mar-10 17:43 
AnswerRe: LNK2001 and LNK2019 errors Pin
Tim Craig27-Mar-10 17:51
Tim Craig27-Mar-10 17:51 
GeneralRe: LNK2001 and LNK2019 errors Pin
Krzysiaczek9927-Mar-10 21:44
Krzysiaczek9927-Mar-10 21:44 
AnswerRe: LNK2001 and LNK2019 errors Pin
Richard MacCutchan28-Mar-10 1:38
mveRichard MacCutchan28-Mar-10 1:38 
GeneralRe: LNK2001 and LNK2019 errors Pin
Krzysiaczek9928-Mar-10 3:32
Krzysiaczek9928-Mar-10 3:32 
GeneralRe: LNK2001 and LNK2019 errors Pin
Richard MacCutchan28-Mar-10 4:33
mveRichard MacCutchan28-Mar-10 4:33 
GeneralRe: LNK2001 and LNK2019 errors Pin
Krzysiaczek9928-Mar-10 4:49
Krzysiaczek9928-Mar-10 4:49 
GeneralRe: LNK2001 and LNK2019 errors Pin
Richard MacCutchan28-Mar-10 4:53
mveRichard MacCutchan28-Mar-10 4:53 
GeneralRe: LNK2001 and LNK2019 errors Pin
Krzysiaczek9928-Mar-10 5:29
Krzysiaczek9928-Mar-10 5:29 
GeneralRe: LNK2001 and LNK2019 errors Pin
Richard MacCutchan28-Mar-10 5:59
mveRichard MacCutchan28-Mar-10 5:59 
GeneralRe: LNK2001 and LNK2019 errors Pin
Krzysiaczek9928-Mar-10 8:07
Krzysiaczek9928-Mar-10 8:07 
GeneralRe: LNK2001 and LNK2019 errors Pin
Richard MacCutchan28-Mar-10 11:34
mveRichard MacCutchan28-Mar-10 11:34 
GeneralRe: LNK2001 and LNK2019 errors [modified] Pin
Krzysiaczek9928-Mar-10 13:16
Krzysiaczek9928-Mar-10 13:16 
GeneralRe: LNK2001 and LNK2019 errors Pin
Richard MacCutchan28-Mar-10 23:03
mveRichard MacCutchan28-Mar-10 23:03 
GeneralRe: LNK2001 and LNK2019 errors Pin
Krzysiaczek9928-Mar-10 23:36
Krzysiaczek9928-Mar-10 23:36 
AnswerRe: LNK2001 and LNK2019 errors Pin
T210228-Mar-10 22:03
T210228-Mar-10 22:03 
GeneralRe: LNK2001 and LNK2019 errors Pin
Krzysiaczek9928-Mar-10 23:24
Krzysiaczek9928-Mar-10 23:24 

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.