Yocto Eclipse Plugin


Bipnesh, Abhinav (Abhinav) <abhinavbipnesh@...>
 

Hi All,

I am trying to setup the Yocto Eclipse Plugin for Eclipse (Luna release). I am able to install the Juno release plugin for 1.7.1 release. But while configuring it I am facing issues as below
1. When I try to provide BitBake directory as part of tool chain I get an error that need to build meta-ide-support before configuring it.
As I did build meta-ide-support before setting up the path as I can see an environment file present under <bitbake machine directory>/tmp path.
2. If I select Standard SDK option then it accepts the same i.e. it accept environment file present under tmp directory as vaild which I suppose it should not do.
3. I already has Makefile based project which I am trying to configure in eclipse by selecting Yocto as Toolchain.
But when I try to build it I am seeing its using platform GCC instead of Yocto tool chain.
How to fix the same as I cant change this project to an CMake based project.

Is there as way I can use Kepler plugin instead of Juno as when I try the same with Luna I am getting dependencies errors.

Thanks,
Abhinav


Minchev, Todor <todor.minchev@...>
 

Hello Abhinav,

On Mon, 2015-04-13 at 18:27 +0000, Bipnesh, Abhinav (Abhinav) wrote:
Hi All,

I am trying to setup the Yocto Eclipse Plugin for Eclipse (Luna release). I am able to install the Juno release plugin for 1.7.1 release. But while configuring it I am facing issues as below
1. When I try to provide BitBake directory as part of tool chain I get an error that need to build meta-ide-support before configuring it.
As I did build meta-ide-support before setting up the path as I can see an environment file present under <bitbake machine directory>/tmp path.
You will need to provide the path to the build directory. This is the
directory holding tmp.

2. If I select Standard SDK option then it accepts the same i.e. it accept environment file present under tmp directory as vaild which I suppose it should not do.
3. I already has Makefile based project which I am trying to configure in eclipse by selecting Yocto as Toolchain.
But when I try to build it I am seeing its using platform GCC instead of Yocto tool chain.
Selecting the correct directory should set up the cross-compiler
environment and fix this.


How to fix the same as I cant change this project to an CMake based project.

Is there as way I can use Kepler plugin instead of Juno as when I try the same with Luna I am getting dependencies errors.
You can find the plugin releases here:
http://downloads.yoctoproject.org/releases/eclipse-plugin/

Cheers,
Todor


Bipnesh, Abhinav (Abhinav) <abhinavbipnesh@...>
 

Hi,

 

I was using the same URL as you suggested for the Yocto Eclipse Plugin. Below is the snapshot of the error I am getting when I try to configure it as Build System derived tool chain

 

 

 

I already did build meta-ide-support and can see the environment-setup-ppce5500-fsl-linux under <build directory>/tmp. If I select Standalone SDK the it starts work without any issue.

 

 

Second issue I am facing is that when I import my existing project which is a Makefile base I can see option for Yocto CMake Build (Toolchain) as below

 

 

So how to fix this as need to make it working with existing Makefile based project.

 

 

Any thoughts how to fix these issues.

 

Thanks,

Abhinav

 

-----Original Message-----
From: Minchev, Todor [mailto:todor.minchev@...]
Sent: Tuesday, April 14, 2015 12:38
To: Bipnesh, Abhinav (Abhinav)
Cc: yocto@...
Subject: Re: [yocto] Yocto Eclipse Plugin

 

Hello Abhinav,

 

On Mon, 2015-04-13 at 18:27 +0000, Bipnesh, Abhinav (Abhinav) wrote:

> Hi All,

>

> I am trying to setup the Yocto Eclipse Plugin for Eclipse (Luna release). I am able to install the Juno release plugin for 1.7.1 release. But while configuring it I am facing issues as below

 

> 1. When I try to provide BitBake directory as part of tool chain I get an error that need to build meta-ide-support before configuring it.

> As I did build meta-ide-support before setting up the path as I can see an environment file present under <bitbake machine directory>/tmp path.

 

You will need to provide the path to the build directory. This is the

directory holding tmp.

 

> 2. If I select Standard SDK option then it accepts the same i.e. it accept environment file present under tmp directory as vaild which I suppose it should not do.

> 3. I already has Makefile based project which I am trying to configure in eclipse by selecting Yocto as Toolchain.

> But when I try to build it I am seeing its using platform GCC instead of Yocto tool chain.

 

Selecting the correct directory should set up the cross-compiler

environment and fix this.

> How to fix the same as I cant change this project to an CMake based project.

>

> Is there as way I can use Kepler plugin instead of Juno as when I try the same with Luna I am getting dependencies errors.

 

