Wolande
13-08-2003, 18:44
В Visual C++ v.6 программирую console application. В главном файле использую функции описаные в другом файле "lssvm_fctest.с" , этот файл подключаю через заголовочный как #include "lssvm_fctest.h",
линкер выдает следующее...
Linking...
main.obj : error LNK2001: unresolved external symbol "void __cdecl destructLSSVMFctEstimator(struct Lssvm_function_estimator *)" (?destructLSSVMFctEstimator@@YAXPAULssvm_function_estimator@@@Z)
main.obj : error LNK2001: unresolved external symbol "double * __cdecl computeFctEst(struct Lssvm_function_estimator *,double *,double *,double *)" (?computeFctEst@@YAPANPAULssvm_function_estimator@@PAN11@Z)
main.obj : error LNK2001: unresolved external symbol "struct Lssvm_function_estimator * __cdecl createLSSVMFctEstimator(double const *,int,double const *,int,int,double,double,int,double,int,char const *,double const *)" (?createLSSVMFctEstimator@@Y
APAULssvm_function_estimator@@PBNH0HHNNHNHPBD0@Z)
Debug/lssvm.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
Подскажите , пожалуйста, в чем дело ?
Спасибо.
линкер выдает следующее...
Linking...
main.obj : error LNK2001: unresolved external symbol "void __cdecl destructLSSVMFctEstimator(struct Lssvm_function_estimator *)" (?destructLSSVMFctEstimator@@YAXPAULssvm_function_estimator@@@Z)
main.obj : error LNK2001: unresolved external symbol "double * __cdecl computeFctEst(struct Lssvm_function_estimator *,double *,double *,double *)" (?computeFctEst@@YAPANPAULssvm_function_estimator@@PAN11@Z)
main.obj : error LNK2001: unresolved external symbol "struct Lssvm_function_estimator * __cdecl createLSSVMFctEstimator(double const *,int,double const *,int,int,double,double,int,double,int,char const *,double const *)" (?createLSSVMFctEstimator@@Y
APAULssvm_function_estimator@@PBNH0HHNNHNHPBD0@Z)
Debug/lssvm.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
Подскажите , пожалуйста, в чем дело ?
Спасибо.