Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » Compiling scripts 4.0 error (microsoft sdk issue)
Compiling scripts 4.0 error (microsoft sdk issue) [message #467076] Sun, 06 May 2012 03:33 Go to next message
BillieJoe67 is currently offline  BillieJoe67
Messages: 35
Registered: March 2012
Karma: 0
Recruit
I downloaded the scripts_VC2010 project from tiberiantechnologies and when I try to compile the solution, I get a the same error for all the projects except memorymanager.

The error is:
1>------ Build started: Project: scripts, Configuration: Release SSGM Win32 ------
1>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1200,9): warning : The referenced project '..\console\console.vcxproj' does not exist.
1>C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.Targets(1200,9): warning : The referenced project '..\shaders\shaders.vcxproj' does not exist.
1>  General.cpp
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\objidl.h(11280): error C2061: syntax error : identifier '__RPC__out_xcount_part'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\objidl.h(11281): error C2059: syntax error : ')'
1>c:\program files (x86)\microsoft sdks\windows\v7.0a\include\objidl.h(11281): fatal error C1903: unable to recover from previous error(s); stopping compilation
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========

Other info:
running 64-bit windows 7 with 32 bit visual c++ 2010 express

Any suggestions on how to fix the problem?

p.s. Anyone know how I can apply an include directory to the whole solution in visual c++ 2010? (Having to the directx sdk to every project is annoying)
Re: Compiling scripts 4.0 error (microsoft sdk issue) [message #467081 is a reply to message #467076] Sun, 06 May 2012 09:06 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
First search result in Google...

http://connect.microsoft.com/VisualStudio/feedback/details/499940/error-c2061-sy ntax-error-identifier-rpc-out-xcount-part

Seriously, took me all of 5 seconds to find it, why don't you try searching before posting on the forums?





BillieJoe wrote on Sun, 06 May 2012 11:33


p.s. Anyone know how I can apply an include directory to the whole solution in visual c++ 2010? (Having to the directx sdk to every project is annoying)


To apply an include directory globally load any c++ project, go to View->Property Manager, it will load (by default) in the right hand sidebar. Click the + next to your C++ project and one of its build configurations, right click on Microsoft.Cpp.Win32.user and choose properties. Add your global includes / library paths / whatever to the VC Directories section and hit OK. Done Wink Would be nice if Microsoft hadn't made that so damned hard to find these days, it was much eaiser when it was in main options...

Microsoft.Cpp.Win32.user is the global project defaults for all Visual Studio C++ projects and all projects will inherit any settings you define in here, unless they override them with their own values.


http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Sun, 06 May 2012 09:13]

Report message to a moderator

Re: Compiling scripts 4.0 error (microsoft sdk issue) [message #467186 is a reply to message #467076] Wed, 09 May 2012 09:34 Go to previous message
BillieJoe67 is currently offline  BillieJoe67
Messages: 35
Registered: March 2012
Karma: 0
Recruit
Ah, I searched for the filename too, must be where I went wrong.

Thanks for the other answer, helped solving the first question.

Merci beaucoup
Previous Topic: brenbot 1.53 help
Next Topic: brenbot unban help
Goto Forum:
  


Current Time: Thu Mar 28 07:47:14 MST 2024

Total time taken to generate the page: 0.00619 seconds