Guest_imported
New member
- Jan 1, 1970
- 0
Hi, I got the below when compiling. Using nrutil.h for some matrix functions, can help?
Linking...
SSD.obj : error LNK2001: unresolved external symbol "void __cdecl free_matrix(float * *,long,long,long,long)" (?free_matrix@@YAXPAPAMJJJJ@Z)
SSD.obj : error LNK2001: unresolved external symbol "float * * __cdecl matrix(long,long,long,long)" (?matrix@@YAPAPAMJJJJ@Z)
Debug/SSD.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
Also, tried using
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
But still got
Linking...
SSD.obj : error LNK2001: unresolved external symbol _free_matrix
SSD.obj : error LNK2001: unresolved external symbol _matrix
Debug/SSD.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
How??? Please help!!! Been trying whole day to rectify (((((((((((...............
Linking...
SSD.obj : error LNK2001: unresolved external symbol "void __cdecl free_matrix(float * *,long,long,long,long)" (?free_matrix@@YAXPAPAMJJJJ@Z)
SSD.obj : error LNK2001: unresolved external symbol "float * * __cdecl matrix(long,long,long,long)" (?matrix@@YAPAPAMJJJJ@Z)
Debug/SSD.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
Also, tried using
#ifdef __cplusplus
extern "C" {
#endif
#ifdef __cplusplus
}
#endif
But still got
Linking...
SSD.obj : error LNK2001: unresolved external symbol _free_matrix
SSD.obj : error LNK2001: unresolved external symbol _matrix
Debug/SSD.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
How??? Please help!!! Been trying whole day to rectify (((((((((((...............