All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with 'reconfigure project' in Eclipse with ADT Yocto Plugin
@ 2014-02-13 22:22 Richard Schmitt
  2014-02-13 22:44 ` Zhang, Jessica
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Schmitt @ 2014-02-13 22:22 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1312 bytes --]

I have been trying to follow the ADT user guide for setting up a sample project using Eclipse and the Yocto ADT Plugin.

I am running into issues that I have narrowed down to the fact that when selecting 'reconfigure project' from the right menu button on a Yocto autotools project, it does not seem to initialize the PATH to the configured toolchain.  So when it tries to configure the project, it can't find i586-poky-linux-gcc.  When  I actually configure the Yocto project settings, and hit apply, the dialog says that the project was configured successfully

The Yocto Project ADT has been successfully set up for this project.
To see the environment variables created during setup,
go to Project > Properties > C/C++ Build > Environment.

If I look in the environment as suggested, the build path is set up fine and the ./configure script should find the compiler fine.  But it doesn't.

If I manually source the environment-setup-i586-poky-linux from the toolchain build and run the configure script from a command shell, it works fine.  If after manually running configure at the command line with the Yocto environment settings, I can go back into eclipse and build the project.  It finds the correct toolchain at that step, just not during the configure.

Is this a known issue?

Rich


[-- Attachment #2: Type: text/html, Size: 4010 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with 'reconfigure project' in Eclipse with ADT Yocto Plugin
  2014-02-13 22:22 Problem with 'reconfigure project' in Eclipse with ADT Yocto Plugin Richard Schmitt
@ 2014-02-13 22:44 ` Zhang, Jessica
  0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Jessica @ 2014-02-13 22:44 UTC (permalink / raw)
  To: Richard Schmitt, yocto


[-- Attachment #1.1: Type: text/plain, Size: 2076 bytes --]

Hi Rich,

 

What is your setting in the Windows->References->Yocto Project ADT setting,
did you specify your toolchain correctly there?  Also, now the configuration
are profile based, so for your project, are you using the right profile with
the correct toolchain?  Then other thing worth to try is high light your
project, go under project manual and do clean before reconfigure your
project. 

 

Cheers,

Jessica

 

From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org]
On Behalf Of Richard Schmitt
Sent: Thursday, February 13, 2014 2:23 PM
To: yocto@yoctoproject.org
Subject: [yocto] Problem with 'reconfigure project' in Eclipse with ADT
Yocto Plugin

 

I have been trying to follow the ADT user guide for setting up a sample
project using Eclipse and the Yocto ADT Plugin.

 

I am running into issues that I have narrowed down to the fact that when
selecting 'reconfigure project' from the right menu button on a Yocto
autotools project, it does not seem to initialize the PATH to the configured
toolchain.  So when it tries to configure the project, it can't find
i586-poky-linux-gcc.  When  I actually configure the Yocto project settings,
and hit apply, the dialog says that the project was configured successfully

 

The Yocto Project ADT has been successfully set up for this project.

To see the environment variables created during setup,

go to Project > Properties > C/C++ Build > Environment.

 

If I look in the environment as suggested, the build path is set up fine and
the ./configure script should find the compiler fine.  But it doesn't.

 

If I manually source the environment-setup-i586-poky-linux from the
toolchain build and run the configure script from a command shell, it works
fine.  If after manually running configure at the command line with the
Yocto environment settings, I can go back into eclipse and build the
project.  It finds the correct toolchain at that step, just not during the
configure.

 

Is this a known issue?

 

Rich

 


[-- Attachment #1.2: Type: text/html, Size: 5699 bytes --]

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 9626 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-13 22:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-13 22:22 Problem with 'reconfigure project' in Eclipse with ADT Yocto Plugin Richard Schmitt
2014-02-13 22:44 ` Zhang, Jessica

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.