Error LNK2019 unresolved external symbol "public: int __cdec

For developers writing C++, Fortran, Java, code who have questions or comments to make.

Moderators: silvia, selimgunay, Moderators

Post Reply
mohammmad
Posts: 45
Joined: Tue Aug 21, 2018 4:10 am
Contact:

Error LNK2019 unresolved external symbol "public: int __cdec

Post by mohammmad » Sat Oct 27, 2018 2:33 am

Hi,
I added some .h and .cpp. There is no error in these files (nDarray.h and ...) but when I compile the source, I got the following error:

Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "public: int __cdecl nDarray::rank(void)const " (?rank@nDarray@@QEBAHXZ) referenced in function "public: class Matrix & __cdecl Matrix::operator=(class BJtensor const &)" (??4Matrix@@QEAAAEAV0@AEBVBJtensor@@@Z) OpenSees F:\2.5.0-original\Win64\proj\openSees\matrix.lib(Matrix.obj) 1


Can anyone help me?

Post Reply