[sword-devel] Best Windows compiler to use to make Python bindings to Sword?

Jonathan Morgan jonmmorgan at gmail.com
Tue Feb 25 19:01:17 MST 2014


Hi Timothy,

On Wed, Feb 26, 2014 at 6:24 AM, rj_qgsous_sword <
rj_qgsous_sword at objectmail.com> wrote:

> Thank you for your helpful answers. I had been attempting to use CMake to
> build a Visual Studio 2008 project and make the SWIG bindings. Now I
> understand why that didn't work.
>
> Also, I now have some more questions:
>
>    1. @Jon You mentioned that you used the Visual Studio project for C#
>    in the bindings/swig/vstudio directory. Does this mean that I need to use
>    Visual Studio C# instead of Visual Studio C++? I'm somewhat confused about
>    this, since I thought that SWIG and Python would need Visual Studio C++
>    rather than C#.
>
> This is going from memory, but I think I would have modified it to work
with Python rather than C#, and I think as a result it would only have
needed VC++, not VC#.

>
>    1. I am thinking that I might be switching soon from Python 2 to
>    Python 3. So I was also wondering if it is possible to build the SWIG
>    bindings for Python 3? If I understand correctly, SWIG claims to have
>    Python 3 support. If I were to switch to Python 3, I suppose I would then
>    want to use Visual Studio 2010, since that is what Python 3 is built with.
>
> I don't know if anyone has used SWORD with Python 3.  I certainly haven't.
But yes, I would always recommend using the same compiler as was used to
build the Python runtime.

Jon

>  Thank you.
>
> -- Timothy
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20140226/93424eef/attachment-0001.html>


More information about the sword-devel mailing list