From: Noel O'B. <no...@ca...> - 2005-12-15 12:11:45
|
How do you regenerate the SWIG interface though? Typing 'make' in scripts doesn't seem to work. On Fri, 2005-12-09 at 11:52 -0800, S Joshua Swamidass wrote: > It works! > > Add this code to the openbabel.i file to add the patch to the .py library file: > > %pythoncode %{ > import sys > import dl > sys.setdlopenflags(sys.getdlopenflags() | dl.RTLD_GLOBAL) > %} > > You may want to add a python snippet to execute this code only if the > architecture is Linux. > > Thanks for the help :) > > Josh > > On 09/12/05, Geoffrey Hutchison <ge...@ge...> wrote: > > > > On Dec 9, 2005, at 12:17 PM, Noel O'Boyle wrote: > > > > > (1) Is Python scripting for Openbabel available in Windows somehow? > > > > I don't have a Windows box to test. I'm also not sure how it would > > link against the Windows OpenBabel DLLs. > > > > > (2) Is it necessary to compile? > > > > Well, I believe you can get DLLs either from the Open Babel windows > > download or from Chris Morley. Certainly you *can* compile on Windows. > > > > > (3) What's the current status of Cygwin/OpenBabel compilation? > > > > So-so. I know the problem, but haven't had the time to fix it or test > > it. > > > > Cheers, > > -Geoff > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click > > _______________________________________________ > > OpenBabel-scripting mailing list > > Ope...@li... > > https://lists.sourceforge.net/lists/listinfo/openbabel-scripting > > |