Cannot create Eclipse Project | developer.brewmp.com Cannot create Eclipse Project | developer.brewmp.com

Developer

Cannot create Eclipse Project

Hi,
I have followed all the steps reported in the docs for installing the Eclipse plugin and the environment.
However, when I want to create a new project from Eclipse and I click File > New > Project....
I cannot see the "Brew Mobile Platform" node.
What could be wrong?
I can see all the Brew tools in the toolsbar (and I successfully launch the simulator) but I cannot create the project.
Could it be related that I was previously using Visual Studio?
Or what could it be related to?

I would appreciate a prompt help on this.
Thanks,

Diego

The problem is indeed related to the Visual Studio plugin.
Once uninstalled that one, everything is as expected.
Then the question is why there is such a limitation.
Thanks,
Diego

The problem is indeed related to the Visual Studio plugin.
Once uninstalled that one, everything is as expected.
Then the question is why there is such a limitation.
Thanks,
Diego

Hi Diego,
The two plugins are independent of each other. I would as a rule of thumb, if you install a new version of the SDK to uninstall and reinstall each the VS and Eclipse plugins to avoid any confusion. Please let me know if you run into any further issues.
Thanks,
Brian

Hi Diego,
The two plugins are independent of each other. I would as a rule of thumb, if you install a new version of the SDK to uninstall and reinstall each the VS and Eclipse plugins to avoid any confusion. Please let me know if you run into any further issues.
Thanks,
Brian

