Hi,
I installed Boost in my PC and tested it by a small program provided in
I built the propram and got following error message (see attached below). It seems I didn't include certain dirctories. Anyone can help?
I use Visual C++ 6. I tested this program and it works in Visual Stutio 2010.
Thanks
Ming
*************************************************************************************************************************************
Compiling...
TestingBoost.cpp c:\finprogram\boost_1_43_0\boost_1_43_0\boost\range\detail\const_iterator.hpp(66) : error C2039: 'pts' : is not a member of 'range_const_iterator_<struct boost::mpl::int_<6> >' c:\finprogram\boost_1_43_0\boost_1_43_0\boost\range\detail\const_iterator.hpp(67) : see reference to class template instantiation 'boost::range_const_iterator<C>' being compiled c:\finprogram\boost_1_43_0\boost_1_43_0\boost\range\detail\const_iterator.hpp(66) : error C2143: syntax error : missing ';' before '<' c:\finprogram\boost_1_43_0\boost_1_43_0\boost\range\detail\const_iterator.hpp(67) : see reference to class template instantiation 'boost::range_const_iterator<C>' being compiled c:\finprogram\boost_1_43_0\boost_1_43_0\boost\range\detail\const_iterator.hpp(66) : error C2059: syntax error : '<' c:\finprogram\boost_1_43_0\boost_1_43_0\boost\range\detail\const_iterator.hpp(67) : see reference to class template instantiation 'boost::range_const_iterator<C>' being compiled c:\finprogram\boost_1_43_0\boost_1_43_0\boost\range\detail\const_iterator.hpp(66) : error C2039: 'type' : is not a member of '`global namespace'' c:\finprogram\boost_1_43_0\boost_1_43_0\boost\range\detail\const_iterator.hpp(67) : see reference to class template instantiation 'boost::range_const_iterator<C>' being compiled c:\finprogram\boost_1_43_0\boost_1_43_0\boost\range\detail\const_iterator.hpp(66) : error C2238: unexpected token(s) preceding ';' c:\finprogram\boost_1_43_0\boost_1_43_0\boost\range\detail\const_iterator.hpp(67) : see reference to class template instantiation 'boost::range_const_iterator<C>' being compiled c:\finprogram\boost_1_43_0\boost_1_43_0\boost\detail\iterator.hpp(486) : fatal error C1506: unrecoverable block scoping error Error executing cl.exe. ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
On Fri, 2010-07-02 at 07:19 -0700, james shaw wrote:
> Hi, > > I installed Boost in my PC and tested it by a small program provided > in > > http://quantlib.org/install/vc9.shtml > > I built the propram and got following error message (see attached > below). It seems I didn't include certain dirctories. Anyone can help? > I use Visual C++ 6. I tested this program and it works in Visual > Stutio 2010. The compiler is not complaining about missing files, so I think the directories are ok. It might just be that recent versions of Boost no longer supports Visual C++ 6 (and even if Boost does, be aware that QuantLib doesn't anyway.) Luigi -- Present to inform, not to impress; if you inform, you will impress. -- Fred Brooks ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |