Posted by
Mark Schuler on
URL: http://quantlib.414.s1.nabble.com/Linking-Error-for-ObjectHandler-tp7574p7576.html
This is what I tried exactly. I tried really really hard. I mean, I got everything working so far, but not this project. I get
1>LINK : warning LNK4098: Standardbibliothek "MSVCRTD" steht in Konflikt mit anderen Bibliotheken; /NODEFAULTLIB:Bibliothek verwenden.
1>QuantlibObjectHandlerTesting.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: virtual __thiscall ObjectHandler::Repository::~Repository(void)" (??1Repository@ObjectHandler@@UAE@XZ)" in Funktion "_wmain".
1>QuantlibObjectHandlerTesting.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: __thiscall ObjectHandler::Repository::Repository(void)" (??0Repository@ObjectHandler@@QAE@XZ)" in Funktion "_wmain".
1>fatal error LNK1120: 2 nicht aufgelöste externe Verweise.
Non resolved linking. All I do is initializi<a title="Senden" href="javascript:;" onclick="if(window.ComposeContactPicker)return Control.invokeStatic('ComposeContactPicker', 'sendMessagePrep', event, null);" id="SendMessage">
Sendenng a repository:
ObjectHandler::Repository repository;
Is there a project template somewhere which works standalone? Since the Example one doesn't in my
case. I appreaciate your help.
> Date: Wed, 24 Jun 2009 18:42:29 +0200
> From:
[hidden email]> To:
[hidden email]> CC:
[hidden email]> Subject: RE: [Quantlib-users] Linking Error for ObjectHandler
>
> Hi Mark,
>
> Quoting Mark Schuler <
[hidden email]>:
>
> > Eric thanks a lot again for your advice. I understand the solution
> > and will proceed as suggested.
> >
> > However, I'm a bit surprised that this can't be handled by the standard
> > linking against a lib.
>
> It can. For that approach, you configure your bespoke application as
> a single project contained in a single solution. Your project would
> have roughly the same prerequisites as ExampleCpp. In the project
> settings, ensure that the paths and dependencies are configured to
> pick up all necessary header files and static libraries.
>
> Regards,
> Eric
>
>
Mehr Sicherheit und Datenschutz - der neue Internet Explorer 8 für MSN
Jetzt sofort kostenlos downloaden!
------------------------------------------------------------------------------
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users