[Spice-devel] 答复: Re: [spice-common PATCH] build-sys: Define opengl GL_LIBS and GL_CFLAGS in generated Makefile.in

Lin Ma lma at suse.com
Tue Apr 19 05:52:43 UTC 2016



>>> Christophe Fergeau <cfergeau at redhat.com> 2016/4/18 星期一 下午 4:56 >>>
>On Mon, Apr 18, 2016 at 02:28:00AM -0600, Lin Ma wrote:
>> >>> Christophe Fergeau <cfergeau at redhat.com> 2016/4/18 星期一 下午 3:40 >>>
>> >Hey,
>> >
>> >On Mon, Apr 18, 2016 at 03:18:25PM +0800, Lin Ma wrote:
>> >> Because we missed variables GL_LIBS and GL_CFLAGS in generated Makefile.in,
>> >> The linker flag and the compiler flag wont be generated in Makefile.
>> >> It causes spice-gtk building failure with --enable-opengl option.
>> >
>> >Can you give more details about the error you are getting?
>> >I cannot find GL_LIBS/GL_CFLAGS in spice-gtk Makefile.am, and in
>> >spice-common, GL_LIBS and GL_CFLAGS are added SPICE_COMMON_{LIBS,CFLAGS}
>> >which are AC_SUBST'ed.
>> >(for what it's worth, using --enable-opengl is not recommended)
>> I'm doing something about qemu virtio-gpu with spice+opengl.
>> I need the remote-viewer in virt-viewer package to connect a spice+gl unix domain.
>> the virt-viewer with opengl support requires spice-gtk(with opengl enabled).
>
>Hmm wondering if you truly want --enable-opengl (which is an attempt at
>doing client-side canvas drawing with opengl), or if all you need is the
>gtkglarea/epoxy work which got into git master in the last months?
oh, You are right. Actually I dont need "--enable-opengl" option in my case.
 
Thanks!
>>  
......
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20160418/eb3f53b2/attachment.html>


More information about the Spice-devel mailing list