Openembedded Core Discussions
 help / color / mirror / Atom feed
* SDK does not contain pkg-config files
@ 2019-07-31  5:47 Mike Looijmans
  2019-07-31 12:37 ` Ross Burton
  0 siblings, 1 reply; 6+ messages in thread
From: Mike Looijmans @ 2019-07-31  5:47 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

I'm trying to get the SDK to work, but no success because the SDK apparently 
does not install any pkg-config file, resulting in autotools and cmake not 
being able to find any library.

Built the SDK using "bitbake -c populate_sdk image"

Install the resulting SDK, and source the shell script.

Building "helloworld" works. Building something slightly more advanced fails, 
because pkg-config isn't working: "pkg-config --list-all" is empty.

The cause is that the pkgconfig files simply aren't in the sysroot:

$ echo $PKG_CONFIG_PATH
/home/mike/p/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/lib/pkgconfig:/home/mike/p/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/share/pkgconfig
$ ls /home/mike/p/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/lib/pkgconfig
ls: cannot access 
'/home/mike/p/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/lib/pkgconfig': 
No such file or directory
$ ls /home/mike/p/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/share/pkgconfig
ls: cannot access 
'/home/mike/p/sysroots/cortexa9t2hf-neon-oe-linux-gnueabi/usr/share/pkgconfig': 
No such file or directory


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

end of thread, other threads:[~2019-08-02  5:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-31  5:47 SDK does not contain pkg-config files Mike Looijmans
2019-07-31 12:37 ` Ross Burton
2019-07-31 13:22   ` Mike Looijmans
2019-07-31 13:29     ` Ross Burton
2019-08-01 11:17       ` Mike Looijmans
2019-08-02  5:17         ` Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox