chdkptp is currently meant to run against lua 5.1
Right, I compiled lua 5.1 from source, then IM, then CD and then IUP, all against 5.1. Now, when running make on your chdkptp project, I get those errors.
If they are actually from lua 5.2 (which appears likely, I don't see any references to them in 5.1), then you've done something wrong building CD, because the 5.1 library shouldn't have any references to 5.2 functions. This might be caused if it found the lua 5.2 headers while building for 5.1, or something like that.
Incorrect color overlay in version 215, the rest works great.
The following might help me correct it:
1) a "quick dump" with palette displayed in CHDK (misc, draw palette)
2) a picture (taken with another camera, cell phone etc ok) of the actual camera screen with the palette displayed.
-Viewfinder 1:1 checked - results in extension of Viewfinder window x2 (twice) in horizontal only.
That's what it does. On cameras with a 480 line viewport (like the g12) the stretched version will be approximately correct.
-Overlay 1:1 checked - extend only grid lines twice in horizontal position.From 2 vertical lines remain only 1.Not Viefinder window.
Don't understand. If you aren't using fit, it will make the overlay 2x wider. This should either be 2x too wide for the screen (assuming you don't have viewport 1:1 checked), or correct, depending on your camera.
-Overlay Fit checked - No reaction

This should always make the overlay exactly fit in the view window. If it's already correct (depends on the 1:1 settings) then you will see no change.
-Scale for A/R checked - extend Viewfinder window 10 mm bottom side down.
The question is, did it look correct ? You can test it like this
- connect to the camera, switch to rec, enable ui overlay
- check both "Overlay fit" and "Scale for A/R"
- make sure you have some identifiable UI on the screen (like the AF frame rectangle when you have AF frame set to center)
- disconnect. The image will now be frozen on the screen
- aim the camera at the screen. If everything is correct, the UI on the screen will almost perfectly line up with the ui on the camera.
With shoot button I'v made 2 short 20 seconds video clips recorded on SD card.
All is very stable and waiting only to be corrected Overlay colors for SX130IS.
ffdshow info: see attached picture.
Don't understand how this relates to chdkptp.