1005 - Unsupported node type in '%s'.
(Node: '%s', Type: '%s')

Description
A Function references a previously defined node, but that node is of a type that cannot be sensibly handled in the context of said Function. For example, an Executable can link previously defined libraries, but not Unity nodes.
Example
Config:
Unity( 'MyUnity' ) { .UnityInputPath = 'Code/' .UnityOutputPath = 'tmp/' } Executable( 'MyExe' ) { .Libraries = 'MyUnity' // Can't link to unity generated files (they must be compiled) .Linker = 'link.exe' .LinkerOptions = '%1 %2' .LinkerOutput = 'tmp/my.exe' }
Output:
c:\Test\fbuild.bff(6):(1) FASTBuild Error #1005 - Executable() - Unsupported node type in 'Libraries'. (Node: 'MyUnity', Type: 'Unity') Executable( 'MyExe' ) ^ \--here
Fix:
Unity( 'MyUnity' ) { .UnityInputPath = 'Code/' .UnityOutputPath = 'tmp/' } ObjectList( 'MyLib' ) { .Compiler = 'MyCompiler' // Previously defined .CompilerInputUnity = 'MyUnity' .CompilerOutputPath = 'out/' } Executable( 'MyExe' ) { .Libraries = 'MyLib' // Valid input .Linker = 'link.exe' .LinkerOptions = '%1 %2' .LinkerOutput = 'tmp/my.exe' }