[sword-devel] Building Python binding to Sword on Windows returns exit code 1
Greg Hellings
greg.hellings at gmail.com
Fri May 9 17:16:17 MST 2014
Timothy,
I maintain the Python bindings, but we only officially support them through
Swig on Linux and other places and only really through the CMake build
project (and Troy also tries to keep them building through autotools as
well). And while there have been abortive attempts to get Swig C# bindings
going, they never really got off the ground and have since been supplanted
by a newly minted (last month) native C# wrapper that uses C# specific
idioms for its wrapping.
I say all of that so that I can say: the project file you're starting from
is unmanitained. Indeed, until just now, I had no idea it even existed -
and I maintain our Swig bindings! However, I do know that our CMake file
does successfully build the bindings in Linux and Mac OS X. However, our
CMake system does not play perfectly well with the VC generator from CMake
and I would be more than happy to work with you towards getting that up and
going in the hopes that success there can translate to a generated solution
file that will do the correct magic.
On the other hand, if you wish to keep on keeping on through the C# project
solution file you're more than welcome to do so, though. It's long out of
date and unmaintained, so feel free to edit, hack, fix, and prod it as much
as you'd like. If you succeed in building, feel free to submit a patch here
and I'll give a go at mainlining it into the repository.
--Greg
On Fri, May 9, 2014 at 6:59 PM, R Johnson <
ps16thypresenceisfullnessofjoy at gmail.com> wrote:
> I just tried building this again with the new version of Sword (1.7.3) and
> it still doesn't work.
>
> I forgot to mention in my previous e-mail that I have added SWIG to my
> PATH environment variable and set the PYTHON_INCLUDE and PYTHON_LIB
> environment variables as required.
>
> I have also attached the upgrade log that VS2010 created after it
> converted "libsword_pythonsword.vcproj" from the old format to the new one,
> in case it is of any use.
>
> Does anyone have any idea what I am doing wrong? 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/20140509/e7cff08a/attachment.html>
More information about the sword-devel
mailing list