[C++-sig] helloworld example compiles and passes test but wont run on its own

David Abrahams dave at boostpro.com
Fri Jul 11 17:06:14 CEST 2008


on Thu Jul 10 2008, FoxMulder900 <foxmulder900-AT-yahoo.com> wrote:

> David Abrahams-3 wrote:
>> 
>> 
>> The extension module was probably deleted when the test passed.  Try
>> passing "-a --preserve-test-targets" next time you invoke bjam (you can
>> drop the -a thereafter).
>> 
>> 
>
> Ok thats a step closer - thank you - however now I am getting an error when
> it trys to import hello_ext:
>
> ImportError: DLL load failed: The specified module could not be found.
>
> I copied hello.py into the folder with the .pyd, .lib, .manifest etc... but
> there are no DLLs

OK, you probably need to set up your PYTHONPATH.  I suggest you run bjam
with "-n -a", capture the output, and see what commands are being issued
to run the test.  

HTH,

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



More information about the Cplusplus-sig mailing list