[bigint] Linking errors
Matt McCutchen <matt at mattmccutchen.net>
Fri Apr 30 14:50:59 PDT 2010
On Thu, 2010-04-29 at 22:44 -0400, Eddie O'Hagan wrote:
> I Added all the files to visual studios include folder and my project
> is able to find the files just fine but I’m getting a bunch of linking
> errors and Im not sure how to fix it.
>
> Main.obj : error LNK2019: unresolved external symbol "public:
> __thiscall BigInteger::BigInteger(int)" (??0BigInteger@@QAE at H@Z)
> referenced in function "class BigInteger __cdecl Factorial(class
> BigInteger)" (?Factorial@@YA?AVBigInteger@@V1@@Z)
[...]
You have probably forgotten to link with the library source files
(*.cc). Consult the IDE documentation to learn how to do that; it may
suffice to add them to your project.
I've clarified the text in the README to hopefully avoid more questions
about this in the future.
--
Matt
More information about the bigint
mailing list