Debugging LNK1104

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Debugging LNK1104

HT NB
Hi,
 
I hope I am posting at the right email, if not would you please reply with the appropriate address.
I am trying to run the example and I get this error which I found an answer on the FAQ's, but the solution is rather general and I still have not resolve the problem. Would you be kind to pinpoint the right solution to this error? Below is the message that I get from Microsoft Visual Studio.
 
LINK : fatal error LNK1104: cannot open file QuantLib-vc71-mt-sgd-0_9_0.lib

Regards,
 
H.B.
 

 
 


> From: [hidden email]
> To: [hidden email]
> Subject: confirm 72347a1aa21e0806cfe163183fa324c0fc6e3840
> Date: Tue, 11 Mar 2008 13:36:39 -0700
>
> Mailing list subscription confirmation notice for mailing list
> QuantLib-users
>
> We have received a request from 10.3.1.93 for subscription of your
> email address, "[hidden email]", to the
> [hidden email] mailing list. To confirm that
> you want to be added to this mailing list, simply reply to this
> message, keeping the Subject: header intact. Or visit this web page:
>
> https://lists.sourceforge.net/lists/confirm/quantlib-users/72347a1aa21e0806cfe163183fa324c0fc6e3840
>
>
> Or include the following line -- and only the following line -- in a
> message to [hidden email]:
>
> confirm 72347a1aa21e0806cfe163183fa324c0fc6e3840
>
> Note that simply sending a `reply' to this message should work from
> most mail readers, since that usually leaves the Subject: line in the
> right form (additional "Re:" text in the Subject: is okay).
>
> If you do not wish to be subscribed to this list, please simply
> disregard this message. If you think you are being maliciously
> subscribed to the list, or have any other questions, send them to
> [hidden email].


Connect and share in new ways with Windows Live. Get it now!


Helping your favorite cause is as easy as instant messaging. You IM, we give. Learn more.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Debugging LNK1104

Fabrice_CBA
Hi H.B.,
 
You need to make sure the quantlib library is in your Library path. On visual studio, right-click on the project you are trying to build then Properties -> Linker -> Additinal library files. In that field you should have "..\..\lib" (without quotes). You can also do that for all of your Visual Studio projects at Tool -> Options -> Project and Solutions -> VC++ Directories and add the quantlib\lib directory (could be C:\QuantLib-0.9.0\lib for example) for the library files.
 
If all this doesn't work, it must means you haven't build the quantlib library properly at first. Clean the solution and rebuild the Quantlib library before trying to build the example in that case.
 
Hope this helps.
 
Bonne chance,
Fabrice


From: [hidden email] [mailto:[hidden email]] On Behalf Of H. B.
Sent: Wednesday, 12 March 2008 8:41 AM
To: [hidden email]
Subject: [Quantlib-users] Debugging LNK1104

Hi,
 
I hope I am posting at the right email, if not would you please reply with the appropriate address.
I am trying to run the example and I get this error which I found an answer on the FAQ's, but the solution is rather general and I still have not resolve the problem. Would you be kind to pinpoint the right solution to this error? Below is the message that I get from Microsoft Visual Studio.
 
LINK : fatal error LNK1104: cannot open file QuantLib-vc71-mt-sgd-0_9_0.lib

Regards,
 
H.B.
 

 

 


> From: [hidden email]
> To: [hidden email]
> Subject: confirm 72347a1aa21e0806cfe163183fa324c0fc6e3840
> Date: Tue, 11 Mar 2008 13:36:39 -0700
>
> Mailing list subscription confirmation notice for mailing list
> QuantLib-users
>
> We have received a request from 10.3.1.93 for subscription of your
> email address, "[hidden email]", to the
> [hidden email] mailing list. To confirm that
> you want to be added to this mailing list, simply reply to this
> message, keeping the Subject: header intact. Or visit this web page:
>
> https://lists.sourceforge.net/lists/confirm/quantlib-users/72347a1aa21e0806cfe163183fa324c0fc6e3840
>
>
> Or include the following line -- and only the following line -- in a
> message to [hidden email]:
>
> confirm 72347a1aa21e0806cfe163183fa324c0fc6e3840
>
> Note that simply sending a `reply' to this message should work from
> most mail readers, since that usually leaves the Subject: line in the
> right form (additional "Re:" text in the Subject: is okay).
>
> If you do not wish to be subscribed to this list, please simply
> disregard this message. If you think you are being maliciously
> subscribed to the list, or have any other questions, send them to
> [hidden email].


Connect and share in new ways with Windows Live. Get it now!


Helping your favorite cause is as easy as instant messaging. You IM, we give. Learn more.
************** IMPORTANT MESSAGE *****************************       
This e-mail message is intended only for the addressee(s) and contains information which may be
confidential. 
If you are not the intended recipient please advise the sender by return email, do not use or
disclose the contents, and delete the message and any attachments from your system. Unless
specifically indicated, this email does not constitute formal advice or commitment by the sender
or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. 
We can be contacted through our web site: commbank.com.au. 
If you no longer wish to receive commercial electronic messages from us, please reply to this
e-mail by typing Unsubscribe in the subject line. 
**************************************************************



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
Reply | Threaded
Open this post in threaded view
|

Re: Debugging LNK1104

Luigi Ballabio
In reply to this post by HT NB
On Tue, 2008-03-11 at 17:41 -0400, H. B. wrote:
>         I am trying to run the example and I get this error which I
>         found an answer on the FAQ's, but the solution is rather
>         general and I still have not resolve the problem. Would you be
>         kind to pinpoint the right solution to this error? Below is
>         the message that I get from Microsoft Visual Studio.
>          
>         LINK : fatal error LNK1104: cannot open file
>         QuantLib-vc71-mt-sgd-0_9_0.lib

What example are you trying to run? Are you compiling it from the
QuantLib_vc7.sln Visual Studio solution included in the release?

Luigi


--

The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" but "That's funny..."
-- Isaac Asimov



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users