cvode

M

m_

Hello
I'm relatively new to C programming, I know how to code but linking options,
libraries, etc are completely obscure to me, I'm seeking some advice how to
compile and build freely available package for solving differential
equations CVODE (netlib.org) under any Borland windows compiler or Matlab C
compiler. I can make it under cygwin without errors but I'd like to use the
cvode library in Borland compiled program or Matlab. I can compile it under
Borland 5.02 but when making example code added to the package, it returns
some unresolvings I can't get around.

Info :Making...
Info :Linking C:\ODE\cvdx.exe
Error: Error: Unresolved external '_N_VNew' referenced from C:\ODE\CVDX.OBJ
Error: Error: Unresolved external '_CVodeMalloc' referenced from
C:\ODE\CVDX.OBJ
Error: Error: Unresolved external '_CVDense' referenced from
C:\ODE\CVDX.OBJ
Error: Error: Unresolved external '_CVode' referenced from C:\ODE\CVDX.OBJ
Error: Error: Unresolved external '_N_VFree' referenced from
C:\ODE\CVDX.OBJ
Error: Error: Unresolved external '_CVodeFree' referenced from
C:\ODE\CVDX.OBJ
 
M

m_

One more, how can I build one file library from several *.obj files and how
to use this library? Seems like very basic questions, however I have two
books dedicated to C,C++ and couldn't find the answers.
 
M

Mike Wahler

m_ said:
One more, how can I build one file library from several *.obj files and how
to use this library? Seems like very basic questions, however I have two
books dedicated to C,C++ and couldn't find the answers.

That's because linking and building libraries are not part of
the C++ language. Each implementation will do things its own
way. The answers are in your compiler documentation (and won't
be the same for other compiler packages).

-Mike
 
M

Mark McIntyre

One more, how can I build one file library from several *.obj files and how
to use this library? Seems like very basic questions, however I have two
books dedicated to C,C++ and couldn't find the answers.

Both your questions are not answered in the books, because they're not
questions about either C or C++. They're questions about how your
implementation links modules or creates libraries, and each compiler does
this slightly differently.

You need to read the compiler documentation or ask in a group specific to
your compiler .
 
F

Flash Gordon

m_ said:
One more, how can I build one file library from several *.obj files and how
to use this library? Seems like very basic questions, however I have two
books dedicated to C,C++ and couldn't find the answers.

This and your previous question are for implementation specifics, so you
need to ask somewhere dedicated to your implementation. I would suggest
starting with groups with windows in the name.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,159
Messages
2,570,879
Members
47,416
Latest member
LionelQ387

Latest Threads

Top