letslego / andar

Automatically exported from code.google.com/p/andar
0 stars 0 forks source link

Problems getting AndARPong working #46

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hey folks,

I am creating an Augmented Reality game on the HTC Desire for my university 
honours project, and I am seriously considering using AndAR.

However when trying to get the AndARPong working as part of my research, I have 
failed!

The first error I came across was that I had to include lib/AndAR.jar
So I simply copied the file from another project, 
Is this correct? 

Because I then get an error saying that 
The method arUtilMatInv(double[], double[]) is undefined for the type ARToolkit 

Could someone please reply to this and help me out?

Thanks Euan Hislop

Original issue reported on code.google.com by b00138...@studentmail.uws.ac.uk on 1 Dec 2010 at 9:11

GoogleCodeExporter commented 8 years ago
Same problem here. I replaced the call to arUtilMatInv (a native method) with a 
call to another method (that only calls arUtilMatInv) that I inserted into my 
ARToolkit class in my copy of the AndAR project, made an own jar out of the 
contents of the AndAR bin directory (which is probably not the right way to get 
a jar from the AndAR project) and used that jar.
So, now it compiles, but I do get only a black screen on my Hero.
This is probably not the right way to do things on several accounts:
   * What is the recommended way of creating AndAR.jar from the AndAR sources?
   * Why is it that the native methods in the ARToolkit class are not visible in other classes? What is the right way to make them visible?
   * Why do I still get a black screen? (Well, probably my fault anyway)
Well, if anyone has any hints to these points, I'd be grateful.
Regards,
  PF

Original comment by fhde...@gmail.com on 16 Oct 2011 at 2:12

GoogleCodeExporter commented 8 years ago
I am facinbg the sam issue, anyone found solution to the above issue?

Original comment by ayat.kha...@gmail.com on 6 Nov 2012 at 2:32

GoogleCodeExporter commented 8 years ago
I found teh solution here 
http://code.google.com/p/andar/issues/detail?can=2&start=0&num=100&q=&colspec=ID
%20Type%20Status%20Priority%20Milestone%20Owner%20Summary&groupby=&sort=&id=51

Original comment by ayat.kha...@gmail.com on 6 Nov 2012 at 2:48