[Sidefx-houdini-list] Static Boost.Python on Windows
frederic.servant at gmail.com
Wed Mar 26 12:31:15 EDT 2014
Thanks for taking the time to answer.
- Are the dll's and .pyd files in the same directory (in the PYTHON_PATH)
> as the .py and .pyc files?
I'm trying to do a static build, so no boost .dlls here, just a pyd, that
is in the PYTHONPATH. It works fine on Linux, just not on Windows.
> - are you building with the same version of boost that Houdini ships with?
> - which python did you build against? The one Houdini ships with - or a
> system python? (Check Python environment?)
I am building and linking against Python that ships with Houdini, and I
have to build separate modules for each Python version that ships with a
particular build of Houdini.
> I built PIL recently on windows (with mingw) and that worked. Not exactly
> sure if these apply to a boost.python build though...
I kind of gave up boost.python for now, and I'm trying my luck with SWIG.
> Good Luck!
> On 18 March 2014 18:54, Frederic Servant <frederic.servant at gmail.com>
> > Hi,
> > Sorry for the lame question, but I'm out of ideas.
> > As anybody succeeded in creating a python module with a static
> > on Windows and import it in Houdini?
> > It works fine on Linux (and I suspect on OSX) but on Windows I'm getting
> > this error when I import my module in Hython or in the Houdini Python
> > shell:
> > ImportError: DLL load failed: Invalid access to memory location
> > Surely I must be missing something silly, does it ring a bell for
> > Cheers,
> > --
> > Fred
> > _______________________________________________
> > Sidefx-houdini-list mailing list
> > Sidefx-houdini-list at sidefx.com
> > https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list
> Andrew D Lyons | Software Engineer | http://www.linkedin.com/in/tstex
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
More information about the Sidefx-houdini-list