[Solved] Missing VC++ tools cause an error message when compiling

Feb 21, 2010 at 7:44 AM

Hello together,

when i start the sample application i get follow error message for all projects in this solution:

Fehler	1	The command ""%PROGRAMFILES%\Microsoft SDKs\Windows\v7.0\Bin\UICC.exe"  "C:\Users\Lars\Desktop\RibbonLib_v2.0\Samples\01-AddingRibbonSupport\RibbonMarkup.xml" "C:\Users\Lars\Desktop\RibbonLib_v2.0\Samples\01-AddingRibbonSupport\RibbonMarkup.bml" /res:"C:\Users\Lars\Desktop\RibbonLib_v2.0\Samples\01-AddingRibbonSupport\RibbonMarkup.rc"
"%PROGRAMFILES%\Microsoft SDKs\Windows\v7.0\Bin\rc.exe" /v "C:\Users\Lars\Desktop\RibbonLib_v2.0\Samples\01-AddingRibbonSupport\RibbonMarkup.rc"
cmd /c "("C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\..\..\VC\bin\vcvars32.bat") && ("C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\..\..\VC\bin\link.exe" /VERBOSE /NOENTRY /DLL /OUT:"C:\Users\Lars\Desktop\RibbonLib_v2.0\Samples\01-AddingRibbonSupport\bin\Debug\01-AddingRibbonSupport.ribbon.dll" "C:\Users\Lars\Desktop\RibbonLib_v2.0\Samples\01-AddingRibbonSupport\RibbonMarkup.res")"
" exited with code 1.	01-AddingRibbonSupport
I use Windows7 68Bit and Visual C# 2008 Express Edition. Have anyone an idea why i get this message? 
Lars
Feb 21, 2010 at 12:34 PM

Hi,

you have to install the Windows 7 SDK!

André

Feb 21, 2010 at 2:25 PM

Thx for your help,

I have now installed the Window 7 SDK and get 2 new error messages

 

First message:

Fehler    3    cannot open input file 'C:\Users\Lars\Desktop\RibbonLib_v2.0\Samples\02-ApplicationMenuButton\RibbonMarkup.res'    C:\Users\Lars\Desktop\RibbonLib_v2.0\Samples\02-ApplicationMenuButton\LINK    02-ApplicationMenuButton

 

Second message:

Fehler    4    The command ""%PROGRAMFILES%\Microsoft SDKs\Windows\v7.0\Bin\UICC.exe" "C:\Users\Lars\Desktop\RibbonLib_v2.0\Samples\02-ApplicationMenuButton\RibbonMarkup.xml" "C:\Users\Lars\Desktop\RibbonLib_v2.0\Samples\02-ApplicationMenuButton\RibbonMarkup.bml" /res:"C:\Users\Lars\Desktop\RibbonLib_v2.0\Samples\02-ApplicationMenuButton\RibbonMarkup.rc"
"%PROGRAMFILES%\Microsoft SDKs\Windows\v7.0\Bin\rc.exe" /v "C:\Users\Lars\Desktop\RibbonLib_v2.0\Samples\02-ApplicationMenuButton\RibbonMarkup.rc"
cmd /c "("C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\..\..\VC\bin\vcvars32.bat") && ("C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\..\..\VC\bin\link.exe" /VERBOSE /NOENTRY /DLL /OUT:"C:\Users\Lars\Desktop\RibbonLib_v2.0\Samples\02-ApplicationMenuButton\bin\Debug\02-ApplicationMenuButton.ribbon.dll" "C:\Users\Lars\Desktop\RibbonLib_v2.0\Samples\02-ApplicationMenuButton\RibbonMarkup.res")"
" exited with code 1181.    02-ApplicationMenuButton

Lars

 

 

 

Coordinator
Feb 21, 2010 at 9:39 PM

Check this discussion, probably the problem is related to 64bit:

http://windowsribbon.codeplex.com/Thread/View.aspx?ThreadId=77456

Apr 14, 2010 at 9:11 AM

Hello,

I have exactly the same problem as LarsThorwald described.
It is not caused by 64bit in my case, because I'm running XPsp2 x86.

Have you got any idea how to solve this?

Thanks,

Julo

Apr 14, 2010 at 10:55 AM

Solved,

I didn't have c++ tools installed (in VS and SDK7). And I also didn't have XmlLite.dll, parser required by uicc.exe

Now ii does work!