Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2008-06-27 11:16:29


Tony May wrote:
> Thanks, sorry I'm a beginner with Python.
>
> I'm still having trouble importing when I run in Python. The hello world
> program
> gives the following error about loading the dll.
>
> first the test from running bjam.
> ...patience...
> ...found 1915 targets...
> ...using 1 temp target...
> ...updating 2 targets...
> ...using <pbin\msvc-8.0express\debug\threading-multi>hello_ext.pyd...
> capture-output bin\hello.test\msvc-8.0express\debug\threading-multi\hello
> 1 file(s) copied.
> **passed** bin\hello.test\msvc-8.0express\debug\threading-multi\hello.test
> ...updated 2 targets...
>
> then trying to run the script from python
> I copied the pyd file and the rest of the output dir to c:\python25\dlls
>
> C:\Program Files\boost\boost_1_35_0\libs\python\example\tutorial>python
> hello.py
>
> Traceback (most recent call last):
> File "hello.py", line 6, in <module>
> import hello_ext
> ImportError: DLL load failed: This application has failed to start
> because the a
> pplication configuration is incorrect. Reinstalling the application may
> fix this
> problem.

Tony,

Sorry I can't lead you through the steps here right now. I suggest you
post this question on the C++-sig
(http://www.boost.org/community/groups.html#cplussig), where more
people, who may have more time than I do, know the answers. Better yet,
this isn't really a C++-specific question, so you might try the
comp.lang.python newsgroup.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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