ARToolKit | Mailing List Archive |
![]() |
From: | Stephen Crampton <stevec@c ........> | Received: | Jul 3, 2003 |
To | artoolkit@h .................. | ||
Subject: | Trouble Building in Linux | ||
I get the following and am not sure what the problem is -- I seem to missing some files. Is there any documentation for the Linux distribution, in particular what packages I need installed to make the ARToolkit build? I'm running Red Hat 9. Thanks, Stephen --------------------------------------------------------------- In file included from ../../../include/AR/video.h:27, from gsubUtil.c:12: ../../../include/AR/sys/videoLinuxDV.h:24:22: libdv/dv.h: No such file or directory In file included from ../../../include/AR/video.h:27, from gsubUtil.c:12: ../../../include/AR/sys/videoLinuxDV.h:47: parse error before "dv_decoder_t" ../../../include/AR/sys/videoLinuxDV.h:47: warning: no semicolon at end of struct or union ../../../include/AR/sys/videoLinuxDV.h:49: parse error before '}' token ../../../include/AR/sys/videoLinuxDV.h:49: warning: data definition has no type or storage class In file included from gsubUtil.c:12: ../../../include/AR/video.h:53: parse error before '*' token ../../../include/AR/video.h:53: warning: data definition has no type or storage class ../../../include/AR/video.h:54: parse error before '*' token ../../../include/AR/video.h:55: parse error before '*' token ../../../include/AR/video.h:56: parse error before '*' token ../../../include/AR/video.h:57: parse error before '*' token ../../../include/AR/video.h:58: parse error before '*' token ../../../include/AR/video.h:59: parse error before '*' token make[2]: *** [../../libARgsubUtil.a(gsubUtil.o)] Error 1 make[2]: Leaving directory `/home/stevec/ARToolKit2.60/lib/SRC/Gl' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/stevec/ARToolKit2.60/lib/SRC' make: *** [all] Error 2 |
From: | Robert Hinn <exodus@o ........> | Received: | Jul 4, 2003 |
To | artoolkit@h .................. | ||
Subject: | Re: Trouble Building in Linux | ||
I'm not sure which version of ARToolkit you are using. I think the newer versions contain a "Configure" script, which you should run before compiling (making) the ARToolkit. The script should ask you what kind of video input device you are using, etc. Also, do you have the linux kernel sources installed? As far as I know, the video library that the Linux version of the ARToolkit uses is part of the kernel sources... Hope this helps, Robert. Stephen Crampton schrieb: > I get the following and am not sure what the problem is -- I seem to > missing some files. Is there any documentation for the Linux > distribution, in particular what packages I need installed to make the > ARToolkit build? > > I'm running Red Hat 9. > > Thanks, > Stephen > > --------------------------------------------------------------- > > In file included from ../../../include/AR/video.h:27, > from gsubUtil.c:12: > ../../../include/AR/sys/videoLinuxDV.h:24:22: libdv/dv.h: No such file or > directory > In file included from ../../../include/AR/video.h:27, > from gsubUtil.c:12: > ../../../include/AR/sys/videoLinuxDV.h:47: parse error before > "dv_decoder_t" > ../../../include/AR/sys/videoLinuxDV.h:47: warning: no semicolon at end of > struct or union > ../../../include/AR/sys/videoLinuxDV.h:49: parse error before '}' token > ../../../include/AR/sys/videoLinuxDV.h:49: warning: data definition has no > type or storage class > In file included from gsubUtil.c:12: > ../../../include/AR/video.h:53: parse error before '*' token > ../../../include/AR/video.h:53: warning: data definition has no type or > storage class > ../../../include/AR/video.h:54: parse error before '*' token > ../../../include/AR/video.h:55: parse error before '*' token > ../../../include/AR/video.h:56: parse error before '*' token > ../../../include/AR/video.h:57: parse error before '*' token > ../../../include/AR/video.h:58: parse error before '*' token > ../../../include/AR/video.h:59: parse error before '*' token > make[2]: *** [../../libARgsubUtil.a(gsubUtil.o)] Error 1 > make[2]: Leaving directory `/home/stevec/ARToolKit2.60/lib/SRC/Gl' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/home/stevec/ARToolKit2.60/lib/SRC' > make: *** [all] Error 2 > > > |
From: | Stephen Crampton <stevec@c ........> | Received: | Jul 6, 2003 |
To | artoolkit@h .................. | ||
Subject: | Re: Trouble Building in Linux | ||
Thanks to all who responded! As many of you guessed, I needed to install libdv. Next, when I tried to ./Configure and make ARToolKit, I got a few errors. These appear to be due to changes in the libdv functions since ARToolKit2.60. Making the following changes in video.c seemed to help: 171c171 < if( (vid->dv_decoder = dv_decoder_new()) == 0 ) { --- > if( (vid->dv_decoder = dv_decoder_new(0,0,0)) == 0 ) { 175c175 < dv_init(); --- > dv_init(0,0); Now, simpleTest2 gives me an image from my Sony Handicam, which is cool! Now, I need to explore what else is here. Again, thanks! Stephen |