elima / GFreenect

GFreenect is a wrapper for the Freenect library written using Glib in order to control a Kinect device and make it easy to use with GNOME technologies.
http://www.joaquimrocha.com/2012/01/20/announcing-gfreenect/
GNU Lesser General Public License v3.0
36 stars 11 forks source link

Make error #4

Closed bajo closed 11 years ago

bajo commented 12 years ago

Hi,

I'm trying to compile GFreenect on xubuntu 11.10 with the instruction from http://openkinect.org/wiki/GLib_Wrapper . After the make command I get the following results.

$ make make all-recursive make[1]: Entering directory /home/bajo/Diplomarbeit/Kinect/GFreenect' Making all in gfreenect make[2]: Entering directory/home/bajo/Diplomarbeit/Kinect/GFreenect/gfreenect' glib-genmarshal --body \ --prefix=gfreenect_marshal gfreenect-marshal.list > gfreenect-marshal.c glib-genmarshal --header \ --prefix=gfreenect_marshal gfreenect-marshal.list > gfreenect-marshal.h make all-am make[3]: Entering directory `/home/bajo/Diplomarbeit/Kinect/GFreenect/gfreenect' CC libgfreenect-0.1_la-gfreenect-frame-mode.lo gfreenect-frame-mode.c: In function 'gfreenect_frame_mode_set_from_native': gfreenect-frame-mode.c:132:3: error: unknown type name 'freenect_frame_mode' gfreenect-frame-mode.c:134:27: error: request for member 'resolution' in something not a structure or union gfreenect-frame-mode.c:135:29: error: request for member 'video_format' in something not a structure or union gfreenect-frame-mode.c:136:29: error: request for member 'depth_format' in something not a structure or union gfreenect-frame-mode.c:138:23: error: request for member 'bytes' in something not a structure or union gfreenect-frame-mode.c:139:22: error: request for member 'width' in something not a structure or union gfreenect-frame-mode.c:140:23: error: request for member 'height' in something not a structure or union gfreenect-frame-mode.c:141:31: error: request for member 'data_bits_per_pixel' in something not a structure or union gfreenect-frame-mode.c:142:39: error: request for member 'padding_bits_per_pixel' in something not a structure or union gfreenect-frame-mode.c:144:27: error: request for member 'framerate' in something not a structure or union make[3]: *\ [libgfreenect-0.1_la-gfreenect-frame-mode.lo] Error 1

I have installed the freenect packages from the ubuntu repositories. Am I missing something obvious ?

Thanks. Markus

tom3p commented 11 years ago

Same error message from make here, but 7 months later on Ubuntu 12.04.1 . Could someone address this issue please?

guijemont commented 11 years ago

I had the same problem, that I solved by installing a more recent version of libfreenect.

tom3p commented 11 years ago

On 11/06/2012 09:07 AM, Guillaume Emont wrote:

I had the same problem, that I solved by installing a more recent version of libfreenect.

— Reply to this email directly or view it on GitHub https://github.com/elima/GFreenect/issues/4#issuecomment-10113719.

Hey! thanks for the reply! what version did you have success with? I have libfreenect0.1 and have the libfreenect-bin, -dev -doc -demos and python-freenect all version 1:0.1.2+dfsg-6~nd10.04+1

I could look for source and build the version you have

regards TomP

guijemont commented 11 years ago

On Wed, Nov 07, 2012 at 08:52:50AM -0800, tom3p wrote:

what version did you have success with? I have libfreenect0.1 and have the libfreenect-bin, -dev -doc -demos and python-freenect all version 1:0.1.2+dfsg-6~nd10.04+1

I built it from sources, got it from git and took the revision corresponding to the v0.1.2 tag.

tom3p commented 11 years ago

On 11/07/2012 11:34 AM, Guillaume Emont wrote:

On Wed, Nov 07, 2012 at 08:52:50AM -0800, tom3p wrote:

what version did you have success with? I have libfreenect0.1 and have the libfreenect-bin, -dev -doc -demos and python-freenect all version 1:0.1.2+dfsg-6~nd10.04+1

I built it from sources, got it from git and took the revision corresponding to the v0.1.2 tag.

— Reply to this email directly or view it on GitHub https://github.com/elima/GFreenect/issues/4#issuecomment-10157241.

thx, i just built libfreenect successfully but the gfreenect ./autogen.sh fails, i need libs >=2.8 and this ubuntu 10.04 only goes as high as 2.4.1 :( but am putting together an ubuntu 12.04 which should have the 2.8 gio gobject gthread & glib libraries thx very much

elima commented 11 years ago

Seems it was a dependency version problem. Closing now as it seems this is already solved. Feel free to reopen if find new issues. Thanks.