Log in or register to post comments

Porting over to QCAR 0-10-0

January 12, 2011 - 10:35pm #1

Hi,

I have been working on the older version of the SDK all this while and I've just moved on to the newer SDK. I've followed all the steps, but I face a few problems while compiling the Java project. The sample project works fine. That's what baffles me. I have just inserted my code at the relevant areas just as in 0-9-7. During the build process, Eclipse says that:

" Errors running builder 'Integrated External Tool Builder' on project 'Pipe'.
Variable references non-existent resource : ${workspace_loc:/ImageTargets}
Variable references non-existent resource : ${workspace_loc:/ImageTargets}"

Any ideas about this?

Thanks!
Manoj

Re: Porting over to QCAR 0-10-0

February 1, 2011 - 10:12am #9

Oops. you are right for the sample app. It works fine now.

But, I'm facing problems with my own app built on ImageTargets. I thought it was a generic problem, but I guess it's not. I'll look into it deeper. Thanks!

Re: Porting over to QCAR 0-10-0

February 1, 2011 - 9:35am #8

It looks like you're missing one of the shared libraries, either libDominoes.so or libQCAR.so. In Eclipse, expand the libs folder and see what files are under it. If you're missing libDominoes.so then you need to run ndk-build on the command line in the Dominoes project directory, then refresh the project in Eclipse (right-click in the Package Explorer and choose Refresh). If you're missing libQCAR.so then either your builder is set incorrectly (see earlier post) or you haven't set the QCAR_SDK_ROOT Eclipse environment variable (see the Get Started guide Step 2).

You may also want to try cleaning the project, Project > Clean...

- Kim

Re: Porting over to QCAR 0-10-0

February 1, 2011 - 9:25am #7

Hi Kim,

Here's a screenshot. Thanks a lot for your help on this. I've run the Dominoes application for this one.

Thanks!

Re: Porting over to QCAR 0-10-0

January 28, 2011 - 5:46am #6

We're going to need some info from the log files to help with this one. After running your application, open the DDMS perspective in Eclipse and click on your device in the device list. You should be able to see the running log file, look through this for any errors.

- Kim

Re: Porting over to QCAR 0-10-0

January 28, 2011 - 12:14am #5

Hi Kim,

Yep, ur right! Missed out the changes in the Android.mk file.

However, after making these changes there is a problem. I get the error "The application xxxx has stopped unexpectedly. Please try again" on my NexusOne.
The weird thing is that I get this error for every sample project I run (eg. Dominoes).

Any ideas as to why this is occurring?

Thanks,
Manoj

Re: Porting over to QCAR 0-10-0

January 13, 2011 - 11:18am #4

Have you opened up the Android.mk file (in the jni folder) and set the USE_OPENGL_ES_1_1 flag to true?

- Kim

Re: Porting over to QCAR 0-10-0

January 13, 2011 - 11:11am #3

Thanks Kim,

Eclipse doesnt give any problems now.
However, I have one doubt. I have transferred all my code from the old version of ImargeTargets.cpp to the newer one. However, now the gcc compiler doesnt recognize openGL commands (glRotatef, etc etc) in a specific chunk of code.
I sorted this out by just inserting the code between a "#ifdef USE_OPENGL_ES_1_1" and "#endif"

Earlier, in the older version I didn't have to do this. Glad if you could give me your views on this. Facing some problems in triggering the native interface, so not sure if this has anything to do with it.

Thanks!

Re: Porting over to QCAR 0-10-0

January 13, 2011 - 5:37am #2

It looks like you need to change the custom builders to match the name of your project. Right-click on your project in the Package Explorer and choose Properties. Go to the Builders section. Edit the Import QCAR builder for your OS (Win or bash). Replace "ImageTargets" in the Working Directory and Arguments fields with the name of your project in Eclipse.

- Kim

Log in or register to post comments