Re: [Quickfix-developers] Python issues
Brought to you by:
orenmnero
|
From: Oren M. <or...@qu...> - 2006-09-15 00:18:02
|
> Python will complain that we are not passing enough parameters to the __init__ call of SocketInitiator.=20 Thanks. We'll fix this in the repository. > SWIG wrapper does not seem to generate a Python object > for the Dictionary class. I'm not too sure why. This is because the quickfix.i file is not exposing Dictionary.h. Adding it to the interface file should do the trick. > 3. SWIG output does not compile under Visual Studio There is a bigger problem then the ones you have outlined. Visual Studio is just not capable of compiling the 6MB source file generated by SWIG. I'm not really sure what to do about this. This is why there isn't a visual studio project for the Python or Ruby API. I also explored generating the Java and .NET APIs with swig some time back but ran into the same barrier. SWIG doesn't support splitting up the source file and is not very efficient about preserving size in its generator. It may be possible to exclude enough things to bring the file size down, but I'm not sure how small we would need to get it. Perhaps building the bindings under Cygwin would be a more feasable. |