Summary: | libnewt.so: undefined symbol: bcm_host_init" when Screen is initialized before OpenGL, commonly seen on Raspberry Pi using Processing 3 | ||
---|---|---|---|
Product: | [JogAmp] Newt | Reporter: | Xerxes Rånby <xerxes> |
Component: | embedded | Assignee: | Sven Gothel <sgothel> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | ||
Priority: | --- | ||
Version: | 2.3.2 | ||
Hardware: | embedded_arm | ||
OS: | all | ||
Type: | --- | SCM Refs: |
5667e4320443289a1c0bd02f54bf466bfc2c5895
|
Workaround: | --- | ||
Attachments: | commit-5667e43-Fix1177.patch |
Description
Xerxes Rånby
2015-07-17 14:47:11 CEST
Created attachment 707 [details] commit-5667e43-Fix1177.patch Fixes the issue by adding a GLProfile.initSingleton() to bcm/vc/iv/DisplayDriver static initialization this will preload libEGL and indirect load libbcm_host.so that contain the missing symbol. ldd /opt/vc/lib/libEGL.so libbcm_host.so => /opt/vc/lib/libbcm_host.so (0x76eb4000) as discussed on IRC: http://jogamp.org/log/irc/jogamp_20150716145123.html#l542 commit 5667e4320443289a1c0bd02f54bf466bfc2c5895 bcm/vc/iv/DisplayDriver depend on libEGL, pre-load it using GLProfile Fixes libnewt.so: undefined symbol: bcm_host_init" when the NEWT Screen is initialized before OpenGL ES. |