[sword-devel] Problem with Intros

2014-10-06 Thread Manfred Bergmann
Hi. Since once of the larger refactorings in SWORD my code for retrieving mod, book, chapter introductions doesn't work anymore. So I've tried to adapt according to introtest.cpp. But I can only get it to work for book introductions. Chapter and module doesn't work. This basically is the code

[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,

Re: [sword-devel] Problem with Intros

2014-10-06 Thread Troy A. Griffitts
Hi Manfred, I am not sure if this has anything to do with your problems but the code snippet you sent uses the old methodology of constructing a standalone VerseKey and using setPersist, which has been deprecated due to av11n. When you construct an instance of VerseKey standalone like that,