On Tue, Jul 8, 2008 at 1:39 PM, Yuri Timenkov <[EMAIL PROTECTED]> wrote:
> > > On Tuesday 08 July 2008 15:29:51 Mehdi Rabah wrote: > > Hi Yuri, > > > > CMake generate both .embed.manifest and .intermediate.manifest (but no > > .CRT.manifest). Also, I have added VS 2008 redistribuable DLLs path in my > > %PATH%. > I mean .CRT.manifest is manifest for MSVS CRT dll. For your libraries > manifests have different names, but they should be in same folder as your > dll > after installation. > > I don't know whether CMake embeds manifest or not, because we build our > software with VS2003 :) > > I just encountered such problem once, and to solve this problem I had to > put > not only dll itself to application folder, but also its manifest. 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 ? > > > > > > Thank you also for your previous answers. > > -- > > Mehdi > > > > On Tue, Jul 8, 2008 at 11:47 AM, Yuri Timenkov <[EMAIL PROTECTED]> > > > > wrote: > > > On Tuesday 08 July 2008 13:38:25 Mehdi Rabah wrote: > > > > Hi, > > > > > > > > Does anyone had this error > > > > http://msdn.microsoft.com/en-us/library/ms235560(VS.80).aspx<http://msdn.microsoft.com/en-us/library/ms235560%28VS.80%29.aspx> > <http://msd > > > >n.microsoft.com/en-us/library/ms235560%28VS.80%29.aspx>while using a > DLL > > > > built this cmake? > > > > > > > > My application (also built with cmake) works fine on Release mode, I > > > > get this error only in Debug configuration. In the old project > (visual > > > > studio files only) the application seems to work in debug and release > > > > without problems. I've looked into the compiler options but I didn't > > > > find what could be the key difference. > > > > > > > > Since I switched from linux to windows recently, I'm really confused. > > > > Any ideas on how to find where the problem is coming from? > > > > > > I suppose you use VS 2005? > > > > > > You should put manifest file with your DLL. For example, I have to put > > > "Microsoft.VC80.CRT.manifest" with "msvcr80.dll" to run on systems > > > without MS > > > VS 2005 redistributable runtime installed. > > > > > > > Thanks in advance, > > > > -- > > > > Mehdi > >
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
