Log in or register to post comments

TrackerBehaviour.cs Import Errors

July 22, 2011 - 10:33pm #1

I imported the QCAR packages into an empty Unity 3.x project. The TrackerBehaviour script has numerous errors:

(Filename: Assets/Qualcomm Augmented Reality/Scripts/TrackerBehaviour.cs Line: 479)

Assets/Qualcomm Augmented Reality/Scripts/TrackerBehaviour.cs(476,9): error CS1502: The best overloaded method match for `TrackerBehaviour.updateQCAR(System.IntPtr, int, System.IntPtr, int, System.IntPtr, int, int)' has some invalid arguments

(Filename: Assets/Qualcomm Augmented Reality/Scripts/TrackerBehaviour.cs Line: 476)

Assets/Qualcomm Augmented Reality/Scripts/TrackerBehaviour.cs(476,9): error CS1503: Argument `#7' cannot convert `object' expression to type `int'

(Filename: Assets/Qualcomm Augmented Reality/Scripts/TrackerBehaviour.cs Line: 476)

Assets/Qualcomm Augmented Reality/Scripts/TrackerBehaviour.cs(481,12): error CS0117: `UnityEngine.GL' does not contain a definition for `InvalidateState'

(Filename: Assets/Qualcomm Augmented Reality/Scripts/TrackerBehaviour.cs Line: 481)

Assets/Qualcomm Augmented Reality/Scripts/TrackerBehaviour.cs(729,56): error CS0117: `UnityEngine.Screen' does not contain a definition for `orientation'

(Filename: Assets/Qualcomm Augmented Reality/Scripts/TrackerBehaviour.cs Line: 729)

Assets/Qualcomm Augmented Reality/Scripts/TrackerBehaviour.cs(728,9): error CS1502: The best overloaded method match for `TrackerBehaviour.getProjectionGL(float, float, System.IntPtr, int)' has some invalid arguments

(Filename: Assets/Qualcomm Augmented Reality/Scripts/TrackerBehaviour.cs Line: 728)

Assets/Qualcomm Augmented Reality/Scripts/TrackerBehaviour.cs(728,9): error CS1503: Argument `#4' cannot convert `object' expression to type `int'

Suggestions?
-

New
-----

I tried changing the line endings which got rid of most of the errors. The rest I hard coded out just to make it run.

Maybe a complete ready to go project without the importing?

Re: TrackerBehaviour.cs Import Errors

July 23, 2011 - 7:16am #2

You shouldn't have to muck w/ the format. Is it possible that you've imported a package intended for another OS?

Also when you imported the QCAR packages, did that include the one named QCAR-1.0.0 ?

Log in or register to post comments