[ quantlib-Bugs-2617586 ] config error in CSharp SWIG extension for QuantLib_vc8.sln

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ quantlib-Bugs-2617586 ] config error in CSharp SWIG extension for QuantLib_vc8.sln

SourceForge.net
Bugs item #2617586, was opened at 2009-02-19 22:02
Message generated for change (Comment added) made by lballabio
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=2617586&group_id=12740

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Grant Birchmeier (grantbirchmeier)
>Assigned to: Luigi Ballabio (lballabio)
Summary: config error in CSharp SWIG extension for QuantLib_vc8.sln

Initial Comment:
Compiling the CSharp SWIG extension fails for vc8.  The following easy fix is needed:

For both BermudanSwaption_vc8 and EquityOption_vc8
1) right-click -> Properties -> Build Events
2) change
copy "$(SolutionDir)cpp\bin\vc80\$(ConfigurationName)\NQuantLibc.dll" "$(TargetDir)"
to
copy "$(SolutionDir)csharp\bin\vc80\$(ConfigurationName)\NQuantLib.dll" "$(TargetDir)"

Notice the change from "cpp" to "csharp" and removing the "c" from NQuantLibc.dll.

Rebuild solution and it should compile cleanly.

----------------------------------------------------------------------

Comment By: Luigi Ballabio (lballabio)
Date: 2009-02-25 11:45

Message:
The bug is now fixed in the Subversion repository.
Thank you for the report.


----------------------------------------------------------------------

Comment By: Grant Birchmeier (grantbirchmeier)
Date: 2009-02-23 16:28

Message:
I'm using Visual Studio 2005 Professional Edition - Microsoft Visual C#
2005.

In the "Project Dependencies" dialog for BermudanSwaption_vc8 project, the
dependencies are NQuantLib_vc8 and NQuantLibc, in that order.

For EquityOption_vc8 project, the only dependency is NQuantLib_vc8.

These settings are as they were out-of-the-box, that is, I did not alter
them.

----------------------------------------------------------------------

Comment By: Luigi Ballabio (lballabio)
Date: 2009-02-23 11:19

Message:
The dependency on NQuantLib should already take care of it. In fact, it
does on my machine.
What version of Visual C# are you using? (Express, Standard...)
If you open the "Project dependencies" dialog on either BermudanSwaption
or EquityOption, do you see NQuantLib as a dependency?


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=112740&aid=2617586&group_id=12740

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev