Hi,
I get this error when trying to connect from CHDKPTP (Linux GUI host 2.9) to compiled CHDK on my G7X2:
connected: Canon PowerShot G7 X Mark II, max packet size 512
update_mode_list failed compile error
ERROR: compile error
It just prints more ERROR: compile error lines if I try to click any buttons.
This is even when I haven't changed any code but just compiled it straight. Works fine for prebuilt CHDK though.
No warnings or errors about PTP during compilation. Am using GCC 10.2.0
Any ideas of what the cause could be? Might try using an older version of GCC tomorrow if that is likely to be the cause.
This might happen if the CHDK/modules/lua.flt was not present, or not from the correct build.
What happens if you try to run a Lua script on the camera, or from the chdkptp prompt like
=return 1
Does any output appear in the onscreen CHDK console?
Do other modules, such as the CHDK file browser or text reader work?
Is your local code modified at all?