|
Boost Users : |
Subject: [Boost-users] DLL Load Failed
From: Monde, John (John.Monde_at_[hidden])
Date: 2010-10-19 11:17:25
Hi,
I am having a problem moving my boost python extension to a different
machine than my development machine. On my development machine
everything works great, I can access my C++ classes through python
without any problems but when I copy my .pyd (Python_ext.pyd) to my
target machine I get the error "DLL Load failed The specified module
could not be found" in my Python program when I attempt to import the
.pyd (import Python_ext)
I am using Boost_1_42. The .pyd was built using BJAM and my compiler is
MSVS 2003 and python26. Python26 is on both the development and the
target machine. I had similar problem when I moved my python .pyd
extension module to a different directory on my development machine but
I fixed that by copying the boost dll boost_python-vc71-mt-gd-1_42.dll
to the directory with my .pyd module and it ran great there. I tried to
do the same thing on my target machine. I copied my python program, the
.pyd extension module and the boost DLL
(boost_python-vc71-mt-gd-1_42.dll) to the same directory on my target
machine and still get the same error. Both machines are windows XP.
To test this I am using a simple test C++ class that just receives two
numbers and prints out there sum so I do not believe I am bringing in
any other dlls. I am sure this is a simple problem and I am just missing
it. Any help would be greatly appreciated.
Thanks
John
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net