Re: QLXL 1.5 - unified project discovery?

Posted by Nicholas Manganaro-2 on
URL: http://quantlib.414.s1.nabble.com/QLXL-1-5-unified-project-discovery-tp16312p16348.html

Eric,
I look forward to having more of the QuantLib capabilities exposed through
an official QuantLibXL 1.5 release.
I am glad you have automated process to make the necessary modifications
more efficiently than I did.
-N
-----Original Message-----
From: Eric Ehlers [mailto:[hidden email]]
Sent: Tuesday, March 10, 2015 7:53 AM
To: [hidden email]
Cc: 'Luigi Ballabio'; 'Peter Caspers'; 'QuantLib users'
Subject: Re: [Quantlib-users] QLXL 1.5 - unified project discovery?

Hi Nicholas,

It sounds like you are all right.

On the one hand, I can't understand how the build ever could have completed
successfully before finding QuantLib.

On the other hand, now than an XLL has been produced it should be OK - if
any functions work I would expect that all of them do.

I use python scripts to do the find-and-replace on the project files -
find_replace.py and upgrade_vc.py in ObjectHandler/dev_tools/.

I will get on to the official release of QuantLibXL 1.5 as soon as I can.

Kind Regards,
Eric

On Mon, 09 Mar 2015 12:18:25 -0400
"Nicholas Manganaro" <[hidden email]> wrote:

> I produced an xll file that can be accessed by Excel, and has the
> initial capabilities that I need for my personal project, but I do not
> know if it would have all the capabilities it should have as designed,
> given the warnings thrown during the compilation process.
>
> I removed the -1.5 from the QuantLib directory name.
>
> As indicated below, I modified the QuantLibXL_full_vc11.sln by
> changing the reference from QuantLib_vc11.vcxproj to QuantLib.vcxproj.
> There are other files throughout the folders referenced in the
> compilation process that reference QuantLib_vc11.vcxproj, however, so
> just changing the one file mentioned did not get rid of all the
> possible sources of this warning.
>
>  
>
> I went digging. Here are the files I found with references to
> QuantLib_vc11.vcxproj:
>
>  
>
> From the QuantLib folder:
>
> *         QuantLib_vc11.sln
>
> From the QuantLibAddin folder:
>
> *         QuantLibAddin_vc11.sln
>
> *         QuantLibObjects_vc11.vcxproj
>
> *         QuantLibObjects2_vc11.vcxproj
>
> *         QuantLibObjects3_vc11.vcxproj
>
> *         QuantLibObjects4_vc11.vcxproj
>
> From the QuantLibXL folder:
>
> *         QuantLibAllDynamic_vc11.sln
>
> *         QuantLibXL_full_vc11.sln
>
> *         QuantLibXL_basic_vc11.sln
>
> *         From the qlxl sub-folder Within the QuantLibXL folder:
>
> o   QuantLibXLDynamic_vc11.vcxproj
>
> o   QuantLibXLStatic_vc11.vcxproj
>
> o   QuantLibXLStatic2_vc11.vcxproj
>
>  
>
> I modified those files to change those references to QuantLib.vcxproj,
> and now re-compiled without getting the warnings I had gotten
> previously.
>
>  
>
> From the above list, it should be obvious that I have only looked
> through those files associated with the version of Visual Studio
> Express I am running. I presume that the files for vc10 and vc12 would
> have the same references that would need to be modified for the
> compilations to run smoothly.
>
>  
>
> Regards,
>
> Nick
>
>  
>
> From: Luigi Ballabio [mailto:[hidden email]]
> Sent: Monday, March 09, 2015 3:39 AM
> To: Eric Ehlers
> Cc: [hidden email]; Peter Caspers; QuantLib users
> Subject: Re: [Quantlib-users] QLXL 1.5 - unified project discovery?
>
>  
>
> I did. Since 1.5, the core library uses a single project for all VC
> versions from 10 onwards. The reference in the QLXL solution should be
> changed.
>
>  
>
> Luigi
>
>  
>
> On Mon, Mar 9, 2015 at 8:15 AM, Eric Ehlers <[hidden email]
> <mailto:[hidden email]> > wrote:
>
> Hi Nick,
>
> > QuantLibXL_full_vc11.sln as Luigi advised. Now it has compiled,
> > thanks to all. It still generated 3 warning messages that make me
> > wonder if the internals for QL_XL are going to be ok:
>
> This build, does it yield a usable XLL file?
>
> > 9>------ Build started: Project: QuantLibObjects, Configuration:
> > 9>Release (static runtime) Win32 ------
> >
9>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(142
2,5):

> > 9>warning : The referenced project
> > 9>'..\QuantLib\QuantLib_vc11.vcxproj' does not exist.
>
> What could be wrong with that path, from this file...
>
>     C:/build_ql/QuantLibAddin/QuantLibObjects_vc11.vcxproj
>
> ... to this one:
>
>     C:/build_ql/QuantLib/QuantLib_vc11.vcxproj
>
> Have you removed the version number from the QuantLib directory name?
>
> Kind Regards,
> Eric
>
>
>
>
>
>  
>


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users