F
Freddy
I am not an experienced programmer, but I had a VC++ program I am
trying to eliminate all the VC++ commands from it...and keeping it as
a normal C/C++ program......I guess I have succeeded so far, but I am
getting the unresolved external symbol errors, this is what I am
getting:
Linking...
Test.obj : error LNK2001: unresolved external symbol "void __cdecl
free_vector(double *)" (?free_vector@@YAXPAN@Z)
Test.obj : error LNK2001: unresolved external symbol "double * __cdecl
resize(double *,unsigned int)" (?resize@@YAPANPANI@Z)
Test.obj : error LNK2001: unresolved external symbol "double __cdecl
fmax(double * const)" (?fmax@@YANQAN@Z)
Test.obj : error LNK2001: unresolved external symbol "double * __cdecl
Derivs(double,double * const,double * const,unsigned short,char *
const)" (?Derivs@@YAPANNQAN0GQAD@Z)
Test.obj : error LNK2001: unresolved external symbol "double * __cdecl
dvector(unsigned int)" (?dvector@@YAPANI@Z)
Test.obj : error LNK2001: unresolved external symbol "double * __cdecl
Derivs(double,double * const,double * const,unsigned short)"
(?Derivs@@YAPANNQAN0G@Z)
Debug/Test.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.
Test.exe - 7 error(s), 0 warning(s)
Please help, not sure what is the problem. what could be the solution.
trying to eliminate all the VC++ commands from it...and keeping it as
a normal C/C++ program......I guess I have succeeded so far, but I am
getting the unresolved external symbol errors, this is what I am
getting:
Linking...
Test.obj : error LNK2001: unresolved external symbol "void __cdecl
free_vector(double *)" (?free_vector@@YAXPAN@Z)
Test.obj : error LNK2001: unresolved external symbol "double * __cdecl
resize(double *,unsigned int)" (?resize@@YAPANPANI@Z)
Test.obj : error LNK2001: unresolved external symbol "double __cdecl
fmax(double * const)" (?fmax@@YANQAN@Z)
Test.obj : error LNK2001: unresolved external symbol "double * __cdecl
Derivs(double,double * const,double * const,unsigned short,char *
const)" (?Derivs@@YAPANNQAN0GQAD@Z)
Test.obj : error LNK2001: unresolved external symbol "double * __cdecl
dvector(unsigned int)" (?dvector@@YAPANI@Z)
Test.obj : error LNK2001: unresolved external symbol "double * __cdecl
Derivs(double,double * const,double * const,unsigned short)"
(?Derivs@@YAPANNQAN0G@Z)
Debug/Test.exe : fatal error LNK1120: 6 unresolved externals
Error executing link.exe.
Test.exe - 7 error(s), 0 warning(s)
Please help, not sure what is the problem. what could be the solution.