[sword-devel] Sword Python bindings for Windows - SUCCESS

2014-10-09 Thread R Johnson
Yay! I finally got the Sword Python bindings for Windows built tonight. Like Ben said, I just needed to define the macro SWUSINGDLL and it all worked. Thanks to everyone (especially Greg Hellings and the Morgan brothers) who helped me along the way. I still have a long way to go, as now I

[sword-devel] Sword Python bindings for Windows

2014-10-06 Thread R Johnson
I also tried changing the command in step 3 (setup.py build) to use libsword.lib rather than sword.lib by replacing the lines in the setup.py file: setup(name='sword',version='1.7.3', libraries=[('sword')], with: setup(name='libsword',version='1.7.3',

Re: [sword-devel] Sword Python bindings for Windows

2014-10-06 Thread Troy A. Griffitts
I could be completely off base here but I believe that those lines are looking for sword.dll, not sword.lib or libsword.lib. On October 7, 2014 2:02:36 AM CEST, R Johnson ps16thypresenceisfullnessof...@gmail.com wrote: I also tried changing the command in step 3 (setup.py build) to use

Re: [sword-devel] Sword Python bindings for Windows

2014-10-06 Thread Ben Morgan
I think those items are all the data definitions. I've run into errors like that before. If you are buildings Sword itself as a DLL, you need to define the macro SWUSINGDLL while compiling the C++ bindings code for it all to work. I forget exactly how you change setup.py to make it do that,

[sword-devel] Sword Python bindings for Windows

2014-10-03 Thread R Johnson
Thanks for the suggestion, Nic. I don't think it would work to use cygwin, because I have to use the same compiler that Python is built with on Windows to be able to build the SWIG bindings, but maybe I should look into building Sword without ICU. I corresponded with Greg Hellings, and he