Hi, I encounter several errors when compiling quanLib. I'm using the following versions: boost_1_47, QuantLib-1.0.1 and VC++ 2010. the errors are: 1>C:\QuantLib\QuantLib-1.0.1\ql/qldefines.hpp(29): fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory I saw that config.hpp is present in 2 directories: C:\QuantLib\QuantLib-1.0.1\ql and C:\QuantLib\QuantLib-1.0.1\ql I have also as error: C2668 => ql\methods\montecarlo\lsmbasissystem.cpp(118): error C2668: 'boost::bind' : ambiguous call to overloaded function => ql\pricingengines\vanilla\analytichestonengine.cpp(541): error C2668: 'boost::lambda::bind' : ambiguous call to overloaded function Do I use good versions together ? Did somebody already face these errors (...and soved it!) ? I put in Include Directories: C:\Program Files\boost\boost_1_47;$(IncludePath) and for include Libraries: C:\Program Files\boost\boost_1_47\lib;$(LibraryPath) thanks for your help ED ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Hey ED,
I recently installed QuantLib with VC++ 2010 and encountered a similar error. My error was resolved by specifying the include directories for headers and libraries at the global level so that it propagates to all projects (This is done through the property manager by modifying the Microsoft.cpp.<Platform>.users property page). Hope that helps.
Mahesh
From: "[hidden email]" <[hidden email]> To: [hidden email] Sent: Friday, October 7, 2011 11:25 AM Subject: [Quantlib-users] ERROR: Cannot open include file: 'boost/config.hpp' ..... Hi, I encounter several errors when compiling quanLib. I'm using the following versions: boost_1_47, QuantLib-1.0.1 and VC++ 2010. the errors are: 1>C:\QuantLib\QuantLib-1.0.1\ql/qldefines.hpp(29): fatal error C1083: Cannot open include file: 'boost/config.hpp': No such file or directory I saw that config.hpp is present in 2 directories: C:\QuantLib\QuantLib-1.0.1\ql and C:\QuantLib\QuantLib-1.0.1\ql I have also as error: C2668 => ql\methods\montecarlo\lsmbasissystem.cpp(118): error C2668: 'boost::bind' : ambiguous call to overloaded function => ql\pricingengines\vanilla\analytichestonengine.cpp(541): error C2668: 'boost::lambda::bind' : ambiguous call to overloaded function Do I use good versions together ? Did somebody already face these errors (...and soved it!) ? I put in Include Directories: C:\Program Files\boost\boost_1_47;$(IncludePath) and for include Libraries: C:\Program Files\boost\boost_1_47\lib;$(LibraryPath) thanks for your help ED ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |