Re: undefined reference to `eglGetProcAddress'



On 22 March 2013 17:10, HariHara Sudhan <hari emo2 com> wrote:
I tried the latest build . Still having the same problem .
Is there a problem with my cogl build? Maybe?
.libs/libwebkit_clutter-0.so: undefined reference to `eglGetProcAddress'

It's very hard for me to tell you whether you have a problem with your setup, but have you tried building webkit-clutter without webgl support?

Regards,

Tomeu
 
Sent from my Windows Phone

From: Tomeu Vizoso
Sent: 3/20/2013 1:39 PM
To: HariHara Sudhan
Cc: clutter-list gnome org
Subject: Re: undefined reference to `eglGetProcAddress'

On 20 March 2013 08:38, HariHara Sudhan <hari emo2 com> wrote:
I tried with nm utility, libEgl.so has eglGetProcAddress with reference , but libwekit_clutter.so shows this with U flag.
and the function eglProcAddress inside the wekit is exported with KHRONOS_API , so it should've been exported, but its not?
Should i export it somehow?

Well, Cogl should be abstracting the GL* APIs, so you shouldn't have to care about that. We used to do some weird stuff in order to support WebGL and the snapshot you have may still have the problematic code.

As said before, try with a more recent snapshot (I would recommend latest master if you are going to ask for help upstream, to make easier for others to help you).

Regards,

Tomeu



On Wed, Mar 20, 2013 at 12:58 PM, Tomeu Vizoso <tomeu tomeuvizoso net> wrote:
Hello,

On 20 March 2013 06:22, HariHara Sudhan <hari emo2 com> wrote:
I tried compiling webkit snapshot webkit-clutter-1.11.2+20130129+5cf54f3,

having clutter 1.13.2 and mx-2.0,
have egl glx and opengl installed and recognized by webkit.

Disabled egl as backend option , so its installed with opengl and glx backend.


Though this should work, I don't know of anybody that is currently testing webkit-clutter with big GL (only with GLES2), so there may be bugs lingering. I would also recommend using a more recent version.
 
CCLD Programs/unittests/testdomdocument
./.libs/libwebkit_clutter-0.so: undefined reference to `eglGetProcAddress'
collect2: error: ld returned 1 exit status

For debugging this kind of linker errors, I recommend reading this page and getting familiar with the tools mentioned:

https://techbase.kde.org/Development/Tutorials/Debugging_Linker_Errors

Regards,

Tomeu



--
Regards

HariHaraSudhan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]