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-tp16312p16345.html

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]> 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(1422,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



 

--

<https://implementingquantlib.blogspot.com>
<https://twitter.com/lballabio>


------------------------------------------------------------------------------
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