[C++-sig] issues with loading the boost_python dll on different computers

Ronny Herzog herzog at mpi-cbg.de
Fri Aug 24 14:27:35 CEST 2012


Thanks Trigve,

I used depends.exe and found out that it was looking for the debug 
version of the msvc runtime library. Compiling my extension in 'release' 
mode - everything worked. :-)

Ronny

Am 8/23/2012 6:50 PM, schrieb Trigve Siver:
>> From: Ronny Herzog <herzog at mpi-cbg.de>
>> To: cplusplus-sig at python.org
>> Cc:
>> Sent: Thursday, August 23, 2012 4:53 PM
>> Subject: [C++-sig] issues with loading the boost_python dll on different computers
>>
>> Dear all,
>>
>> I installed and used boost (1.50.0) to build a python extension on my Windows 7
>> / 32 Bit. Everything worked fine.
>>
>> Now I tried the extension module on other Computers with Windows 7 and Windows
>> XP and the same Python version and it gave me an error concerning the DLL:
>>
>> ** ImportError : DLL load failed: This application has failed to start
>> because the application configuration is incorrect. Reinstalling the
>> application may fix this problem. **
>>
>> Would anyone have a hint on were this problem could come from. I am totally
>> clueless.
>
> Hi, two possible reason from top of my mind:
>
> * Is it possible that you are using debug version of your extension?
> * If you are using VS, have you installed VC redist of *your's VS version* on target PC?
>
> Also try depends.exe to find if you aren't missing any dependencies.
>
>> Thanks a lot,
>> Ronny
>
> Trigve
>




More information about the Cplusplus-sig mailing list