Missing file pcre.h

Problem:
When trying to build your client code there appears to be a missing file pcre.h.

Cause:
You are including the wrong files in your client code.

Resolution:
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.
 
When you generate a project it creates sample makefiles (Makefile_linux and Makefile_Linux64) and a SampleApp project which shows what to include and how to link the projects.
 
A good test is to make and run the SampleApp to show that it works OK on your platform.
 

Add Feedback