I am having trouble while running fragment getting the first shader from chapter 6 to compile. I keep getting the errors below, and yet my i don't see any differences in my code from the shader code provided which does compile (other than the second technique). Although I didn't have the second technique written i tried copying it over anyways to no effect. I am wondering if somehow i set it up wrong (using FX composer 2 instead of 1.1 or whatever) but i have no idea since the setup steps were different from the book. Any help would be appreciated.
Error (31): error X4502: invalid input semantic 'POSITION'
Error (100): error X4502: invalid output semantic 'POSITION'
Error (101): error X4502: invalid output semantic 'TEXCOORD0'
Error (102): error X4502: invalid output semantic 'TEXCOORD1'
Error (103): error X4502: invalid output semantic 'TEXCOORD2'
Error (138): ID3DXEffectCompiler::CompileEffect: There was an error
Error ID3DXEffectCompiler: Compilation failed