Missing capture.c file on Line 612 when running TouchKitSimple Example

8 views
Skip to first unread message

Jrguenther

unread,
Feb 23, 2010, 1:29:18 PM2/23/10
to va-users
When I try to run the TouchKit example I get an error during load. The
program compiles fine, but fails just after it starts. It gives the
error:

Xcode could not locate source file: "capture.c" (line 612).
Does anyone know what this means?

I have searched the source tree for any reference to a capture.c and
can not find one.

stefan)

unread,
Feb 23, 2010, 6:11:37 PM2/23/10
to va-u...@googlegroups.com
hey jeffrey,

Welcome to the list!

You are right, there is no caputre.c in va and I am not sure why it
would want one. Can you post some more info on the issue. What version
of OSX, Xcode, cmake are you running? Also a screenshot of the error
message would be helpful.

Is the error specific to the tracker? What happens when you comment
out the tracker?

Best,

/stefan

Jrguenther

unread,
Feb 24, 2010, 8:55:52 AM2/24/10
to va-users
Stefan,

It is running on OSX 10.5.
CMake 2.8
Lastest Xcode for 10.5 - 3.1 - I believe. It is on another machine I
don't have access to at the moment.
TouchKit Run Interface

Yes, the code is specific to the tracker. I commented out the line
tracker->selectDevice(0); and the error disappeared.
I did a little digging with some breakpoints and I think the error is
coming from the camera. I was able to trace it back to the tracker
class, but didn't get any further than that. I think it has something
to with the argument that is passed to selectDevice. It is passed a
zero, but if you follow the execution somehow it magically turns to a
1 in the tracker class.

I am new to the va code base, so I might be missing something...

For the sake of comparison, I tested the camera with an OfxTouch
application and it works normally.

When you guys built va did you use the ofxTouch library for the touch
tracking?

Jeffrey


On Feb 23, 6:11 pm, "stefan)" <ste...@nortd.com> wrote:
> hey jeffrey,
>
> Welcome to the list!
>
> You are right, there is no caputre.c in va and I am not sure why it
> would want one. Can you post some more info on the issue. What version
> of OSX, Xcode, cmake are you running? Also a screenshot of the error
> message would be helpful.
>
> Is the error specific to the tracker? What happens when you comment
> out the tracker?
>
> Best,
>
> /stefan
>

stefan)

unread,
Feb 24, 2010, 3:29:48 PM2/24/10
to va-u...@googlegroups.com
hey jeffrey,

> It is running on OSX 10.5.
> CMake 2.8
> Lastest Xcode for 10.5 -  3.1 - I believe. It is on another machine I
> don't have access to at the moment.
> TouchKit Run Interface

What camera are you using? If it's not a Point Grey FireFly chances
are vaTouchkit is not supporting it at the moment and is not yet
failing gracefully. That being said, libdc1394 should work with most
firewire cams but will probably need some tweaking.

> For the sake of comparison, I tested the camera with an OfxTouch
> application and it works normally.

ofxTouch uses quicktime to interface to the cam. For vaTouchkit we
switched to libdc1394 on linux and osx, and the ptgrey firefly API on
windows. The reason being to have better control over aperture, gain,
shutter etc.

> When you guys built va did you use the ofxTouch library for the touch
> tracking?

vaTouchkit has a totally new tracker. And as mentioned, it uses
libdc1394 on linux and osx, and the ptgrey firefly API on windows.

Let me know if you have further questions,
/stefan

Jrguenther

unread,
Feb 25, 2010, 1:53:17 PM2/25/10
to va-users
Stefan,

The camera being used is the:
"Unibrain Fire-i™ BBW 1.3"
It is the one shipped to us when we ordered the TouchKit Run.
I have taken a screen shot, but I don't see a way to attach it.

I have never done any programming with I/O or cameras before. Can you
suggest where to start?

Jeffrey

Reply all
Reply to author
Forward
0 new messages