giucam / orbital

A Wayland compositor based on Weston and Qt
GNU General Public License v3.0
158 stars 17 forks source link

undefined symbol "weston_parse_transform" #32

Open Raimun opened 8 years ago

Raimun commented 8 years ago

Hi,

I'm trying to start orbital on an embedded platform. I've managed to cross compile orbital and the patched weston. Weston runs ok using drm-backend but I can't get orbital running. If I try to execute either orbital or orbital-launch binaries I get the error: .../src/compositor/backend.cpp:73] == "Cannot load library /usr/lib/orbital/compositor/backends/libdrm-backend.so: (/usr/lib/westom-1/drm-backend.so: undefined symbol weston_parse_transform)"

I can see that this symbol is on the weston application binary, not on the library, but I don't know how could I link it.

If I set orbital-client as client in ".config/weston.ini" and try to run weston, I have no error messages but the screen goes black and nothing else happens.

Any hint, please?

Regards,

Raimundo Sagarzazu

giucam commented 8 years ago

You can find the definition of weston_parse_transform() in weston's codebase and add WL_EXPORT to it, that should fix it.

Raimun commented 8 years ago

I can see that weston_parse_transform() is in src/weston.c and already has WL_EXPORT attribute on it. Maybe the problem is that I’m building libweston as an executable, not as a library. Could be? This code is on the “/usr/bin/weston” binary, that is not linked to “/usr/bin/orbital”. If so, how should I build libweston or link it to orbital?

Thankyou,

De: Giulio Camuffo [mailto:notifications@github.com] Enviado el: miércoles, 11 de mayo de 2016 7:58 Para: giucam/orbital CC: Raimundo Sagarzazu; Author Asunto: Re: [giucam/orbital] undefined symbol "weston_parse_transform" (#32)

You can find the definition of weston_parse_transform() in weston's codebase and add WL_EXPORT to it, that should fix it.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHubhttps://github.com/giucam/orbital/issues/32#issuecomment-218368992