x64 build fix for VS2008 solution project (QuantLib 0.9.9 w/ Boost 1.41)

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

x64 build fix for VS2008 solution project (QuantLib 0.9.9 w/ Boost 1.41)

Craig Miller-7
I would like to share an update to QuantLib svn.  The attached 09-11-02 QLSvnTrunk_BuildChangeSummary.zip includes:
 
1. QuantLib_vc9.vcproj
2. QuantLib_vc9.sln
3. 09-11-20 QuantLibSvnTrunk_BuildChangeSummary.rtf
 
Summary
1. Fix x64 build errors
2. create Examples folder in solution Explorer which now holds all the example projects
3. notes and build output
 
Note
I typically use a batch build of all configurations so my Boost path is set appropriately for x86 vs. x64 libraries to link (see attached notes for details).
 
 
Craig Miller
 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev

09-11-02 QLSvnTrunk_BuildChangeSummary.zip (763K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: x64 build fix for VS2008 solution project (QuantLib 0.9.9 w/ Boost 1.41)

Ferdinando M. Ametrano-3
Hi Craig

On Sat, Nov 21, 2009 at 3:01 AM, Craig Miller <[hidden email]> wrote:
> I would like to share an update to QuantLib svn.
> [...]
> Summary
> 1. Fix x64 build errors
> 2. create Examples folder in solution Explorer which now holds all the
> example projects
> 3. notes and build output

I fixed "Disable Language Extensions" back to NO, disabled
optimization for Debug configurations, and removed most compilation
warnings. Could you check on the _trunk_ if everything is OK ?
examples included please.

Would you mind also reporting any compilation warning ?

Does this close the issue you posted on the bug tracker ?

BTW how do you create an Examples folder in the solution? I must be
dummy, but I couldn't find a way...

thank you for your help

ciao -- Nando

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: x64 build fix for VS2008 solution project (QuantLib 0.9.9 w/ Boost 1.41)

Craig Miller-7
Hi Nando,
I'm happy to be of some help.  I've attached details, but in short:

1. One of the two problems are now fixed in the trunk.  The remaining build
error has to do with the 'Debug x64' config which should have optimization
disabled (i.e., Configuration Properties | C/C++ | Optimization |
Optimization: Disabled (/Od) ).  To make all the debug configs the same, I
would recommend setting the 'Inline Function Expansion to Default'.

2. Adding a folder in the solution is done by right clicking on the solution
and selecting Add | New Solution Folder.  I use this approach to organize
projects in a way similar to their physical layout on the drive.  Once the
folder is create double click on it to rename 'Example' and then Cntr +
click on each example project (to select) and drag them to the Example
folder.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
While I have your ear, I have a few questions:
Q1. What is the best process for submitting this type of stuff (i.e., bug
fix suggestions)?
Q2. Is the way I've done it acceptable (i.e., bug report with suggested
fix)?
Q3. I'm interested in being a QL developer, any suggestions on what steps to
take in accomplishing this?

BTW, I am in the process of creating 'Quant Portfolio Library (QP-Lib)'
(https://sourceforge.net/projects/qp-lib/) with the idea of complimenting
QuantLib so becoming a developer on QL would help me minimize my work by not
trying to duplicate any of the great code that already exists.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Regards,
cm

~~~~~~~~~~~~~~~~~~~~~~~~~~~~
attached 09-11-23 QuantLibSvnTrunk_BuildChangeSummary.zip
 1. notes and build output before and after new fix 09-11-23
QuantLibSvnTrunk_BuildChangeSummary.rtf
 2. QuantLib_vc9.vcproj file with fix for 'Debug x64' optimization disabled
 3. QuanlLib_vc9.sln file with Examples folder added and projects organized
under it
~~~~~~~~~~~~~~~~~~~~~~~~~~~~




----- Original Message -----
From: "Ferdinando Ametrano" <[hidden email]>
To: "Craig Miller" <[hidden email]>
Cc: <[hidden email]>
Sent: Monday, November 23, 2009 7:58 AM
Subject: Re: [Quantlib-dev] x64 build fix for VS2008 solution project
(QuantLib 0.9.9 w/ Boost 1.41)


> Hi Craig
>
> On Sat, Nov 21, 2009 at 3:01 AM, Craig Miller <[hidden email]>
> wrote:
>> I would like to share an update to QuantLib svn.
>> [...]
>> Summary
>> 1. Fix x64 build errors
>> 2. create Examples folder in solution Explorer which now holds all the
>> example projects
>> 3. notes and build output
>
> I fixed "Disable Language Extensions" back to NO, disabled
> optimization for Debug configurations, and removed most compilation
> warnings. Could you check on the _trunk_ if everything is OK ?
> examples included please.
>
> Would you mind also reporting any compilation warning ?
>
> Does this close the issue you posted on the bug tracker ?
>
> BTW how do you create an Examples folder in the solution? I must be
> dummy, but I couldn't find a way...
>
> thank you for your help
>
> ciao -- Nando

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev

09-11-23 QuantLibSvnTrunk_BuildChangeSummary.zip (414K) Download Attachment