Note: you need to set SAGA_LOCATION and point it to your SAGA installation prefix in order to compile there code examples.