They all fail to build because none of them can find 'stm8s.h'
The problem seems to be that STVD has nowhere to specify project-specific include paths
Are these Projects actually supposed to work with Raisonance at all?
If not, then why is there a Raisonance folder provided?
Why is this not mentioned in the Discovery user manual?
3.1 STM8S standard firmware library
... All these examples are provided with workspace and project definition files for STVD and Cosmic C compiler to allow loading and compiling them easily into you development environment.
The Raisonance is not yet supported in the STM8 touch sensing libraries, but a new release should correct this very soon.
Note that there is an application note on the Raisonance Web site that documents how to port Cosmic applications to Raisonance.
It's mostly a matter of syntax, so the changes are easy. Only the inline assembly parts have to be rewritten a little bit
Adding the inlcude directories to the project is easy as well (once you understand how the ST libraries are structured ;^)
Retrieving data ...