You see this error because the Code Example uses a bat script in the post built step to create the cyacd file as shown below:
Right click on "post_build_core1.bat" file and open it in an editor. Change the PDL path from 3.1.0 to 3.1.2 as shown below:
Now build the project. It will work as expected
Now it works perfectly! Thank you so much!