Click here to Skip to main content
11,931,104 members (63,945 online)
Rate this:
Please Sign up or sign in to vote.

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,
Posted 16-May-11 22:12pm
Edited 16-May-11 22:13pm
walterhevedeich 17-May-11 3:14am
removed pre tags

1 solution

Rate this: bad
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">
    name="your project name"
  <description>your description here.</description>
Albert Holguin 17-May-11 10:04am
See OP's new comment (posted as solution)
Member 7919447 17-May-11 10:13am
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 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 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
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.151126.1 | Last Updated 17 May 2011
Copyright © CodeProject, 1999-2015
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