|"Convert to a C/C++ project" missing [message #895446]
||Fri, 13 July 2012 00:46
| mary ann tailor
Registered: July 2012
I am trying to make a hybrid java/c++ project to use the android ndk.|
following a tutorial, I am using eclipse juno for java developers, have downloaded all the cdt software, android sdk, ndk and cygwin.
now the tutorial says i should go project -> new -> "Convert to a C/C++ project" but that doesn't exist in my menu.
i have downloaded eclipse for c/c++ which ahs this functionality. but then, my project there is already a c/c++ project and all tutorials specify using eclipse for java with android and using the "Convert to a C/C++ project" function to make it a hybrid project.
could I be missing some software installation to get this functionality?
my core problem is that while i can make my android project talk to a native class, when i include second class, the header is included but the according c++ file is never fed to the compiler. i tried that with #error which worked fine in the header files but not in the c++ files.
I have tried the same c++ project in visual studio where it references the files fine so i can rule out wrong referencing in the code. I have also tried it with a very simple 2 class project and it is the same. the header file is ok but the cpp file is never compiled which means i can not use any functionality of those classes
i have a lot of these errors when compiling:
undefined reference to `foo::getBar()'
so i have actually two questions: first, how do i get "Convert to a C/C++ project" to show up and secondly, would that be the reason why my c++ files are not compiled or am I missing something else there?
any help is greatly appreciated as this is driving me crazy now...
Powered by FUDForum
. Page generated in 0.07676 seconds