[Spice-devel] inputs_channel.c undefined variable

Mizon Tsai twkid at yahoo.com
Fri Oct 21 00:06:35 PDT 2011


Hi Spice-developers,

What is your favorite OS + IDE combo for doing Spice development? 

I am trying Eclipse Indigo 64bit on Fedora 15 64bit.
Started a new Makefile C/C++ project, and ran a build (using GNU Autotools build) after project setup.
But when opened server/inputs_channel.c file, some variable are still marked as "unresolved" by eclipse. (Even though Build - make all from within Eclipse seems to work fine)


Might someone know the answer to this?  (Or should I trying another OS/IDE setup...?)

Any help would be greatly appreciated (I am hoping to do some performance measurement)
thanks :)
Mizon


________________________________
From: David Jaša <djasa at redhat.com>
To: Mizon Tsai <twkid at yahoo.com>
Cc: spice-devel at lists.freedesktop.org
Sent: Tuesday, October 18, 2011 12:33 AM
Subject: Re: [Spice-devel] inputs_channel.c undefined variable

Mizon Tsai píše v Po 17. 10. 2011 v 23:27 -0700:
> Hi David,
> 
> 
> Thanks for the quick reply.
> 
> 
> I am actually interested in setting up an environment where I can help
> write some test tool for measuring Spice performance.
> 
> 
> I was able to compile successfully, and start a virtual image instance
> with spice enabled through both virt-manager and qemu. 
> 
> 
> Do you know any recommendation on what I should do / what to look for
> in terms resolving my IDE undefined variable issue?
> 
> 
> Also would be great to know what is the default/easiest IDE/OS setup
> to use for getting a spice dev environment setup...
> 

Hi Mizon,

I'm not a developer so I think that you'll get more assistance from
other people on the list...

David
> 
> thanks!
> Mizon
> 
> 
> 
> ______________________________________________________________________
> From: David Jaša <djasa at redhat.com>
> To: Mizon Tsai <twkid at yahoo.com>
> Cc: "spice-devel at lists.freedesktop.org"
> <spice-devel at lists.freedesktop.org>
> Sent: Monday, October 17, 2011 2:11 AM
> Subject: Re: [Spice-devel] inputs_channel.c undefined variable
> 
> Mizon Tsai píše v Ne 16. 10. 2011 v 15:59 -0700:
> > Hi,
> > 
> > 
> > Newbie here trying to setup spice on Fedora 15 (64bit) with Eclipse
> > CDT (8.0.1 Indigo)
> > 
> 
> Hi Mizon,
> 
> If you just want to play with spice, I recommend you to enable
> virt-preview repo that should contain all relevant packages, up2date.
> 
> David
> > 
> > Using the following versions of spice and spice-protocol -
> > spice-0.9.1
> > spice-protocol-0.9.0
> > 
> > 
> > 
> > 
> > For some reason I have 3rd parameter in SPICE_CONTAINEROF undefined
> -
> > "base"
> > 
> > 
> > server/inputs_channel.c
> > void inputs_set_tablet_logical_size(int x_res, int y_res)
> > {
> >    SpiceTabletInterface *sif;
> > 
> > 
> >    sif = SPICE_CONTAINEROF(tablet->base.sif, SpiceTabletInterface,
> > base);
> >    sif->set_logical_size(tablet, x_res, y_res);
> > }
> > 
> > 
> > Was there some header file I missed? 
> > 
> > 
> > thanks!
> > Ming
> > _______________________________________________
> > Spice-devel mailing list
> > Spice-devel at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/spice-devel
> 
> -- 
> 
> David Jaša, RHCE
> 
> SPICE QE based in Brno
> GPG Key:    22C33E24 
> Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24
> 
> 
> 
> 
> 
> 

-- 

David Jaša, RHCE

SPICE QE based in Brno
GPG Key:     22C33E24 
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20111021/bcebc5f1/attachment.htm>


More information about the Spice-devel mailing list