You can find the plugin releases here:

https://urldefense.proofpoint.com/v2/url?u=http-3A__downloads.yoctoproject.org_releases_eclipse-2Dplugin_&d=AwIFaQ&c=BFpWQw8bsuKpl1SgiZH64Q&r=geJ1wB7xRIMmteYB2Fo8esL32BOWvwP1HmY0YuLEB4E&m=Hg_RatI-pPFNhlwlj3rvSiP3RspGPYNzHRBg-XaXN1U&s=11DZqLCED8UtaM9vU0YxGMeaNWGlerPzTawEoVwuJd4&e=

 

Cheers,

Todor

 


Minchev, Todor <todor.minchev@...>
 

Hello Abinhav,

This is most likely caused by a mismatch between the plugin build (juno)
and the IDE (luna). Please install the luna build of the plugin from
here:

https://autobuilder.yoctoproject.org/pub/nightly/CURRENT/eclipse-plugin/luna/org.yocto.sdk-development-201504140001-archive.zip

Thanks,
Todor

On Tue, 2015-04-14 at 08:39 +0000, Bipnesh, Abhinav (Abhinav) wrote:
Hi,



I was using the same URL as you suggested for the Yocto Eclipse
Plugin. Below is the snapshot of the error I am getting when I try to
configure it as Build System derived tool chain








I already did build meta-ide-support and can see the
environment-setup-ppce5500-fsl-linux under <build directory>/tmp. If I
select Standalone SDK the it starts work without any issue.





Second issue I am facing is that when I import my existing project
which is a Makefile base I can see option for Yocto CMake Build
(Toolchain) as below







So how to fix this as need to make it working with existing Makefile
based project.





Any thoughts how to fix these issues.



Thanks,

Abhinav



-----Original Message-----
From: Minchev, Todor [mailto:todor.minchev@...]
Sent: Tuesday, April 14, 2015 12:38
To: Bipnesh, Abhinav (Abhinav)
Cc: yocto@...
Subject: Re: [yocto] Yocto Eclipse Plugin



Hello Abhinav,



On Mon, 2015-04-13 at 18:27 +0000, Bipnesh, Abhinav (Abhinav) wrote:

Hi All,
I am trying to setup the Yocto Eclipse Plugin for Eclipse (Luna
release). I am able to install the Juno release plugin for 1.7.1
release. But while configuring it I am facing issues as below



1. When I try to provide BitBake directory as part of tool chain I
get an error that need to build meta-ide-support before configuring
it.

As I did build meta-ide-support before setting up the path as I can
see an environment file present under <bitbake machine directory>/tmp
path.



You will need to provide the path to the build directory. This is the

directory holding tmp.



2. If I select Standard SDK option then it accepts the same i.e. it
accept environment file present under tmp directory as vaild which I
suppose it should not do.

3. I already has Makefile based project which I am trying to
configure in eclipse by selecting Yocto as Toolchain.

But when I try to build it I am seeing its using platform GCC
instead of Yocto tool chain.



Selecting the correct directory should set up the cross-compiler

environment and fix this.

How to fix the same as I cant change this project to an CMake based
project.

Is there as way I can use Kepler plugin instead of Juno as when I
try the same with Luna I am getting dependencies errors.



You can find the plugin releases here:

https://urldefense.proofpoint.com/v2/url?u=http-3A__downloads.yoctoproject.org_releases_eclipse-2Dplugin_&d=AwIFaQ&c=BFpWQw8bsuKpl1SgiZH64Q&r=geJ1wB7xRIMmteYB2Fo8esL32BOWvwP1HmY0YuLEB4E&m=Hg_RatI-pPFNhlwlj3rvSiP3RspGPYNzHRBg-XaXN1U&s=11DZqLCED8UtaM9vU0YxGMeaNWGlerPzTawEoVwuJd4&e=



Cheers,

Todor




Bipnesh, Abhinav (Abhinav) <abhinavbipnesh@...>
 

Hi Todor,

I tried with below link and still observe the same issue. It didn’t identify the bitbake directory environment files and report same errors.

Thanks,
Abhinav

-----Original Message-----
From: Minchev, Todor [mailto:todor.minchev@...]
Sent: Tuesday, April 14, 2015 17:20
To: Bipnesh, Abhinav (Abhinav)
Cc: yocto@...
Subject: Re: [yocto] Yocto Eclipse Plugin

Hello Abinhav,

This is most likely caused by a mismatch between the plugin build (juno)
and the IDE (luna). Please install the luna build of the plugin from
here:

