[C++-sig] boost::python & precomp headers problem

David Abrahams dave at boost-consulting.com
Wed Jun 22 14:53:10 CEST 2005


"Ira" <sheig222 at gmail.com> writes:

> Hi,
>
> I'm new to boost so don't assume I've tried *anything* to solve this (though
> I assure you I have).
>
> First off, I'm Using VC6.
>
> When trying to '#include <boost/python.hpp>' in cpp files it works fine.
> When trying that include in the precompiled headers, I get the following
>
> d:\visual studio projects\boost_1_32_0\boost\ref.hpp(50) : fatal error
> C1001: INTERNAL COMPILER ERROR
>         (compiler file 'msc1.cpp', line 1786)
>          Please choose the Technical Support command on the Visual C++
>          Help menu, or open the Technical Support help file for more
> information
>
> Any way around this?

I can't promise it will help, but the first thing I would try is to
stop using boost/python.hpp and instead #include only the individual
Boost.Python headers you need.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Cplusplus-sig mailing list