XNA Creators Club Online
community forums
Page 1 of 1 (2 items)
Sort Posts: Previous Next

error x3025

Last post 05-10-2008 2:49 AM by Bjoern Graf. 1 replies.
  • 05-09-2008 9:06 PM

    error x3025

    Currently I am using Windows Vista and using Microsoft Visual Studio C++ 2008. I wrote a program using the DirectX March 2008 SDK to test out the cartoon shader I learned and I get this error:

    "error x3025: global variables are implicitly constant, enable compatability mode to allow modification"

    I looked up on the compatability mode and tried it out on the visual studio .exe and still no go. Has anyone else received this error and is there a known solution? Any help will be appreciated.

  • 05-10-2008 2:49 AM In reply to

    Re: error x3025

    Assuming the error is raised by fxc compatibility mode means the /Gec command line option (or the D3DXSHADER_ENABLE_BACKWARDS_COMPATIBILITY flag for the D3DXAssembleShader* functions), not Windows compatibility mode. The error indicates that you are modifying one or more global variables, which is not supported by the HLSL compiler anymore.

    We are boki. The rest is known.
    The not so known part of the rest: It is Björn or Bjoern, but never Bjorn.
    Björn does not stalk John Sedlak
Page 1 of 1 (2 items) Previous Next