https://urldefense.proofpoint.com/v2/url?u=https-3A__autobuilder.yoctoproject.org_pub_nightly_CURRENT_eclipse-2Dplugin_luna_org.yocto.sdk-2Ddevelopment-2D201504140001-2Darchive.zip&d=AwIFaQ&c=BFpWQw8bsuKpl1SgiZH64Q&r=geJ1wB7xRIMmteYB2Fo8esL32BOWvwP1HmY0YuLEB4E&m=xo2lJGQ9ANMp6iXK5QeTFxfGaBn9HAZBpwjlrurzJSg&s=6lW-2yvLIg91mRJrVqXU608Eon92Q0K2p5jUJSptFFI&e=

Thanks,
Todor

On Tue, 2015-04-14 at 08:39 +0000, Bipnesh, Abhinav (Abhinav) wrote:
Hi,



I was using the same URL as you suggested for the Yocto Eclipse
Plugin. Below is the snapshot of the error I am getting when I try to
configure it as Build System derived tool chain








I already did build meta-ide-support and can see the
environment-setup-ppce5500-fsl-linux under <build directory>/tmp. If I
select Standalone SDK the it starts work without any issue.





Second issue I am facing is that when I import my existing project
which is a Makefile base I can see option for Yocto CMake Build
(Toolchain) as below







So how to fix this as need to make it working with existing Makefile
based project.





Any thoughts how to fix these issues.



Thanks,

Abhinav



-----Original Message-----
From: Minchev, Todor [mailto:todor.minchev@...]
Sent: Tuesday, April 14, 2015 12:38
To: Bipnesh, Abhinav (Abhinav)
Cc: yocto@...
Subject: Re: [yocto] Yocto Eclipse Plugin



Hello Abhinav,



On Mon, 2015-04-13 at 18:27 +0000, Bipnesh, Abhinav (Abhinav) wrote:

Hi All,
I am trying to setup the Yocto Eclipse Plugin for Eclipse (Luna
release). I am able to install the Juno release plugin for 1.7.1
release. But while configuring it I am facing issues as below



1. When I try to provide BitBake directory as part of tool chain I
get an error that need to build meta-ide-support before configuring
it.

As I did build meta-ide-support before setting up the path as I can
see an environment file present under <bitbake machine directory>/tmp
path.



You will need to provide the path to the build directory. This is the

directory holding tmp.



2. If I select Standard SDK option then it accepts the same i.e. it
accept environment file present under tmp directory as vaild which I
suppose it should not do.

3. I already has Makefile based project which I am trying to
configure in eclipse by selecting Yocto as Toolchain.

But when I try to build it I am seeing its using platform GCC
instead of Yocto tool chain.



Selecting the correct directory should set up the cross-compiler

environment and fix this.

How to fix the same as I cant change this project to an CMake based
project.

Is there as way I can use Kepler plugin instead of Juno as when I
try the same with Luna I am getting dependencies errors.



You can find the plugin releases here:

https://urldefense.proofpoint.com/v2/url?u=http-3A__downloads.yoctoproject.org_releases_eclipse-2Dplugin_&d=AwIFaQ&c=BFpWQw8bsuKpl1SgiZH64Q&r=geJ1wB7xRIMmteYB2Fo8esL32BOWvwP1HmY0YuLEB4E&m=Hg_RatI-pPFNhlwlj3rvSiP3RspGPYNzHRBg-XaXN1U&s=11DZqLCED8UtaM9vU0YxGMeaNWGlerPzTawEoVwuJd4&e=



Cheers,

Todor




Minchev, Todor <todor.minchev@...>
 

Hello Abhinav,

On Wed, 2015-04-15 at 10:15 +0000, Bipnesh, Abhinav (Abhinav) wrote:
Hi Todor,

I tried with below link and still observe the same issue. It didn’t identify the bitbake directory environment files and report same errors.
In your previous email you mentioned that the cross compiler variables
are populated for the hello world example. If that's the case the IDE
must have parsed the environment setup file.

Please open a bug here so we can track this issue and I will investigate
the problem.

https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Eclipse%20Plugin

Thanks,
Todor


Thanks,
Abhinav

-----Original Message-----
From: Minchev, Todor [mailto:todor.minchev@...]
Sent: Tuesday, April 14, 2015 17:20
To: Bipnesh, Abhinav (Abhinav)
Cc: yocto@...
Subject: Re: [yocto] Yocto Eclipse Plugin

Hello Abinhav,

This is most likely caused by a mismatch between the plugin build (juno)
and the IDE (luna). Please install the luna build of the plugin from
here:

