Hi,
can't find any gui_unlock function with grep -r "gui_unlock" in magic-lantern
CONFIG_PYMITE = n
CONFIG_RELOC = n
CONFIG_TIMECODE = n
CONFIG_PTP = y
CONFIG_PTP_CHDK = y
CONFIG_PTP_ML = n
CONFIG_PLUGINS = y
CONFIG_CONSOLE = y
CONFIG_DEBUGMSG = n
I get:
ptp-chdk.o: In function `ptp_handler_PTP_OC_CHDK':
ptp-chdk.c:(.text+0xc4): undefined reference to `gui_unlock'
collect2: ld returned 1 exit status
The other thing is howto compile ptpcam?
I tried to compile ptpcam from "
https://github.com/mweerden/CHDK/zipball/ptp" like mentioned in the wiki.
$ cd tools/ptpcam/
$ make
gcc -o ptpcam myusb.c properties.c ptp.c ptpcam.c -lusb
$ ./ptpcam -L
Listing files...
ERROR: Could not open session!
There is also a patches dir
I tried "patch -p1 < {/path/to/patch/file}" but it didnt't work for me. I don't know how to patch.
Is there anywhere a working ptpcam source code without the need to patch or what I'am doing wrong?
Thanks for any hint or help
...Wolfgang