Posted by
Wenhai Zhang, CLSA on
Jun 20, 2017; 11:26pm
URL: http://quantlib.414.s1.nabble.com/build-quantlibXL-in-Visual-Studio-tp18351p18354.html
Hi Eric,
Thanks. I have solved it by turning on the incremental linking.
Regards,
Wenhai
-----Original Message-----
From: Eric Ehlers [mailto:
[hidden email]]
Sent: Wednesday, June 21, 2017 2:20 AM
To: Wenhai Zhang, CLSA <
[hidden email]>;
[hidden email]
Subject: Re: [Quantlib-users] build quantlibXL in Visual Studio
Hello,
Any clue as to which line (or file) of QuantLibXL source code triggers the error?
Google tells me that that error can sometimes be fixed by turning off optimization.
Regards,
Eric
On 2017-06-16 10:26, Wenhai Zhang, CLSA wrote:
>
> Hi team,
>
> I tried to build the quantLibXL in Visual Studio 2013. However, I
> always got the following error during the building process:
>
> C:\Development\boost_1_64_0\boost/type_traits/common_type.hpp(50) :
> see reference to class template instantiation
> 'boost::common_type<T1,T2,T...>' being compiled
>
> 3>C:\Development\boost_1_64_0\boost/type_traits/detail/mp_defer.hpp(50):
> fatal error C1001: An internal error has occurred in the compiler.
>
> 3> (compiler file 'f:\dd\vctools\compiler\cxxfe\sl\p1\c\p1types.cpp',
> line 192)
>
> 3> To work around this problem, try simplifying or changing the
> program near the locations listed above.
>
> 3> Please choose the Technical Support command on the Visual C++
>
> The error is pointed to the following source code in the common_type.hpp:
>
> template<class T1, class T2, class... T>
>
> struct common_type<T1, T2, T...>:
> type_traits_detail::mp_defer<type_traits_detail::common_type_fold, T1,
> T2, T...>
>
> {
>
> };
>
> Would you please give me some suggestion to solve this issue? Thanks
> in advance.
>
> Regards,
>
> Wenhai
>
> The content of this communication is intended for the recipient and is
> subject to CLSA Legal and Regulatory Notices.
> These can be viewed at
https://www.clsa.com/disclaimer.htmlor sent to
> you upon request.
> /*CLSA is ISO14001 certified and committed to reducing environmental
> impact.*/
>
>
>
> ----------------------------------------------------------------------
> -------- Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org!
http://sdm.link/slashdot>
>
> _______________________________________________
> QuantLib-users mailing list
>
[hidden email]
>
https://lists.sourceforge.net/lists/listinfo/quantlib-usersThe content of this communication is intended for the recipient and is subject to CLSA Legal and Regulatory Notices.
These can be viewed at
https://www.clsa.com/disclaimer.html or sent to you upon request.
CLSA is ISO14001 certified and committed to reducing environmental impact.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
http://sdm.link/slashdot_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users