Closed juanitotc closed 2 years ago
Will check.
Yes, I see the problem. The functions in question are lacking a prototype in the header files. At least one of them (weed_layer_get_type) is now in the header. I'll check the remaining ones. It seems like my compiler (gcc 9.3.0) ignores this, so it might be a new feature added in gcc 10.
Yes in fact all of the functions referenced are now in header files. colourspace.h, effects-weed.h and alarms.h.
If you want to patch it, just copy the function prototypes from the github version into the header files. 3.2.0 didn't have alarms.h, so that one can go in main.h if you like.
Thanks.
I now get:
In file included from widget-helper.c:9:
main.h:473:1: error: expected specifier-qualifier-list before 'typedef'
473 | typedef int lives_alarm_t;
Does alarms.h need to go in a particular place in main.h?
Note also that I tried to compile the latest git, but:
main.c: In function 'lives_init':
main.c:2205:5: error: 'orig_err' undeclared (first use in this function)
Somehow my comment got squished, so again:
The orig_error line should be surrounded by #ifdef ENABLE_JACK / #endif The typedef error is most probably because of a typo somewhere. You dont need to include all of alarms.h, just the one line in question.
I think it makes more sense for me to try and build from cloning the latest git, so I'll stop here with this thread.
Fixed in git.
Building LiVES-3.2.0 using gcc-10.2 on an RPi4 fails with: