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

Trigve Siver trigves at yahoo.com
Thu Aug 23 18:50:12 CEST 2012


> 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