[Develop] building a windows build environment

will willg at bluesock.org
Mon Nov 26 23:47:09 EST 2007


Guilherme Polo wrote:
> 2007/11/26, will <willg at bluesock.org>:
>>
>> Then the compilation hits fasttypes.cpp and spits out over 300 lines of
>> errors with boost files and then dies.  It's a pain in the ass to copy
>> and paste them here, but I can if someone thinks they're worthwhile to
>> look at.
> 
> If it fails on fasttypes.cpp then the problem is not related to pyrex.
> Do you have python-boost over there ? If you have python-boost
> installed, the long error would be useful.

It picks up boost version 1.33.1 from the dtv-binary-kit.  It's been in 
the dtv-binary-kit since May or so.  I've built a Windows build 
environment since then, so I'm not sure the issue is with boost itself. 
  If it's definitely not a Pyrex version issue, then it's an environment 
issue of some kind.

Here's the first few lines of the error transcribed:

fasttypes.cpp
..\..\..\dtv-binary-kit\boost\win32\include\boost-1_33_1\boost\detail\compressed_pair.hpp(347) 
: error C2247: 
'boost::python::objects::iterator_range<NextPolicies,Iterator>::next' 
not accessible because 
'boost::details::compressed_pair_imp<T1,T2,Version>' uses 'private' to 
inherit from 
'boost:python::objects::iterator_range<NextPolicies,Iterator>::next'
      with
      [
 
NextPolicies=boost::python::return_value_policy<boost::python::return_by_value>,
         Iterator=iterator_const
      ]
      and
      [
 
T1=boost::python::objects::iterator_range<boost::python::return_value_policy<boost::python::return_by_value>,iterator_const>::next,
 
T2=boost::python::return_value_policy<boost::python::return_by_value>
         Version=3
      ]
      and

so on and so forth....

The reason I think it's an environment issue is that I built a working 
Windows build environment a few months ago with what I'm pretty sure is 
the same build of boost given that it's in dtv-binary-kit in svn.

/will


More information about the Develop mailing list