Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi,
 
I am building ACE + TAO 6.0.1 for windows using cygwin and the ACE makefiles with visual studio 2008 compiler.
 
Everything is fine and dandy except for the debug versions - first the linker couldn't find msvcr90d so I added is to the path, but now the error is that is can't find the manifest files for tao_idl.exe and gperf
 
error R6304:
An application has made an attempt to load the C runtime library without using a manifest. This is an unsupported way to load Visual C++ DLLs. You need to modify your application to build with a manifest. For more information, see the "Visual C++ Libraries as Shared Side-by-Side Assemblies" topic in the product documentation.

so the question is - how do I set an environment variable is cygwin to point to the manifest file or where should I put them (I tried with msvc90d and with the exe files)
 
Thank you,
Eran
Posted 16-May-11 22:12pm
Edited 16-May-11 22:13pm
v2
Comments
walterhevedeich at 17-May-11 3:14am
   
removed pre tags

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

I think you need a file similar to the following with the same name as your project and the extension .manifest:
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestversion="1.0">
  <assemblyidentity>
    type="win32"
    name="your project name"
    processorArchitecture="x86"
    version="1.0.0.0"
    />
  <description>your description here.</description>
</assemblyidentity>
</assembly>
  Permalink  
v2
Comments
Albert Holguin at 17-May-11 10:04am
   
See OP's new comment (posted as solution)
Member 7919447 at 17-May-11 10:13am
   
Hi,
yeah, I know.
I have it.
problem is the linker or whoever, can't find it.
I am trying to embed the manifest using "mt -manifest bla.manifest -outputresource:bla.exe" but that doesn't seem to work either.
Richard MacCutchan at 17-May-11 10:51am
   
I think you need some extra option on your link command; take a look at the manifest section on MSDN at http://msdn.microsoft.com/en-us/library/f2c0w594(VS.80).aspx. I have not tried to do this manually as it is always managed by my Visual Studio system, and I have not used cygwin for a number of years.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 575
1 Kornfeld Eliyahu Peter 409
2 Maciej Los 369
3 DamithSL 196
4 OriginalGriff 188
0 OriginalGriff 6,353
1 DamithSL 4,854
2 Maciej Los 4,476
3 Kornfeld Eliyahu Peter 4,058
4 Sergey Alexandrovich Kryukov 3,917


Advertise | Privacy | Mobile
Web02 | 2.8.141220.1 | Last Updated 17 May 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100