vigns / slimdx

Automatically exported from code.google.com/p/slimdx
0 stars 0 forks source link

Precompiled headers not being detected? #873

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I opened the latest svn solution in VC++10, corrected the directories for DXSDK 
9 (Summer 2004) & DXSDK 10 (June 2010) in project settings to point to my 
"Program Files (x86)" folder (where they are located), ran a release build, and 
got the following:

1>------ Rebuild All started: Project: Effects11, Configuration: Release-4.0 
x64 ------
1>Build started 6/22/2012 11:17:13 PM.
1>_PrepareForClean:
1>  Deleting file 
"C:\Users\Spectre\Desktop\SlimDX\external\Effects11\x64\Release-4.0\Effects11.la
stbuildstate".
1>InitializeBuildStatus:
1>  Creating 
"C:\Users\Spectre\Desktop\SlimDX\external\Effects11\x64\Release-4.0\Effects11.un
successfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1>  d3dx11dbg.cpp
1>  d3dxGlobal.cpp
1>  EffectAPI.cpp
1>  EffectLoad.cpp
1>  EffectNonRuntime.cpp
1>  EffectReflection.cpp
1>  EffectRuntime.cpp
1>Lib:
1>  Effects11.vcxproj -> 
C:\Users\Spectre\Desktop\SlimDX\external\Effects11\x64\Release-4.0\Effects11.lib
1>FinalizeBuildStatus:
1>  Deleting file 
"C:\Users\Spectre\Desktop\SlimDX\external\Effects11\x64\Release-4.0\Effects11.un
successfulbuild".
1>  Touching 
"C:\Users\Spectre\Desktop\SlimDX\external\Effects11\x64\Release-4.0\Effects11.la
stbuildstate".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:07.04
2>------ Rebuild All started: Project: SlimDX, Configuration: Release-4.0 x64 
------
2>Build started 6/22/2012 11:17:20 PM.
2>_PrepareForClean:
2>  Deleting file 
"C:\Users\Spectre\Desktop\SlimDX\build\x64\Release-4.0\SlimDX.lastbuildstate".
2>InitializeBuildStatus:
2>  Touching 
"C:\Users\Spectre\Desktop\SlimDX\build\x64\Release-4.0\SlimDX.unsuccessfulbuild"
.
2>GenerateTargetFrameworkMonikerAttribute:
2>Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output 
files are up-to-date with respect to the input files.
2>ClCompile:
2>  AssemblyInfo.cpp
2>  Direct3D10Exception.cpp
2>  ResultCode10.cpp
2>  Effect10.cpp
2>  EffectDescription10.cpp
2>  EffectPass.cpp
2>  EffectPassDescription.cpp
2>  EffectPassShaderDescription.cpp
2>  EffectMatrixVariable.cpp
2>  EffectResourceVariable.cpp
2>  EffectScalarVariable.cpp
2>  EffectShaderVariable.cpp
2>  EffectStringVariable.cpp
2>  EffectVariable.cpp
2>  EffectVariableDescription.cpp
2>  EffectVectorVariable.cpp
2>  EffectTechnique.cpp
2>  EffectTechniqueDescription.cpp
2>  EffectPool.cpp
2>  EffectConstantBuffer.cpp
2>  Device10.cpp
2>  DeviceChild10.cpp
2>  GeometryShaderWrapper.cpp
2>  InputAssemblerWrapper.cpp
2>  OutputMergerWrapper.cpp
2>  PixelShaderWrapper.cpp
2>  RasterizerWrapper.cpp
2>  StreamOutputWrapper.cpp
2>  VertexShaderWrapper.cpp
2>  Mesh10.cpp
2>  MeshAttributeRange.cpp
2>  MeshBuffer.cpp
2>  ShaderDescription.cpp
2>  ShaderParameterDescription.cpp
2>  GeometryShader.cpp
2>  VertexShader10.cpp
2>  PixelShader10.cpp
2>  SamplerDescription.cpp
2>  SamplerState.cpp
2>  BlendState.cpp
2>  BlendStateDescription.cpp
2>  DepthStencilOperationDescription.cpp
2>  DepthStencilState.cpp
2>  DepthStencilStateDescription.cpp
2>  RasterizerState.cpp
2>  RasterizerStateDescription.cpp
2>  StateBlock10.cpp
2>  StateBlockMask.cpp
2>  Buffer.cpp
2>  BufferDescription.cpp
2>  VertexBufferBinding.cpp
2>  Sprite10.cpp
2>  SpriteInstance.cpp
2>  Font10.cpp
2>  FontDescription10.cpp
2>  ImageInformation10.cpp
2>  ImageLoadInformation.cpp
2>  Texture1D.cpp
2>  Texture1DDescription.cpp
2>  Texture2D.cpp
2>  Texture2DDescription.cpp
2>  Texture3D.cpp
2>  Texture3DDescription.cpp
2>  ResourceView.cpp
2>  DepthStencilView.cpp
2>  DepthStencilViewDescription.cpp
2>  RenderTargetView.cpp
2>  RenderTargetViewDescription.cpp
2>  ShaderResourceView.cpp
2>  ShaderResourceViewDescription.cpp
2>  StreamOutputBufferBinding.cpp
2>  InputElement.cpp
2>  InputLayout.cpp
2>  Resource10.cpp
2>  ResourceRegion.cpp
2>  TextureLoadInformation10.cpp
2>  Asynchronous.cpp
2>  Counter.cpp
2>  CounterCapabilities.cpp
2>  CounterDescription.cpp
2>  CounterMetadata.cpp
2>  Debug.cpp
2>  Predicate.cpp
2>  Query10.cpp
2>  QueryDescription.cpp
2>  Device10_1.cpp
2>  BlendState1.cpp
2>  BlendStateDescription1.cpp
2>  RenderTargetBlendDescription1.cpp
2>  ShaderResourceView1.cpp
2>  ShaderResourceViewDescription1.cpp
2>  Viewport10.cpp
2>  ComObject.cpp
2>  CompilationException.cpp
2>  Configuration.cpp
2>  PresentStatistics.cpp
2>c:\users\spectre\desktop\slimdx\source\direct3d9\PresentStatistics.h(41): 
error C4430: missing type specifier - int assumed. Note: C++ does not support 
default-int
2>c:\users\spectre\desktop\slimdx\source\direct3d9\PresentStatistics.h(41): 
error C2143: syntax error : missing ',' before '&'
2>..\source\direct3d9\PresentStatistics.cpp(32): error C4430: missing type 
specifier - int assumed. Note: C++ does not support default-int
2>..\source\direct3d9\PresentStatistics.cpp(32): error C2143: syntax error : 
missing ',' before '&'
2>..\source\direct3d9\PresentStatistics.cpp(34): error C2065: 'native' : 
undeclared identifier
2>..\source\direct3d9\PresentStatistics.cpp(34): error C2228: left of 
'.PresentCount' must have class/struct/union
2>          type is ''unknown-type''
2>..\source\direct3d9\PresentStatistics.cpp(35): error C2065: 'native' : 
undeclared identifier
2>..\source\direct3d9\PresentStatistics.cpp(35): error C2228: left of 
'.PresentRefreshCount' must have class/struct/union
2>          type is ''unknown-type''
2>..\source\direct3d9\PresentStatistics.cpp(36): error C2065: 'native' : 
undeclared identifier
2>..\source\direct3d9\PresentStatistics.cpp(36): error C2228: left of 
'.SyncRefreshCount' must have class/struct/union
2>          type is ''unknown-type''
2>..\source\direct3d9\PresentStatistics.cpp(37): error C2065: 'native' : 
undeclared identifier
2>..\source\direct3d9\PresentStatistics.cpp(37): error C2228: left of 
'.SyncQPCTime' must have class/struct/union
2>          type is ''unknown-type''
2>..\source\direct3d9\PresentStatistics.cpp(37): error C2228: left of 
'.QuadPart' must have class/struct/union
2>..\source\direct3d9\PresentStatistics.cpp(38): error C2065: 'native' : 
undeclared identifier
2>..\source\direct3d9\PresentStatistics.cpp(38): error C2228: left of 
'.SyncGPUTime' must have class/struct/union
2>          type is ''unknown-type''
2>..\source\direct3d9\PresentStatistics.cpp(38): error C2228: left of 
'.QuadPart' must have class/struct/union
2>  SwapChainEx.cpp
2>  RawBufferedData.cpp

...

It looks like the project isn't finding my d3d9 headers, even though I've 
double-checked and verified their paths in both explorer and under project 
settings. I have included the project's vcxproj file as an attachment.

Original issue reported on code.google.com by MikeyTee...@gmail.com on 23 Jun 2012 at 6:35

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by Mike.Popoloski on 23 Jun 2012 at 4:53