Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » "Convert to a C/C++ project" missing(trying to make a hybrid java /c++ project)
"Convert to a C/C++ project" missing [message #895446] Fri, 13 July 2012 00:46 Go to next message
mary ann tailor is currently offline mary ann tailorFriend
Messages: 1
Registered: July 2012
Junior Member
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 Sad

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...
Re: "Convert to a C/C++ project" missing [message #953216 is a reply to message #895446] Mon, 22 October 2012 04:28 Go to previous message
Hendrick Prasdito is currently offline Hendrick PrasditoFriend
Messages: 1
Registered: October 2012
Junior Member
Try this.
Previous Topic:Invalid overload - error
Next Topic:Problem with right-click behaviour
Goto Forum:

Current Time: Sun Jun 24 15:19:42 GMT 2018

Powered by FUDForum. Page generated in 0.02051 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top