When trying to build your client code there appears to be a missing file pcre.h.
You are including the wrong files in your client code.
DO NOT #include StdAfx.h from the Liquid Redist folder as it will cause this issue.
You should only need to #include Liquid Runtime headers for Liquid types that you need to use. E.g. #include "DateTime.h" if your generated code has a Method that returns a DateTime class.