Page MenuHomePhabricator

recent addition of gestures breaks linking on Windows
Closed, ResolvedPublic

Description

Here are some of the link errors (there's a lot of them !)

lib\evas\gesture\.libs\libevas_la-efl_canvas_gesture.o: In function `efl_gesture_events_interface_get':
D:\Documents\msys2\home\vtorri\gitroot\efl2\build\src/../src/lib/evas/gesture/efl_gesture_events.eo.c:41: multiple definition of `efl_gesture_events_interface_get'
lib\evas\gesture\.libs\libevas_la-efl_canvas_gesture_touch.o:D:\Documents\msys2\home\vtorri\gitroot\efl2\build\src/../src/lib/evas/gesture/efl_gesture_events.eo.c:41: first defined here
lib\evas\gesture\.libs\libevas_la-efl_canvas_gesture.o:efl_canvas_gesture.c:(.rdata$_EFL_EVENT_GESTURE_ZOOM+0x0): multiple definition of `_EFL_EVENT_GESTURE_ZOOM'
lib\evas\gesture\.libs\libevas_la-efl_canvas_gesture_touch.o:efl_canvas_gesture_touch.c:(.rdata$_EFL_EVENT_GESTURE_ZOOM+0x0): first defined here
lib\evas\gesture\.libs\libevas_la-efl_canvas_gesture.o:efl_canvas_gesture.c:(.rdata$_EFL_EVENT_GESTURE_FLICK+0x0): multiple definition of `_EFL_EVENT_GESTURE_FLICK'
lib\evas\gesture\.libs\libevas_la-efl_canvas_gesture_touch.o:efl_canvas_gesture_touch.c:(.rdata$_EFL_EVENT_GESTURE_FLICK+0x0): first defined here
lib\evas\gesture\.libs\libevas_la-efl_canvas_gesture.o:efl_canvas_gesture.c:(.rdata$_EFL_EVENT_GESTURE_MOMENTUM+0x0): multiple definition of `_EFL_EVENT_GESTURE_MOMENTUM'
lib\evas\gesture\.libs\libevas_la-efl_canvas_gesture_touch.o:efl_canvas_gesture_touch.c:(.rdata$_EFL_EVENT_GESTURE_MOMENTUM+0x0): first defined here

etc...

vtorri created this task.May 14 2019, 6:22 AM
vtorri triaged this task as Showstopper Issues priority.
zmike added a subscriber: woohyun.
vtorri added a comment.EditedMay 20 2019, 4:47 AM

not sure, but in efl_canvas_gesture_private.h, there is the inclusion of a source file :

#include "efl_gesture_events.eo.c"

sould not it be the header file instead ? At least with the header file, there are less link errors