https://urldefense.proofpoint.com/v2/url?u=https-3A__autobuilder.yoctoproject.org_pub_nightly_CURRENT_eclipse-2Dplugin_luna_org.yocto.sdk-2Ddevelopment-2D201504140001-2Darchive.zip&d=AwIFaQ&c=BFpWQw8bsuKpl1SgiZH64Q&r=geJ1wB7xRIMmteYB2Fo8esL32BOWvwP1HmY0YuLEB4E&m=xo2lJGQ9ANMp6iXK5QeTFxfGaBn9HAZBpwjlrurzJSg&s=6lW-2yvLIg91mRJrVqXU608Eon92Q0K2p5jUJSptFFI&e=

Thanks,
Todor

On Tue, 2015-04-14 at 08:39 +0000, Bipnesh, Abhinav (Abhinav) wrote:
Hi,



I was using the same URL as you suggested for the Yocto Eclipse
Plugin. Below is the snapshot of the error I am getting when I try to
configure it as Build System derived tool chain








I already did build meta-ide-support and can see the
environment-setup-ppce5500-fsl-linux under <build directory>/tmp. If I
select Standalone SDK the it starts work without any issue.





Second issue I am facing is that when I import my existing project
which is a Makefile base I can see option for Yocto CMake Build
(Toolchain) as below







So how to fix this as need to make it working with existing Makefile
based project.





Any thoughts how to fix these issues.



Thanks,

Abhinav



-----Original Message-----
From: Minchev, Todor [mailto:todor.minchev@...]
Sent: Tuesday, April 14, 2015 12:38
To: Bipnesh, Abhinav (Abhinav)
Cc: yocto@...
Subject: Re: [yocto] Yocto Eclipse Plugin



Hello Abhinav,



On Mon, 2015-04-13 at 18:27 +0000, Bipnesh, Abhinav (Abhinav) wrote:

Hi All,
I am trying to setup the Yocto Eclipse Plugin for Eclipse (Luna
release). I am able to install the Juno release plugin for 1.7.1
release. But while configuring it I am facing issues as below



1. When I try to provide BitBake directory as part of tool chain I
get an error that need to build meta-ide-support before configuring
it.

As I did build meta-ide-support before setting up the path as I can
see an environment file present under <bitbake machine directory>/tmp
path.



You will need to provide the path to the build directory. This is the

directory holding tmp.



2. If I select Standard SDK option then it accepts the same i.e. it
accept environment file present under tmp directory as vaild which I
suppose it should not do.

3. I already has Makefile based project which I am trying to
configure in eclipse by selecting Yocto as Toolchain.

But when I try to build it I am seeing its using platform GCC
instead of Yocto tool chain.



Selecting the correct directory should set up the cross-compiler

environment and fix this.

How to fix the same as I cant change this project to an CMake based
project.

Is there as way I can use Kepler plugin instead of Juno as when I
try the same with Luna I am getting dependencies errors.



You can find the plugin releases here:

https://urldefense.proofpoint.com/v2/url?u=http-3A__downloads.yoctoproject.org_releases_eclipse-2Dplugin_&d=AwIFaQ&c=BFpWQw8bsuKpl1SgiZH64Q&r=geJ1wB7xRIMmteYB2Fo8esL32BOWvwP1HmY0YuLEB4E&m=Hg_RatI-pPFNhlwlj3rvSiP3RspGPYNzHRBg-XaXN1U&s=11DZqLCED8UtaM9vU0YxGMeaNWGlerPzTawEoVwuJd4&e=



Cheers,

Todor




Bipnesh, Abhinav (Abhinav) <abhinavbipnesh@...>
 

Hi Todor,

Created an bug 7612.

Also w.r.t to hello world example I was using the Standalone pre-built tool chain option. Also this work only for the Hello World template project and if select empty project then the Environment variables are empty. Please find attached another mail which I have sent with this error.

Thanks,
Abhinav

-----Original Message-----
From: Minchev, Todor [mailto:todor.minchev@...]
Sent: Wednesday, April 15, 2015 16:28
To: Bipnesh, Abhinav (Abhinav)
Cc: yocto@...
Subject: Re: [yocto] Yocto Eclipse Plugin

Hello Abhinav,

On Wed, 2015-04-15 at 10:15 +0000, Bipnesh, Abhinav (Abhinav) wrote:
Hi Todor,

I tried with below link and still observe the same issue. It didn’t identify the bitbake directory environment files and report same errors.
In your previous email you mentioned that the cross compiler variables
are populated for the hello world example. If that's the case the IDE
must have parsed the environment setup file.

Please open a bug here so we can track this issue and I will investigate
the problem.

