ARToolKit | Mailing List Archive |
![]() |
From: | Marina Oikawa <nina_oikawa@y ...........> | Received: | Feb 19, 2006 |
To | Comunidade ARToolKit <artoolkit@h ..................> | ||
Subject: | Unable to set up AR camera | ||
--0-229760100-1140392140=:7187 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi all, I am trying to compile the ARToolkit source code, but when I execute it, I get the following error: Camera image size (x,y) = (320,240) demoARSetupCamera(): Error loading file Data/camera_para.dat for camera. main(): Unable to set up AR camera. And so, the application exits. However, if I go to the ARToolKit directory and execute the simplevrmld.exe it works. Have you ever had a problem like this? I am using the 2.71.2 version... Thanks for your help... Marina --------------------------------- Yahoo! Acesso Grátis Internet rápida e grátis. Instale o discador agora! --0-229760100-1140392140=:7187 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi all,<br> <br> I am trying to compile the ARToolkit source code, but when I execute it, I get the following error:<br> <br> Camera image size (x,y) = (320,240)<br> demoARSetupCamera(): Error loading file Data/camera_para.dat for camera.<br> main(): Unable to set up AR camera.<br> <br> And so, the application exits. However, if I go to the ARToolKit directory and execute the simplevrmld.exe it works. Have you ever had a problem like this?<br> I am using the 2.71.2 version...<br> <br> Thanks for your help...<br> <br> Marina<br> <br> <p> <hr size=1> Yahoo! Acesso Grátis <br> Internet rápida e grátis. <a href="http://us.rd.yahoo.com/mail/br/tagline/homepage_set/*http://br.acesso.yahoo.com">Instale o discador agora!</a> --0-229760100-1140392140=:7187-- |
From: | Marina Oikawa <nina_oikawa@y ...........> | Received: | Feb 20, 2006 |
To | Comunidade ARToolKit <artoolkit@h ..................> | ||
Subject: | Re: Unable to set up AR camera | ||
--0-1852267706-1140404451=:78728 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Thanks for your reply... And yes... I have this file in the indicated path, and if I go to the ARToolKit directory and execute the simplevrmld.exe it works. The problem just happens when I open the solution, compile it and so run it by a development enviroment, like Visual Studio, for example. And I really would like to change its source code, so it is a problem... Another idea about what could be this problem? []'s Marina Daniel Wagner <daniel@i ...............> escreveu: Marina Oikawa wrote: > Camera image size (x,y) = (320,240) > demoARSetupCamera(): Error loading file Data/camera_para.dat for camera. > main(): Unable to set up AR camera. as the error already says, artoolkit does not find the camera parameter file - called 'data/camera_para.dat' in your case. make sure there is a file data/camera_para.dat relative to your execution path. Daniel --------------------------------- Yahoo! Acesso Grátis Internet rápida e grátis. Instale o discador agora! --0-1852267706-1140404451=:78728 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Thanks for your reply...<br> <br> And yes... I have this file in the indicated path, and if I go to the ARToolKit directory and execute the simplevrmld.exe it works. The problem just happens when I open the solution, compile it and so run it by a development enviroment, like Visual Studio, for example. And I really would like to change its source code, so it is a problem...<br> <br> Another idea about what could be this problem?<br> <br> []'s<br> Marina<br><br><b><i>Daniel Wagner <daniel@i ...............></i></b> escreveu:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Marina Oikawa wrote:<br><br>> Camera image size (x,y) = (320,240)<br>> demoARSetupCamera(): Error loading file Data/camera_para.dat for camera.<br>> main(): Unable to set up AR camera.<br><br>as the error already says, artoolkit does not find the camera parameter<br>file - called 'data/camera_para.dat' in your case.<br>make sure there is a file data/camera_para.dat relative to your<br>execution path.<br><br>Daniel<br><br></blockquote><br><p> <hr size=1> Yahoo! Acesso Grátis <br> Internet rápida e grátis. <a href="http://us.rd.yahoo.com/mail/br/tagline/homepage_set/*http://br.acesso.yahoo.com">Instale o discador agora!</a> --0-1852267706-1140404451=:78728-- |
From: | Daniel Wagner <daniel@i ...............> | Received: | Feb 20, 2006 |
To | ARToolkit <artoolkit@h ..................> | ||
Subject: | Re: Unable to set up AR camera | ||
Marina Oikawa wrote: > Camera image size (x,y) = (320,240) > demoARSetupCamera(): Error loading file Data/camera_para.dat for camera. > main(): Unable to set up AR camera. as the error already says, artoolkit does not find the camera parameter file - called 'data/camera_para.dat' in your case. make sure there is a file data/camera_para.dat relative to your execution path. Daniel |
From: | Daniel Wagner <daniel@i ...............> | Received: | Feb 20, 2006 |
To | Comunidade ARToolKit <artoolkit@h ..................> | ||
Subject: | Re: Unable to set up AR camera | ||
Marina Oikawa wrote: > And yes... I have this file in the indicated path, and if I go to the > ARToolKit directory and execute the simplevrmld.exe it works. The > problem just happens when I open the solution, compile it and so run > it by a development enviroment, like Visual Studio, for example. And I > really would like to change its source code, so it is a problem... So this is not specificaly about ARToolKit, but rather basic VisualStudio project settings. You have to set the correct execution path so that VisualStudio knows in which folder to execute your program. If you do not specify a folder VisualStudio will use the folder where your solution file is stored in. Assuming you are using VS.NET 2003 do: -> Project Properties (of the main executable) -> Debugging -> Working Directory bye, Daniel |
From: | Marina Oikawa <nina_oikawa@y ...........> | Received: | Feb 20, 2006 |
To | Comunidade ARToolKit <artoolkit@h ..................> | ||
Subject: | Re: Unable to set up AR camera | ||
--0-2105738857-1140471598=:13579 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Thanks a lot for your reply Daniel... It really was the problem... Now it works :) []'s Marina Daniel Wagner <daniel@i ...............> escreveu: Marina Oikawa wrote: > And yes... I have this file in the indicated path, and if I go to the > ARToolKit directory and execute the simplevrmld.exe it works. The > problem just happens when I open the solution, compile it and so run > it by a development enviroment, like Visual Studio, for example. And I > really would like to change its source code, so it is a problem... So this is not specificaly about ARToolKit, but rather basic VisualStudio project settings. You have to set the correct execution path so that VisualStudio knows in which folder to execute your program. If you do not specify a folder VisualStudio will use the folder where your solution file is stored in. Assuming you are using VS.NET 2003 do: -> Project Properties (of the main executable) -> Debugging -> Working Directory bye, Daniel --------------------------------- Yahoo! Acesso Grátis Internet rápida e grátis. Instale o discador agora! --0-2105738857-1140471598=:13579 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Thanks a lot for your reply Daniel... It really was the problem... Now it works :)<br> <br> []'s<br> Marina<br><br><b><i>Daniel Wagner <daniel@i ...............></i></b> escreveu:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Marina Oikawa wrote:<br><br>> And yes... I have this file in the indicated path, and if I go to the<br>> ARToolKit directory and execute the simplevrmld.exe it works. The<br>> problem just happens when I open the solution, compile it and so run<br>> it by a development enviroment, like Visual Studio, for example. And I<br>> really would like to change its source code, so it is a problem...<br><br>So this is not specificaly about ARToolKit, but rather basic<br>VisualStudio project settings.<br><br>You have to set the correct execution path so that VisualStudio knows in<br>which folder to execute your program. If you do not specify a folder<br>VisualStudio will use the folder where your solution file is stored in.<br><br>Assuming you are using VS.NET 2003 do:<br>-> Project Properties (of the main executable)<br>-> Debugging<br>-> Working Directory<br><br>bye,<br>Daniel<br><br></blockquote><br><p> <hr size=1> Yahoo! Acesso Grátis <br> Internet rápida e grátis. <a href="http://us.rd.yahoo.com/mail/br/tagline/homepage_set/*http://br.acesso.yahoo.com">Instale o discador agora!</a> --0-2105738857-1140471598=:13579-- |