"Freddy" <> wrote...
> I am not an experienced programmer, but I had a VC++ program I am
> trying to eliminate all the VC++ commands from it...
What does that mean, exactly? You're still compiling it using VC++...
>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.
The solution would be to provide the definitions of those functions
during the linking stage of building your project. As to where they
come from, or how to add them to the project, sorry, off-topic here.
Try asking in a newsgroup for VC++: microsoft.public.vc.* hierarchy.
Victor
|