Hi. I recently got BtS and want to start modding. I am using the SDK code that came with BtS. I already have Visual C++ Express Edition set up on my computer. When I attempt to build the SDK I get a single error in the boost python library. I've read some threads here but they all mention the 2003 toolkit with code::blocks. I used it long ago but I'd rather not reinstall for fear of disrupting my 2008 installation. There is only one error so I'm wondering if someone with more knowledge could help me fix it:
c:\program files\sid meier's civilization 4\cvgamecoredll\boost-1.32.0\include\boost\python\data_members.hpp(278) : error C2665: 'boost:ython::detail::make_getter' : none of the 3 overloads could convert all the argument types
The code is:
I tried adding "const" in front of the declaration of policy to match up with the call to detail::make_getter but I get the same error. If I comment out the code entirely (just to see what happens) I get the same error in the make_setter function. If I comment that out I get the expected error from a civ file about not being able to find the function. I googled around for a bit but it looks like the boost python project is dead or dying.
Thanks
c:\program files\sid meier's civilization 4\cvgamecoredll\boost-1.32.0\include\boost\python\data_members.hpp(278) : error C2665: 'boost:ython::detail::make_getter' : none of the 3 overloads could convert all the argument types
The code is:
Code:
# if !BOOST_WORKAROUND(__EDG_VERSION__, <= 238) && !BOOST_WORKAROUND(BOOST_MSVC, <= 1300)
template <class D>
inline object make_getter(D const& d)
{
detail::not_specified policy;
return detail::make_getter(d, policy, is_member_pointer<D>(), 0L);
}
# endif
I tried adding "const" in front of the declaration of policy to match up with the call to detail::make_getter but I get the same error. If I comment out the code entirely (just to see what happens) I get the same error in the make_setter function. If I comment that out I get the expected error from a civ file about not being able to find the function. I googled around for a bit but it looks like the boost python project is dead or dying.
Thanks