Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Linking error

1 view
Skip to first unread message

Jan Erik Christiansen

unread,
Dec 9, 2009, 12:43:06 PM12/9/09
to
Hello,

I am working on a matrix library, with managed C++. I get the following
error when linking the library,It compiles fine. I assume this have someting
to do with constructors.

I have the default constructor and two other constructors. So I do not use
undefined constructors:

JCMatrix.obj : error LNK2020: unresolved token (06000008) JCMatrix::.ctor

Can you please help me?

David Wilkinson

unread,
Dec 10, 2009, 7:21:46 AM12/10/09
to

Jan:

You need to check that all the constructors that are declared are actually defined.

--
David Wilkinson
Visual C++ MVP

0 new messages