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

Re: [E-devel] opengl evas engine build error



The diff fixes the error in evas_gl_gradient.c, but now a new error appears in evas_x_main.c:

 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I. -I../../../../src/lib -I../../../../src/lib/include -I../../../../src/modules/engines/gl_common -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include -O2 -march=pentium4 -mfpmath=sse -msse2 -fomit-frame-pointer -pipe -MT evas_x_main.lo -MD -MP -MF .deps/evas_x_main.Tpo -c evas_x_main.c  -fPIC -DPIC -o .libs/evas_x_main.o
evas_engine.c:147: error: `engine_context_render_op_get' undeclared here (not in a function)
evas_engine.c:147: error: initializer element is not constant
evas_engine.c:147: error: (near initialization for `eng_func.context_render_op_get')
evas_engine.c: In function `eng_font_draw':
evas_engine.c:1219: warning: passing arg 3 of `evas_common_draw_context_font_ext_set' from incompatible pointer type
evas_engine.c:1219: warning: passing arg 4 of `evas_common_draw_context_font_ext_set' from incompatible pointer type
evas_engine.c:1219: warning: passing arg 5 of `evas_common_draw_context_font_ext_set' from incompatible pointer type
make[5]: *** [evas_engine.lo] Error 1



jose_ogp@juno.com wrote:
I'm getting the following error when attempting to build evas:
.....
.....
evas_gl_gradient.c:37: error: conflicting types for
'evas_gl_common_gradient_data_unset'
evas_gl_common.h:191: error: previous declaration of
'evas_gl_common_gradient_data_unset' was here
evas_gl_gradient.c: In function
`_evas_gl_common_gradient_texture_build':
evas_gl_gradient.c:209: error: request for member `map'
in something not a structure or union
make[5]: *** [evas_gl_gradient.lo] Error 1


I got around this with USE="-opengl" emerge evas, but I figured
I should bring it to everyone's attention.  ;)

-- 
Mike Russo

      
  Yes, thanks. I will send the fix a bit later.

   jose.
    
    Attached is a diff that should fix this..

    jose.
  


-- 
Mike Russo
ReadQ Systems, Inc.
(212) 425 3680 x105

Random quote of the last-time-I-ran-bash:
The audacious nature of Muad'dib's actions may be seen in the fact that He knew 
from the beginning whither He was bound, yet not once did He step aside from 
that path. He put it clearly when He said: "I tell you that I come now to my 
time of testing when it will be shown that I am the Ultimate Servant."
Thus He weaves all into One, that both friend and foe may worship Him.
It is for this reason and this reason only that His Apostles prayed: "Lord,
save us from the other paths which Muad'dib covered with the Waters of His Life."
Those "other paths" may be imagined only with the deepest revulsion.

  -- from The Yiam-el-Din (Book of Judgment)