Hi Brian,
thanks for your reply.
I am now unable to setup breakpoints in Eclipse.
Application compiles and simulator launches properly, but breakpoints don't work.
Is there any particular procedure in order to enable them working or maybe I miss something?
(In the primer I didn't see anything related to this).
Thanks again,
Diego

Hi Brian,
thanks for your reply.
I am now unable to setup breakpoints in Eclipse.
Application compiles and simulator launches properly, but breakpoints don't work.
Is there any particular procedure in order to enable them working or maybe I miss something?
(In the primer I didn't see anything related to this).
Thanks again,
Diego

Hi Diego,
Did you confirm that you have MinGW GNU GDB version 6.8 or newer installed? I just ran a quick project and was able to toggle the CTRL+Shift+B or "Toggle Breakpoint" under "Run". Let me know how this works out for you.
Thanks,
Brian

Hi Diego,
Did you confirm that you have MinGW GNU GDB version 6.8 or newer installed? I just ran a quick project and was able to toggle the CTRL+Shift+B or "Toggle Breakpoint" under "Run". Let me know how this works out for you.
Thanks,
Brian

Hi Brian,
I have installed on my machine the MinGW GNU GDB.
However just to be sure and not to do some mistakes, could you please tell me how to install MinGW GNU GDB version 6.8 or newer?
I downloaded from here the platform independent package and what are the next steps?
In fact the instructions in here don't say much more.
Thanks,
Diego

Hi Brian,
I have installed on my machine the MinGW GNU GDB.
However just to be sure and not to do some mistakes, could you please tell me how to install MinGW GNU GDB version 6.8 or newer?
I downloaded from here the platform independent package and what are the next steps?
In fact the instructions in here don't say much more.
Thanks,
Diego

Hi Diego,
You should be able to download the tar and extract its contents to somewhere like c:\gbd\... Then make sure that eclipse knows where to find it: "Project"+"Properties"+"Run/Debug Settings" and make sure that the gdb.exe is referenced in the GDB Debugger field. That should enable debugging for you.
Thanks,
Brian

Hi Diego,
You should be able to download the tar and extract its contents to somewhere like c:\gbd\... Then make sure that eclipse knows where to find it: "Project"+"Properties"+"Run/Debug Settings" and make sure that the gdb.exe is referenced in the GDB Debugger field. That should enable debugging for you.
Thanks,
Brian

Hi Brian,
I did already the same steps you wrote but still the breakpoints don't work.
For example if I toggle a breakpoint in the EventHandler of the application, it doesn't stop.
From the console output I can see for example the following:
Quote:0-break-insert myFile.c:121
No source file named myFile.c in loaded symbols.
&"No source file named myFile.c in loaded symbols.\n"
20^error,msg="No source file named myFile.c in loaded symbols."
(gdb)
21-exec-run
21^running
(gdb)
~"[New thread 1636.0x1f78]\n"
[New thread 1636.0x1f78]
~"(no debugging symbols found)\n"
(no debugging symbols found)
~"(no debugging symbols found)\n"
(no debugging symbols found)
~"(no debugging symbols found)\n"
(no debugging symbols found)
~"(no debugging symbols found)\n"
(no debugging symbols found)
~"(no debugging symbols found)\n"
(no debugging symbols found)
~"(no debugging symbols found)\n"
...
...
Any suggestions on how to solve this?
Thanks,
Diego

Hi Brian,
I did already the same steps you wrote but still the breakpoints don't work.
For example if I toggle a breakpoint in the EventHandler of the application, it doesn't stop.
From the console output I can see for example the following:
Quote:0-break-insert myFile.c:121
No source file named myFile.c in loaded symbols.
&"No source file named myFile.c in loaded symbols.\n"
20^error,msg="No source file named myFile.c in loaded symbols."
(gdb)
21-exec-run
21^running
(gdb)
~"[New thread 1636.0x1f78]\n"
[New thread 1636.0x1f78]
~"(no debugging symbols found)\n"
(no debugging symbols found)
~"(no debugging symbols found)\n"
(no debugging symbols found)
~"(no debugging symbols found)\n"
(no debugging symbols found)
~"(no debugging symbols found)\n"
(no debugging symbols found)
~"(no debugging symbols found)\n"
(no debugging symbols found)
~"(no debugging symbols found)\n"
...
...
Any suggestions on how to solve this?
Thanks,
Diego

Hi,
I was able to nail the problem down and it is related to the build configuration.
Despite I am setting the active build configuration to be "Win32-Debug" whenever I am launching a debug session the "Win32-Release" configuration is automatically set and this explains why the breakpoints don't work.
The temporary solution was to remove all the configurations and just leave the "Win32-Debug".
This way breakpoints work fine.
The question at this point is how to make Eclipse to correctly honor the active configuration.
Thanks,
Diego

Hi,
I was able to nail the problem down and it is related to the build configuration.
Despite I am setting the active build configuration to be "Win32-Debug" whenever I am launching a debug session the "Win32-Release" configuration is automatically set and this explains why the breakpoints don't work.
The temporary solution was to remove all the configurations and just leave the "Win32-Debug".
This way breakpoints work fine.
The question at this point is how to make Eclipse to correctly honor the active configuration.
Thanks,
Diego

Hi Diego,
Good to hear that you were able to solve this. Eclipse has its own unique behavior. I am working with our Eclipse development team and will try and have them address in our future releases of the Eclipse plugin and environment.
Thanks,
Brian

Hi Diego,
Good to hear that you were able to solve this. Eclipse has its own unique behavior. I am working with our Eclipse development team and will try and have them address in our future releases of the Eclipse plugin and environment.
Thanks,
Brian

Thanks Brian.
I have a further question: which environment Qualcomm recommends for developing? Is it preferable VS or Eclipse?
To be honest, despite I am familiar with Eclipse environment, I don't find it very easy especially as it comes to how to I can organize the code in my own structure.
This is instead easier with VS where all the projects files as well as new dll can be easily created.
Based on this consideration of course you may suggest to use VS, but there is always the license to be purchased which isn't for Eclipse.
What are the suggestions?
I would really appreciate an answer on this and I believe there are other people who would like to have more light on this topic.
Thanks,
Diego

Thanks Brian.
I have a further question: which environment Qualcomm recommends for developing? Is it preferable VS or Eclipse?
To be honest, despite I am familiar with Eclipse environment, I don't find it very easy especially as it comes to how to I can organize the code in my own structure.
This is instead easier with VS where all the projects files as well as new dll can be easily created.
Based on this consideration of course you may suggest to use VS, but there is always the license to be purchased which isn't for Eclipse.
What are the suggestions?
I would really appreciate an answer on this and I believe there are other people who would like to have more light on this topic.
Thanks,
Diego

Hi Diego,
I understand your frustrations with Eclipse, it can be a little annoying at times trying to manage project specific environments. One benefit is that Eclipse does support on-target debugging whereas VS does not. From our take, and you'll see from our documentation, at this point VS tends to be a more widely supported platform. I am more than happy to assist you further with Eclipse, so don't worry about that. You may want to explore the option of an enterprise license for VS or a group of developer licenses. Whichever avenue you decide to persue, we will be here to support you in your on-going development activities.
Thanks,
Brian

Hi Diego,
I understand your frustrations with Eclipse, it can be a little annoying at times trying to manage project specific environments. One benefit is that Eclipse does support on-target debugging whereas VS does not. From our take, and you'll see from our documentation, at this point VS tends to be a more widely supported platform. I am more than happy to assist you further with Eclipse, so don't worry about that. You may want to explore the option of an enterprise license for VS or a group of developer licenses. Whichever avenue you decide to persue, we will be here to support you in your on-going development activities.
Thanks,
Brian

Hi,
I have followed the steps to set up the eclipse plugin, but when i do new project i dont see the bmp option. I can see bmp plugin in the list of eclipse plugins, my bmp sdk is installed in c://program files /qualcomm...the eclipe is in c:/
and migw is in c as well.
any pointers in how to resolve this
thanks
praful

Hi,
I have followed the steps to set up the eclipse plugin, but when i do new project i dont see the bmp option. I can see bmp plugin in the list of eclipse plugins, my bmp sdk is installed in c://program files /qualcomm...the eclipe is in c:/
and migw is in c as well.
any pointers in how to resolve this
thanks
praful

Hi,
While trying to create new project i got following error please help.
The selected wizard could not be started.
Plug-in com.qualcomm.eclipse.plugin.filewizards
was unable to load class com.qualcomm.eclipse.plugin.filewizards.wizards.BrewMPProjectWizard.
An error occurred while automatically activating
bundle com.qualcomm.eclipse.plugin.filewizards (133).
Thanks in advance.
Regards,
Nishant Sinha
Senior Project Associate

Hi,
While trying to create new project i got following error please help.
The selected wizard could not be started.
Plug-in com.qualcomm.eclipse.plugin.filewizards
was unable to load class com.qualcomm.eclipse.plugin.filewizards.wizards.BrewMPProjectWizard.
An error occurred while automatically activating
bundle com.qualcomm.eclipse.plugin.filewizards (133).
Thanks in advance.
Regards,
Nishant Sinha
Senior Project Associate

I found the solution. The problem is wrong version of JRE in system variable.
Thanks.
Nishant Sinha

I found the solution. The problem is wrong version of JRE in system variable.
Thanks.
Nishant Sinha

Hi !
I have the same problem:
No Brew MP tab at Eclipse New Project window.
Which JRE should be used?
Is it ok to use Eclipse Helios, or are the older versions only supported?
Please tell me the version of Eclipse that you use, and is working fine.
Thanks in advance

Hi !
I have the same problem:
No Brew MP tab at Eclipse New Project window.
Which JRE should be used?
Is it ok to use Eclipse Helios, or are the older versions only supported?
Please tell me the version of Eclipse that you use, and is working fine.
Thanks in advance

OK, I solved this problem.
Eclipse Helios is too new, to cooperate with BrewMP plugins.
Eclipse Galileo works fine.
Is there a way to force new Eclipse Helios to work with BrewMP ?

OK, I solved this problem.
Eclipse Helios is too new, to cooperate with BrewMP plugins.
Eclipse Galileo works fine.
Is there a way to force new Eclipse Helios to work with BrewMP ?