- #1
Pozarnik
- 1
- 0
I've been struggling for awhile, I've been trying to use CLAPACK to avoid learning Fortan. I think I've just a linking problem, since I've been testing code that's supposed to work.
in the VC command prompt i type
cl dgesv.c
and I get the error
LNK2019: unresolved external symbol _dgesv_ referenced in function _main
if I try to link the library
cl dgesv.c /link clapack.lib
then i get redundancy in some of the defaults like printf (alrady defined in LIBCMT.lib)
and i also get the error.
LNK4098 default lib 'MSVCRTD' conflicts with the use of other libs
Can someone help me fix this?
Otherwise I was trying to use seldon, but there seems to be very little information on how to use it.
in the VC command prompt i type
cl dgesv.c
and I get the error
LNK2019: unresolved external symbol _dgesv_ referenced in function _main
if I try to link the library
cl dgesv.c /link clapack.lib
then i get redundancy in some of the defaults like printf (alrady defined in LIBCMT.lib)
and i also get the error.
LNK4098 default lib 'MSVCRTD' conflicts with the use of other libs
Can someone help me fix this?
Otherwise I was trying to use seldon, but there seems to be very little information on how to use it.