Hi all,
I am trying to use yocto to build a linux distro for my raspberry pi 3 Juce project.
If I try to “bitbake projucer-native” I always get errors related to the pkg-config, as if some packages where missing.
If I try “pkg-config --list-all” it shows these packages (‘gtk±x11-3.0’ and 'webkit2gtk-4.0’ ) are there. (on my build machine, since it`s na native) I also compiled JUCE/Projucer successful before without yocto on my build machine using the installJUCE.sh script from the Forum.
Any ideas would be appreciated.
Thx, Clemens
➜ build bitbake projucer-native
NOTE: Starting bitbake server…
Parsing recipes: 100% |##########################################################################################################################################| Time: 0:00:38
Parsing of 2103 .bb files complete (0 cached, 2103 parsed). 2872 targets, 153 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = “1.35.0”
BUILD_SYS = “x86_64-linux”
NATIVELSBSTRING = “universal”
TARGET_SYS = “arm-poky-linux-gnueabi”
MACHINE = “raspberrypi2”
DISTRO = “poky”
DISTRO_VERSION = “2.3”
TUNE_FEATURES = “arm armv7ve vfp thumb neon vfpv4 callconvention-hard cortexa7”
TARGET_FPU = “hard”
meta
meta-poky = “master:55bf88603927469de9aa9f6fd4d449230d2e61e3”
meta-multimedia
meta-oe
meta-networking
meta-python = “master:ac2a6d2b5d69937577effcb8bb2149651bac0176”
meta-raspberrypi = “master:1b589998f4e96a0d1576de42f1927d69482c9cb4”
meta-qt5 = “master:2940d8421579de855ce37e8a069911ce6968df38”
meta-juce = “master:c837187fd0fd726e885a446360200b8cf6c84d3d”
meta-xavier = “master:8f048bdf2b9bd673ddfd1c0437e84488646bc409”
meta-rpi = “pyro:1fc49af73e547a7f40084d40dee1d6b5b5be21a3”
Initialising tasks: 100% |#######################################################################################################################################| Time: 0:00:00
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: projucer-native-5.0.1-r0 do_compile: oe_runmake failed
ERROR: projucer-native-5.0.1-r0 do_compile: Function failed: do_compile (log file is located at /home/clemens/rpi/build/tmp/work/x86_64-linux/projucer-native/5.0.1-r0/temp/log.do_compile.31423)
ERROR: Logfile of failure stored in: /home/clemens/rpi/build/tmp/work/x86_64-linux/projucer-native/5.0.1-r0/temp/log.do_compile.31423
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 12
| Package gtk±x11-3.0 was not found in the pkg-config search path.
| Perhaps you should add the directory containinggtk+-x11-3.0.pc' | to the PKG_CONFIG_PATH environment variable | No package 'gtk+-x11-3.0' found | Package webkit2gtk-4.0 was not found in the pkg-config search path. | Perhaps you should add the directory containingwebkit2gtk-4.0.pc’
| to the PKG_CONFIG_PATH environment variable
| No package ‘webkit2gtk-4.0’ found
| Package gtk±x11-3.0 was not found in the pkg-config search path.
| Perhaps you should add the directory containinggtk+-x11-3.0.pc' | to the PKG_CONFIG_PATH environment variable | No package 'gtk+-x11-3.0' found | Package webkit2gtk-4.0 was not found in the pkg-config search path. | Perhaps you should add the directory containingwebkit2gtk-4.0.pc’
| to the PKG_CONFIG_PATH environment variable
| No package ‘webkit2gtk-4.0’ found
| Makefile:422: recipe for target ‘check-pkg-config’ failed
| make: *** [check-pkg-config] Error 1
| make: *** Waiting for unfinished jobs…
| Compiling jucer_FileHelpers.cpp
| Compiling jucer_Icons.cpp
| Compiling jucer_MiscUtilities.cpp
| Compiling jucer_JucerTreeViewBase.cpp
| Compiling jucer_ProjucerLookAndFeel.cpp
| Compiling jucer_SlidingPanelComponent.cpp
| Compiling jucer_StoredSettings.cpp
| ERROR: oe_runmake failed
| WARNING: /home/clemens/rpi/build/tmp/work/x86_64-linux/projucer-native/5.0.1-r0/temp/run.do_compile.31423:1 exit 1 from ‘exit 1’
| ERROR: Function failed: do_compile (log file is located at /home/clemens/rpi/build/tmp/work/x86_64-linux/projucer-native/5.0.1-r0/temp/log.do_compile.31423)
ERROR: Task (/home/clemens/poky/meta-openembedded/meta-multimedia/recipes-multimedia/juce/projucer-native_git.bb:do_compile) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 377 tasks of which 376 didn’t need to be rerun and 1 failed.
Summary: 1 task failed:
/home/clemens/poky/meta-openembedded/meta-multimedia/recipes-multimedia/juce/projucer-native_git.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
