Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[build problem] CDT C/C++ eclipse "project facet" buggy? #8

Open
kanawish opened this issue Feb 20, 2012 · 2 comments
Open

[build problem] CDT C/C++ eclipse "project facet" buggy? #8

kanawish opened this issue Feb 20, 2012 · 2 comments

Comments

@kanawish
Copy link
Collaborator

Anyone trying to get that working?

The build for the detector keeps complaining that
"(Cannot run program "/ndk-build.cmd": Unknown reason)"

Now I've traced it to the CDT builder that tries to invoke the ndk build, so is anyone trying to replace the "handmade" builder we've been using over the weekend?

@cesine
Copy link
Collaborator

cesine commented Feb 20, 2012

the ndk-build.cmd is a fossil left over from grassick's windows set-up its in the cproject file. so if you get the CDT set up, then it will start reading your cproject. I will see if i can get my CDT set up and clean up our readme to match the exact instructions needed to get a good eclipse environment set up for the NDK + OpenCV

@cesine
Copy link
Collaborator

cesine commented Feb 22, 2012

@kanawish i found another .cproject in the jni folder. maybe that was what was giving you config problems, or most notably, a windows ndk-build.cmd

I set up the CDT on my machine and now I have code completion and syntax highlighting, but I'm not using any cproject, just a .project and .externalBuilders, nor do I see any c++ facet in my .project.

Since I'm not a C++ programmer I think I'd rather let a C++ programmer judge whether it's set up properly.

On the other hand, it is an Android NDK project, and I can now confirm that its set up straight from the NDK samples and the OpenCV samples, neither one discuss facets or .cprojects Our handmade builder started straight out of the OpenCV instructions... and it still matches their instructions, so we might actually be set up properly, its just you might still have some old garbage files in your directories that are messing up your Eclipse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants