Tutorial 8- Generating Calib.XML using ALVAR

Jan 30, 2010 at 11:33 PM

Hi there,

While not a Goblin XNA specific question, I hope it is okay to ask here nonetheless.

I'm trying to use ALVAR with Goblin XNA, but as per the Tutorial 8 example, need a calib.xml file to be able to do so. My understanding is that this file is generated by the "SampleCamCalib" demo that comes with ALVAR. Problem is, I can't compile the code from the samples.

I get an error for a missing dll (alvar120.dll) even though it's referenced into the project. I've been working on this with a teammate for a couple days and we're pulling our hair out. We may have overlooked something, but in our somewhat limited programming experience can't see it.

Does anyone know if there is a pre-compiled version of the camera calibrator, or any easier way of going about this?
The help would be greatly appreciated.


Jan 31, 2010 at 12:04 AM


Well, we fixed the issue. As it happens the required DLL's had to be in the same directory as the executables.

Pardon the spam. 

Mar 17, 2010 at 9:55 AM

I'm sorry to say all these various libraries are rather new to me. However, I have followed all the stages in the wiki to get GoblinXNA installed and hit a wall as the samplecamconfig executable is crashing just after the two initial setup screens. Am using an XBox 360 LIVE vision web camera, but the calibration sample fails just after the video window is rendered. I have the GLUT, Alvar etc dlls in the same folder but no joy in getting the calibration to work. There are several mentions of a Tutorial 8 but cannot find this anywhere on the site. I am doing this, because some of my undergraduate students want to work with this library. I think they would prefer ARTag to ALVAR, but don't seem to be able to find the ARTag wrapper dll  that is mentioned in your wiki documentation. Any ideas?

Mar 17, 2010 at 5:08 PM

If you're having problem with compiling ALVAR sample projects, please contact VTT directly since I won't be able to fix them.

For ARTagWrapper.dll, it should come with ARTag distribution.