[CMake] DLL runtime error R6034

Bill Hoffman bill.hoffman at kitware.com
Tue Jul 8 09:41:06 EDT 2008


Mehdi Rabah wrote:

> 
> Ok thanks, maybe I should use VS 2005 (I use the express version and 
> 2003 is not available anymore).
> 
> I have all the right manifest files in the output folder (they are 
> generated by cmake, I didn't have to do anything), but I still have this 
> problem.
> 
> Any other ideas? How could I embed a manifest file in my DLL using cmake ?
> 
>  
CMake automatically embeds manifest in your application.  The trick is 
the distribution of the MS run time libraries.  For that you have to use 
the .manifest files and dll's provided by MS.  There is a module 
InstallRequiredSystemLibraries.cmake that will install those libraries 
with your application.

-Bill


More information about the CMake mailing list