https://urldefense.proofpoint.com/v2/url?u=https-3A__bugzilla.yoctoproject.org_enter-5Fbug.cgi-3Fproduct-3DEclipse-2520Plugin&d=AwIFaQ&c=BFpWQw8bsuKpl1SgiZH64Q&r=geJ1wB7xRIMmteYB2Fo8esL32BOWvwP1HmY0YuLEB4E&m=SvHVCipg_eLQEkFTjr0-Vdi6E1yWg5gKJC3dbaZg-XA&s=lUA8-stOxW0Ge6TnSbY8yBRRZV6Mby-ez5AUFNJ1L8k&e=

Thanks,
Todor


Thanks,
Abhinav

-----Original Message-----
From: Minchev, Todor [mailto:todor.minchev@...]
Sent: Tuesday, April 14, 2015 17:20
To: Bipnesh, Abhinav (Abhinav)
Cc: yocto@...
Subject: Re: [yocto] Yocto Eclipse Plugin

Hello Abinhav,

This is most likely caused by a mismatch between the plugin build (juno)
and the IDE (luna). Please install the luna build of the plugin from
here:

https://urldefense.proofpoint.com/v2/url?u=https-3A__autobuilder.yoctoproject.org_pub_nightly_CURRENT_eclipse-2Dplugin_luna_org.yocto.sdk-2Ddevelopment-2D201504140001-2Darchive.zip&d=AwIFaQ&c=BFpWQw8bsuKpl1SgiZH64Q&r=geJ1wB7xRIMmteYB2Fo8esL32BOWvwP1HmY0YuLEB4E&m=xo2lJGQ9ANMp6iXK5QeTFxfGaBn9HAZBpwjlrurzJSg&s=6lW-2yvLIg91mRJrVqXU608Eon92Q0K2p5jUJSptFFI&e=

Thanks,
Todor

On Tue, 2015-04-14 at 08:39 +0000, Bipnesh, Abhinav (Abhinav) wrote:
Hi,



I was using the same URL as you suggested for the Yocto Eclipse
Plugin. Below is the snapshot of the error I am getting when I try to
configure it as Build System derived tool chain








I already did build meta-ide-support and can see the
environment-setup-ppce5500-fsl-linux under <build directory>/tmp. If I
select Standalone SDK the it starts work without any issue.





Second issue I am facing is that when I import my existing project
which is a Makefile base I can see option for Yocto CMake Build
(Toolchain) as below







So how to fix this as need to make it working with existing Makefile
based project.





Any thoughts how to fix these issues.



Thanks,

Abhinav



-----Original Message-----
From: Minchev, Todor [mailto:todor.minchev@...]
Sent: Tuesday, April 14, 2015 12:38
To: Bipnesh, Abhinav (Abhinav)
Cc: yocto@...
Subject: Re: [yocto] Yocto Eclipse Plugin



Hello Abhinav,



On Mon, 2015-04-13 at 18:27 +0000, Bipnesh, Abhinav (Abhinav) wrote:

Hi All,
I am trying to setup the Yocto Eclipse Plugin for Eclipse (Luna
release). I am able to install the Juno release plugin for 1.7.1
release. But while configuring it I am facing issues as below



1. When I try to provide BitBake directory as part of tool chain I
get an error that need to build meta-ide-support before configuring
it.

As I did build meta-ide-support before setting up the path as I can
see an environment file present under <bitbake machine directory>/tmp
path.



You will need to provide the path to the build directory. This is the

directory holding tmp.



2. If I select Standard SDK option then it accepts the same i.e. it
accept environment file present under tmp directory as vaild which I
suppose it should not do.

3. I already has Makefile based project which I am trying to
configure in eclipse by selecting Yocto as Toolchain.

But when I try to build it I am seeing its using platform GCC
instead of Yocto tool chain.



Selecting the correct directory should set up the cross-compiler

environment and fix this.

How to fix the same as I cant change this project to an CMake based
project.

Is there as way I can use Kepler plugin instead of Juno as when I
try the same with Luna I am getting dependencies errors.



You can find the plugin releases here:

https://urldefense.proofpoint.com/v2/url?u=http-3A__downloads.yoctoproject.org_releases_eclipse-2Dplugin_&d=AwIFaQ&c=BFpWQw8bsuKpl1SgiZH64Q&r=geJ1wB7xRIMmteYB2Fo8esL32BOWvwP1HmY0YuLEB4E&m=Hg_RatI-pPFNhlwlj3rvSiP3RspGPYNzHRBg-XaXN1U&s=11DZqLCED8UtaM9vU0YxGMeaNWGlerPzTawEoVwuJd4&e=



Cheers,

Todor