[Solved] fxh compilation fail

Hi,

I’m trying to compile a shader which uses a fxh file. The pipeline tool gives me this error

D:\Documents\Sources\C3DE\C3DE.Content\FX\ShadowMap.fxh(51,2): error X3000: syntax error: unexpected token ‘#’

This is the my fxh file

https://github.com/demonixis/C3DE/blob/master/C3DE.Content/FX/ShadowMap.fxh#L51

And the effect which uses it

https://github.com/demonixis/C3DE/blob/master/C3DE.Content/FX/StandardEffect.fx#L1

It worked some month ago, do I need to change something?

Thanks

Make sure your .fxh file ends with a newline character.

Yep it works !! Thank you