Yeah... easier said than done
I am currently trying to recompile everything with Visual Studio 2003 but I have found some problems :
1) Workspaces are only up-to-date for Visual Studio 2005, was quite easy to modify them with wordpad to open them with 2003
2) Lots of libraries to download, no version specified... time-consuming but I think it is ok
3) Some compilation errors / project settings to change... done
4) Boost problems... boooom !
There are four components : fake_ogre_mat, pyogre_mini, pyrmgatewayplugin and pyrmsdk. The only one remaining is the pyrmsdk which I can't build because of boost. I downloaded boost 1.33.1 and build successfully boost_python (required). However, in pyrmsdk, there are some binding to be done which are not accepted by the compiler.
Code: Select all
PyRmTypes.cpp
../../include\wrapper_tools\convenience.hpp(71) : error C2780: 'boost::_bi::bind_t<R,boost::_mfi::dm<R,T>,_bi::list_av_1<A1>::type> boost::bind(R T::* ,A1)' : expects 2 arguments - 3 provided
C:\RmOgreExporter\boost_1_33_1\boost\bind.hpp(1616) : see declaration of 'boost::bind'
\RmOgreExporter\RmOgreExporter\src\PyRmSDK\PyRmTypes.cpp(371) : see reference to function template instantiation 'wrapper_tools::nullary_functor wrapper_tools::bind_to_expose_const<std::wstring>(T,const char *)' being compiled
with
[
T=std::wstring
]
../../include\wrapper_tools\convenience.hpp(71) : error C2780: 'boost::_bi::bind_t<R,boost::_mfi::cmf8<R,T,B1,B2,B3,B4,B5,B6,B7,B8>,_bi::list_av_9<A1,A2,A3,A4,A5,A6,A7,A8,A9>::type> boost::bind(R (__thiscall T::* )(B1,B2,B3,B4,B5,B6,B7,B8) const,A1,A2,A3,A4,A5,A6,A7,A8,A9)' : expects 10 arguments - 3 provided
C:\RmOgreExporter\boost_1_33_1\boost\bind\bind_mf_cc.hpp(222) : see declaration of 'boost::bind'
../../include\wrapper_tools\convenience.hpp(71) : error C2780: 'boost::_bi::bind_t<R,boost::_mfi::mf8<R,T,B1,B2,B3,B4,B5,B6,B7,B8>,_bi::list_av_9<A1,A2,A3,A4,A5,A6,A7,A8,A9>::type> boost::bind(R (__thiscall T::* )(B1,B2,B3,B4,B5,B6,B7,B8),A1,A2,A3,A4,A5,A6,A7,A8,A9)' : expects 10 arguments - 3 provided
C:\RmOgreExporter\boost_1_33_1\boost\bind\bind_mf_cc.hpp(211) : see declaration of 'boost::bind'
../../include\wrapper_tools\convenience.hpp(71) : error C2780: 'boost::_bi::bind_t<R,boost::_mfi::cmf7<R,T,B1,B2,B3,B4,B5,B6,B7>,_bi::list_av_8<A1,A2,A3,A4,A5,A6,A7,A8>::type> boost::bind(R (__thiscall T::* )(B1,B2,B3,B4,B5,B6,B7) const,A1,A2,A3,A4,A5,A6,A7,A8)' : expects 9 arguments - 3 provided
C:\RmOgreExporter\boost_1_33_1\boost\bind\bind_mf_cc.hpp(198) : see declaration of 'boost::bind'
../../include\wrapper_tools\convenience.hpp(71) : error C2780: 'boost::_bi::bind_t<R,boost::_mfi::mf7<R,T,B1,B2,B3,B4,B5,B6,B7>,_bi::list_av_8<A1,A2,A3,A4,A5,A6,A7,A8>::type> boost::bind(R (__thiscall T::* )(B1,B2,B3,B4,B5,B6,B7),A1,A2,A3,A4,A5,A6,A7,A8)' : expects 9 arguments - 3 provided
C:\RmOgreExporter\boost_1_33_1\boost\bind\bind_mf_cc.hpp(187) : see declaration of 'boost::bind'
And it goes on like this for a lot of errors before giving up (more than 100 errors, aborting compilation). I didn't use Boost before and don't know it at all. Does anybody knows about these errors ? Do you know how I can fix this ?
I just installed Service pack 1 and nothing changed. Is it possible that the 2003 compiler doesn't work with that Boost part (seems impossible to me), should I try with the 2005 Express ?
Maybe I should try another Boost version ? Has anybody succeeded in rebuilding the plugin ?