error RC1106: invalid option: -ologo_RC
-
Wednesday, October 21, 2009 9:19 PMHi I converted a solution from VS2008 to VS2010 Beta2 and many of the projects are giving me the error:
Error 1000 error RC1106: invalid option: -ologo
However none of them should be even using the Resource Compiler as far as I know. Also I don't know of any "-ologo" option anyway. I know there is a deprecated "nologo" optiion.
Any suggestions?
Thanks,
Ben
All Replies
-
Thursday, October 22, 2009 4:50 PM
Hi, brogall,
I ran into this problem as well when I tried to convert a VS2005 project to a VS2010 Beta 2 project on my Vista laptop. It turned out in my case that it had nothing to do with the conversion. If I created a simple Win32 Console "HelloWorld" project using VS2010 Beta 2, it would build and run just fine in Release mode but it gave me the RC error in Debug mode.
I am away from my laptop atm and working from my (very volatile!) memory, so the paths I'm going to give you may not be exact. But, I had to change my VC++ directories from using "C:\Program Files\Microsoft SDKs\Windows\v6.1\" to "C:\Program Files\Microsoft SDKs\Windows\v7.0A\". I'll try to double-check the paths this evening, but hopefully that will be enough to get you going.
HTH!
Sent- Proposed As Answer by Sentient Seeker Saturday, October 24, 2009 3:13 PM
-
Thursday, October 22, 2009 5:37 PM
Hi, Brogall, like Sent has mentioned above, you are using 6.x version of SDK which has a version of RC.exe with no support for switch -nologo. You can swtich your SDK to 7.0A verion like Sent has suggested above. Please let us know if you do have reasons to stay with 6.x version of SDK.
Li Shao, MSFT
Li Shao- Marked As Answer by Marian LuparuMicrosoft Employee, Moderator Saturday, October 24, 2009 1:27 AM
-
Thursday, October 22, 2009 8:26 PMThat was it! Thank you so much Sentient Seeker and Li Shao.
Ben -
Thursday, October 22, 2009 10:44 PMGreat! Glad that it worked out for you. :)
Sent -
Wednesday, August 11, 2010 1:42 PMWhat do I have to do, if I want to use the SDK 6.x?
-
Wednesday, December 29, 2010 9:31 AMI already added in the include directories what Sent suggested, but the error is still there. Any workarounds on this issue? Thanks!
-
Tuesday, January 04, 2011 7:28 PM
Do you still have the problem? If you do, you can also copy and paste the content of the .vcxproj file to the forum and I can take a look. Or you can send email to lishao AT microsoft.com.
Li Shao, MSFT
Li Shao

